UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit b9ce3404 authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'argocd-60-ca' into 'master'

Using New argocd CA options

Closes platform-one/big-bang/apps/core/argocd#60

See merge request platform-one/big-bang/bigbang!2356
parents f48761fe 2b81d46a
No related branches found
No related tags found
1 merge request!2356Using New argocd CA options
Pipeline #1245637 passed with warnings
......@@ -146,6 +146,15 @@ networkPolicies:
{{- $default := dict "app" (dig "gateways" $gateway "ingressGateway" nil .Values.istio) "istio" nil }}
{{- toYaml (dig "values" "gateways" $gateway "selector" $default .Values.istio) | nindent 4 }}
configs:
cm:
{{- $argocdHosts := (dig "istio" "argocd" "hosts" dict .Values.addons.argocd.values) }}
{{- if $argocdHosts }}
url: {{ tpl ($argocdHosts | first) $ }}
{{- else }}
url: https://argocd.{{ .Values.domain }}
{{- end }}
{{- if .Values.addons.argocd.sso.enabled }}
sso:
enabled: {{ .Values.addons.argocd.sso.enabled }}
......@@ -159,6 +168,10 @@ sso:
clientID: {{ .Values.addons.argocd.sso.client_id }}
clientSecret: $oidc.keycloak.clientSecret
requestedScopes: ["openid","ArgoCD"]
{{- if .Values.sso.certificate_authority }}
rootCA: |
{{- .Values.sso.certificate_authority | nindent 8 }}
{{- end }}
{{- end }}
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment