From ba4ef32c9b4b5066a7454f3ed136e6499b04e79b Mon Sep 17 00:00:00 2001 From: Arnar Gauti Ingason Date: Wed, 3 Apr 2019 11:05:31 +0000 Subject: [PATCH] Adding oidcConfig option to argo-cd helm chart --- charts/argo-cd/templates/argocd-cm.yaml | 9 ++++++++- charts/argo-cd/values.yaml | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/charts/argo-cd/templates/argocd-cm.yaml b/charts/argo-cd/templates/argocd-cm.yaml index 79045e90..ab7f1961 100755 --- a/charts/argo-cd/templates/argocd-cm.yaml +++ b/charts/argo-cd/templates/argocd-cm.yaml @@ -20,4 +20,11 @@ data: {{- if .Values.config.dexConfig }} dex.config: | {{ toYaml .Values.config.dexConfig | indent 4 }} -{{- end }} \ No newline at end of file +{{- end }} +{{- if .Values.config.url }} + url: {{ .Values.config.url }} +{{- end }} +{{- if .Values.config.oidcConfig }} + oidc.config: | +{{ toYaml .Values.config.oidcConfig | indent 4 }} +{{- end }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index c107e6f1..ffb87120 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -100,6 +100,12 @@ config: # orgs: # - name: your-github-org # teams: + url: # https://argocd.example.com/ + oidcConfig: + # name: Okta + # issuer: https://dev-123456.oktapreview.com + # clientID: aaaabbbbccccddddeee + # clientSecret: $oidc.okta.clientSecret # The following keys hold the shared secret for authenticating GitHub/GitLab/BitBucket webhook # events. To enable webhooks, configure one or more of the following keys with the shared git # provider webhook secret. The payload URL configured in the git provider should use the @@ -125,4 +131,4 @@ rbac: # p, role:org-admin, repositories, delete, *, allow # g, your-github-org:your-team, role:org-admin # The default role Argo CD will fall back to, when authorizing API requests - policyDefault: #role:readonly \ No newline at end of file + policyDefault: #role:readonly