From f607f4fc8080d1ffa37962f970a6cc67a21bd50d Mon Sep 17 00:00:00 2001 From: Arnar Date: Tue, 9 Apr 2019 18:01:45 +0000 Subject: [PATCH] Adding oidcConfig option to argo-cd helm chart (#49) --- 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 5bf74d3b..a950aa6a 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 @@ -133,4 +139,4 @@ redis: tag: 5.0.3 pullPolicy: Always containerPort: 6379 - servicePort: 6379 \ No newline at end of file + servicePort: 6379