feat: use globalsecuritycontext for dex too, trim whitespace (#248)
Signed-off-by: David Karlsen <david@davidkarlsen.com>
This commit is contained in:
parent
d9d7862864
commit
7ba77fde18
2 changed files with 9 additions and 6 deletions
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.4.2"
|
appVersion: "1.4.2"
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 1.8.0
|
version: 1.8.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -27,6 +27,9 @@ spec:
|
||||||
app.kubernetes.io/component: {{ .Values.dex.name }}
|
app.kubernetes.io/component: {{ .Values.dex.name }}
|
||||||
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
app.kubernetes.io/version: {{ .Values.dex.image.tag }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.global.securityContext }}
|
||||||
|
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: copyutil
|
- name: copyutil
|
||||||
image: {{ default .Values.global.image.repository .Values.dex.initImage.repository }}:{{ default .Values.global.image.tag .Values.dex.initImage.tag }}
|
image: {{ default .Values.global.image.repository .Values.dex.initImage.repository }}:{{ default .Values.global.image.tag .Values.dex.initImage.tag }}
|
||||||
|
|
Loading…
Reference in a new issue