Add configManagementPlugins option to argo-cd ()

pull/65/head^2
Kouta Ozaki 2019-05-07 23:46:21 +09:00 committed by Alex Collins
parent 4a81cb0714
commit 315ea0516e
2 changed files with 18 additions and 5 deletions
charts/argo-cd

View File

@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-cm name: argocd-cm
labels: labels:
app.kubernetes.io/name: {{ include "argo-cd.name" . }} app.kubernetes.io/name: {{ include "argo-cd.name" . }}
helm.sh/chart: {{ include "argo-cd.chart" . }} helm.sh/chart: {{ include "argo-cd.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/instance: {{ .Release.Name }}
@ -28,3 +28,7 @@ data:
oidc.config: | oidc.config: |
{{ toYaml .Values.config.oidcConfig | indent 4 }} {{ toYaml .Values.config.oidcConfig | indent 4 }}
{{- end }} {{- end }}
{{- if .Values.config.configManagementPlugins }}
configManagementPlugins: |
{{ toYaml .Values.config.configManagementPlugins | indent 4 }}
{{- end }}

View File

@ -62,9 +62,9 @@ ingress:
hosts: hosts:
- argocd.example.com - argocd.example.com
# Standard Argo CD installation with cluster-admin access. # Standard Argo CD installation with cluster-admin access.
# Set this true if you plan to use Argo CD to deploy applications in the same cluster that # Set this true if you plan to use Argo CD to deploy applications in the same cluster that
# Argo CD runs in (i.e. kubernetes.svc.default). # Argo CD runs in (i.e. kubernetes.svc.default).
# Will still be able to deploy to external clusters with inputted credentials. # Will still be able to deploy to external clusters with inputted credentials.
clusterAdminAccess: clusterAdminAccess:
@ -119,9 +119,18 @@ config:
# provider webhook secret. The payload URL configured in the git provider should use the # provider webhook secret. The payload URL configured in the git provider should use the
# /api/webhook endpoint of your Argo CD instance (e.g. https://argocd.example.com/api/webhook) # /api/webhook endpoint of your Argo CD instance (e.g. https://argocd.example.com/api/webhook)
webhook: webhook:
githubSecret: githubSecret:
gitlabSecret: gitlabSecret:
bitbucketSecret: bitbucketSecret:
configManagementPlugins:
# - name: pluginName
# init: # Optional command to initialize application source directory
# command: ["sample command"]
# args: ["sample args"]
# generate: # Command to generate manifests YAML
# command: ["sample command"]
# args: ["sample args"]
rbac: rbac:
# # An RBAC policy .csv file containing additional policy and role definitions. # # An RBAC policy .csv file containing additional policy and role definitions.
# # See https://github.com/argoproj/argo-cd/blob/master/docs/rbac.md on how to write RBAC policies. # # See https://github.com/argoproj/argo-cd/blob/master/docs/rbac.md on how to write RBAC policies.