Skip to content

Commit

Permalink
make mirroring netpol toggleable
Browse files Browse the repository at this point in the history
  • Loading branch information
corang committed Nov 1, 2024
1 parent 4361735 commit 028673a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/config/templates/uds-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,15 @@ spec:
description: "Gitlab Pages Storage"

# Gitaly
{{ if .Values.mirroring.enabled }}
- direction: Egress
selector:
app: gitaly
remoteGenerated: Anywhere
ports:
{{- .Values.mirroring.ports | toYaml | nindent 10 }}
description: Gitaly repository mirroring
{{- end }}

# Custom rules for unanticipated scenarios
{{- range .Values.custom }}
Expand Down
1 change: 1 addition & 0 deletions charts/config/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ runner:
# https: 443
# git: 9418
mirroring:
enabled: false
ports:
- 443

Expand Down

0 comments on commit 028673a

Please sign in to comment.