From d8c0cfb2c76dfee64349e9e3e66a1f2eea20f791 Mon Sep 17 00:00:00 2001 From: Glenn Pratt Date: Tue, 9 Jul 2024 16:41:13 -0700 Subject: [PATCH] Add extraContainers value --- templates/deployment.yaml | 3 +++ values.yaml | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index dff79cb..43faffb 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -88,6 +88,9 @@ spec: securityContext: {{ omit .Values.containerSecurityContext "enabled" | toYaml | nindent 12 }} {{- end }} volumeMounts: {{ include "docker-registry.volumeMounts" . | nindent 12 }} + {{- if .Values.extraContainers }} + {{- .Values.extraContainers | toYaml | nindent 8 }} + {{- end }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }} {{- end }} diff --git a/values.yaml b/values.yaml index 4bdab45..102e1c9 100644 --- a/values.yaml +++ b/values.yaml @@ -241,6 +241,16 @@ initContainers: [] # image: busybox # command: [] +extraContainers: [] +## Extra containers to add to the Deployment +# - name: istio-proxy +# image: auto +# securityContext: +# allowPrivilegeEscalation: false +# capabilities: +# drop: +# - ALL + garbageCollect: enabled: false deleteUntagged: true