From f07c1a8bc84953be5bf0e089f40e195c49c93b2c Mon Sep 17 00:00:00 2001 From: Priyanshu Raj <55045459+rpriyanshu9@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:39:16 +0530 Subject: [PATCH] Rename sideCarContainers to extraContainers --- charts/prometheus-adapter/templates/deployment.yaml | 2 +- charts/prometheus-adapter/values.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/prometheus-adapter/templates/deployment.yaml b/charts/prometheus-adapter/templates/deployment.yaml index 3861d389a452..0d0a491002d8 100644 --- a/charts/prometheus-adapter/templates/deployment.yaml +++ b/charts/prometheus-adapter/templates/deployment.yaml @@ -104,7 +104,7 @@ spec: name: volume-serving-cert readOnly: true {{- end }} - {{- with .Values.sideCarContainers }} + {{- with .Values.extraContainers }} {{- toYaml . | nindent 6 }} {{- end }} nodeSelector: diff --git a/charts/prometheus-adapter/values.yaml b/charts/prometheus-adapter/values.yaml index 4e60765a698b..7e19862c01e0 100644 --- a/charts/prometheus-adapter/values.yaml +++ b/charts/prometheus-adapter/values.yaml @@ -213,6 +213,9 @@ extraArguments: [] # - --tls-private-key-file=/etc/tls/tls.key # - --tls-cert-file=/etc/tls/tls.crt +# Additional containers to add to the pod +extraContainers: [] + # Any extra volumes extraVolumes: [] # - name: example-name @@ -272,6 +275,3 @@ certManager: enabled: false caCertDuration: 43800h certDuration: 8760h - -# Sidecar containers that run alongside prometheus-adapter container. -sideCarContainers: []