From c6f24e83427d57438ed147564bd1281bf65a64b7 Mon Sep 17 00:00:00 2001 From: Maxim Darii Date: Fri, 28 Mar 2025 12:24:59 +0100 Subject: [PATCH] Add support for extra-containers --- charts/topaz/templates/deployment.yaml | 3 +++ charts/topaz/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/charts/topaz/templates/deployment.yaml b/charts/topaz/templates/deployment.yaml index b77c561..a380b02 100644 --- a/charts/topaz/templates/deployment.yaml +++ b/charts/topaz/templates/deployment.yaml @@ -44,6 +44,9 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: + {{- if .Values.extraContainers }} + {{- toYaml .Values.extraContainers | nindent 8 }} + {{- end }} - name: {{ .Chart.Name }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} diff --git a/charts/topaz/values.yaml b/charts/topaz/values.yaml index f9379fd..8057b10 100644 --- a/charts/topaz/values.yaml +++ b/charts/topaz/values.yaml @@ -442,6 +442,9 @@ volumeMounts: [] # mountPath: "/etc/foo" # readOnly: true +extraContainers: [] +# extraContainers allows you to add any sidecar containers you wish. + nodeSelector: {} tolerations: []