add global env for argo-cd
Signed-off-by: Joe Lee <lj_2005@163.com>
This commit is contained in:
parent
2538371fec
commit
efad333fbd
9 changed files with 12 additions and 9 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.7.4
|
||||||
kubeVersion: ">=1.23.0-0"
|
kubeVersion: ">=1.23.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.35.1
|
version: 5.36.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
|
|
@ -99,7 +99,7 @@ spec:
|
||||||
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.controller.image.imagePullPolicy }}
|
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.controller.image.imagePullPolicy }}
|
||||||
name: {{ .Values.controller.name }}
|
name: {{ .Values.controller.name }}
|
||||||
env:
|
env:
|
||||||
{{- with .Values.controller.env }}
|
{{- with (concat .Values.global.env .Values.controller.env) }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: ARGOCD_CONTROLLER_REPLICAS
|
- name: ARGOCD_CONTROLLER_REPLICAS
|
||||||
|
|
|
@ -79,7 +79,7 @@ spec:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- with .Values.applicationSet.extraEnv }}
|
{{- with (concat .Values.global.env .Values.applicationSet.extraEnv) }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: NAMESPACE
|
- name: NAMESPACE
|
||||||
|
|
|
@ -66,7 +66,7 @@ spec:
|
||||||
{{- range .Values.notifications.extraArgs }}
|
{{- range .Values.notifications.extraArgs }}
|
||||||
- {{ . | squote }}
|
- {{ . | squote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.notifications.extraEnv }}
|
{{- with (concat .Values.global.env .Values.notifications.extraEnv) }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -77,7 +77,7 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- with .Values.repoServer.env }}
|
{{- with (concat .Values.global.env .Values.repoServer.env) }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.openshift.enabled }}
|
{{- if .Values.openshift.enabled }}
|
||||||
|
|
|
@ -74,7 +74,7 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- with .Values.server.env }}
|
{{- with (concat .Values.global.env .Values.server.env) }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: ARGOCD_SERVER_INSECURE
|
- name: ARGOCD_SERVER_INSECURE
|
||||||
|
|
|
@ -70,7 +70,7 @@ spec:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- with .Values.dex.env }}
|
{{- with (concat .Values.global.env .Values.dex.env) }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: ARGOCD_DEX_SERVER_DISABLE_TLS
|
- name: ARGOCD_DEX_SERVER_DISABLE_TLS
|
||||||
|
|
|
@ -61,7 +61,7 @@ spec:
|
||||||
{{- with .Values.redis.extraArgs }}
|
{{- with .Values.redis.extraArgs }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.redis.env }}
|
{{- with (concat .Values.global.env .Values.redis.env) }}
|
||||||
env:
|
env:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -92,7 +92,7 @@ spec:
|
||||||
value: {{ printf "redis://localhost:%v" .Values.redis.containerPorts.redis }}
|
value: {{ printf "redis://localhost:%v" .Values.redis.containerPorts.redis }}
|
||||||
- name: REDIS_EXPORTER_WEB_LISTEN_ADDRESS
|
- name: REDIS_EXPORTER_WEB_LISTEN_ADDRESS
|
||||||
value: {{ printf "0.0.0.0:%v" .Values.redis.containerPorts.metrics }}
|
value: {{ printf "0.0.0.0:%v" .Values.redis.containerPorts.metrics }}
|
||||||
{{- with .Values.redis.exporter.env }}
|
{{- with (concat .Values.global.env .Values.redis.exporter.env) }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -144,6 +144,9 @@ global:
|
||||||
# maxSurge: 25%
|
# maxSurge: 25%
|
||||||
# maxUnavailable: 25%
|
# maxUnavailable: 25%
|
||||||
|
|
||||||
|
# -- Environment variables to pass to all deployed Deployments
|
||||||
|
env: []
|
||||||
|
|
||||||
## Argo Configs
|
## Argo Configs
|
||||||
configs:
|
configs:
|
||||||
# General Argo CD configuration
|
# General Argo CD configuration
|
||||||
|
|
Loading…
Reference in a new issue