Skip to content

Commit

Permalink
feat(gitlab): try LoadBalancer service for ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
rxbn committed Oct 9, 2024
1 parent abd4245 commit ad5f170
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apps/gitlab/gitlab/gitlab/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ spec:
gitlab-exporter:
enabled: false
gitlab-shell:
service:
type: LoadBalancer
externalTrafficPolicy: Local
maxReplicas: 1
minReplicas: 1
migrations:
Expand Down Expand Up @@ -96,6 +99,7 @@ spec:
name: gitlab-minio.local.${BASE_DOMAIN}
registry:
name: registry.${BASE_DOMAIN}
ssh: ssh.git.${BASE_DOMAIN}
ingress:
configureCertmanager: false
enabled: true
Expand Down Expand Up @@ -148,6 +152,19 @@ spec:
postRenderers:
- kustomize:
patches:
- patch: |-
apiVersion: v1
kind: Service
metadata:
name: gitlab-gitlab-shell
namespace: gitlab
annotations:
metallb.universe.tf/loadBalancerIPs: 10.0.1.201,${IPV6_PREFIX}::201
spec:
ipFamilyPolicy: PreferDualStack
ipFamilies:
- IPv4
- IPv6
- patch: |-
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
Expand Down

0 comments on commit ad5f170

Please sign in to comment.