Skip to content

Commit ff3147a

Browse files
committed
New global scope argocdServer section for values-global.yaml
- Added new section for to configure the ArgoCD server to support tls argocdServer: route: tls: insecureEdgeTerminationPolicy: Redirect termination: reencrypt - Default for ArgoCD is to create route with the following: route: enabled tls: insecureEdgeTerminationPolicy: Redirect termination: passthrough For more information please refer to https://issues.redhat.com/browse/GITOPS-3918. - Changed default value for termination
1 parent b73c413 commit ff3147a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

acm/templates/policies/ocp-gitops-policy.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ spec:
195195
memory: 128Mi
196196
route:
197197
enabled: true
198+
{{- if and (.Values.global.argocdServer) (.Values.global.argocdServer.route) (.Values.global.argocdServer.route.tls) }}
199+
tls:
200+
insecureEdgeTerminationPolicy: {{ default "Redirect" .Values.global.argocdServer.route.tls.insecureEdgeTerminationPolicy }}
201+
termination: {{ default "reencrypt" .Values.global.argocdServer.route.tls.termination }}
202+
{{- end }}
198203
service:
199204
type: ""
200205
sso:

0 commit comments

Comments
 (0)