Merge branch 'master' into add-resource-customizations
This commit is contained in:
commit
a8f46f5c84
4 changed files with 24 additions and 6 deletions
|
@ -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 }}
|
||||||
|
@ -32,3 +32,7 @@ data:
|
||||||
resource.customizations: |
|
resource.customizations: |
|
||||||
{{ toYaml .Values.config.resourceCustomizations | indent 4 }}
|
{{ toYaml .Values.config.resourceCustomizations | indent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.config.configManagementPlugins }}
|
||||||
|
configManagementPlugins: |
|
||||||
|
{{ toYaml .Values.config.configManagementPlugins | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
|
|
@ -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,17 +119,26 @@ 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:
|
||||||
# resourceCustomizations can be used to create custom health checks for resources
|
# resourceCustomizations can be used to create custom health checks for resources
|
||||||
# https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/health.md#way-1-define-a-custom-health-check-in-argocd-cm-configmap
|
# https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/health.md#way-1-define-a-custom-health-check-in-argocd-cm-configmap
|
||||||
# resourceCustomizations:
|
resourceCustomizations:
|
||||||
# certmanager.k8s.io/Certificate:
|
# certmanager.k8s.io/Certificate:
|
||||||
# health.lua: |
|
# health.lua: |
|
||||||
# hs = {}
|
# hs = {}
|
||||||
# ...
|
# ...
|
||||||
# return hs
|
# return hs
|
||||||
|
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.
|
||||||
|
|
|
@ -17,6 +17,9 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
artifactRepository:
|
artifactRepository:
|
||||||
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
||||||
|
{{- if .Values.artifactRepository.archiveLogs }}
|
||||||
|
archiveLogs: {{ .Values.artifactRepository.archiveLogs }}
|
||||||
|
{{- end }}
|
||||||
s3:
|
s3:
|
||||||
{{- if .Values.useStaticCredentials }}
|
{{- if .Values.useStaticCredentials }}
|
||||||
accessKeySecret:
|
accessKeySecret:
|
||||||
|
|
|
@ -79,6 +79,8 @@ ui:
|
||||||
useDefaultArtifactRepo: false
|
useDefaultArtifactRepo: false
|
||||||
useStaticCredentials: true
|
useStaticCredentials: true
|
||||||
artifactRepository:
|
artifactRepository:
|
||||||
|
# archiveLogs will archive the main container logs as an artifact
|
||||||
|
archiveLogs: false
|
||||||
s3:
|
s3:
|
||||||
# Note the `key` attribute is not the actual secret, it's the PATH to
|
# Note the `key` attribute is not the actual secret, it's the PATH to
|
||||||
# the contents in the associated secret, as defined by the `name` attribute.
|
# the contents in the associated secret, as defined by the `name` attribute.
|
||||||
|
|
Loading…
Reference in a new issue