From 95b8c78d13ca78d00f0d3a3da6b3e8f6b6ebcd2a Mon Sep 17 00:00:00 2001 From: Mateusz Filipowicz Date: Sat, 5 Mar 2022 17:32:37 +0100 Subject: [PATCH] feat(helm): add possibility to add custom containers to ambassador pod --- infrastructure/charts/charts/indexer/templates/_helpers.tpl | 4 ++++ infrastructure/charts/charts/indexer/values.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/infrastructure/charts/charts/indexer/templates/_helpers.tpl b/infrastructure/charts/charts/indexer/templates/_helpers.tpl index 291e7dee..8d2ac22c 100644 --- a/infrastructure/charts/charts/indexer/templates/_helpers.tpl +++ b/infrastructure/charts/charts/indexer/templates/_helpers.tpl @@ -60,3 +60,7 @@ Create the name of the service account to use {{- default "default" .Values.serviceAccount.name }} {{- end }} {{- end }} + +{{- define "ambassador.extraContainers" -}} +{{ tpl (default "" .Values.extraContainers) . }} +{{- end -}} diff --git a/infrastructure/charts/charts/indexer/values.yaml b/infrastructure/charts/charts/indexer/values.yaml index 213d88b6..e0986b4f 100644 --- a/infrastructure/charts/charts/indexer/values.yaml +++ b/infrastructure/charts/charts/indexer/values.yaml @@ -112,3 +112,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +extraContainers: {}