diff --git a/charts/kube-state-metrics/Chart.yaml b/charts/kube-state-metrics/Chart.yaml index 5c997ed0b501..9e2ceb26837c 100644 --- a/charts/kube-state-metrics/Chart.yaml +++ b/charts/kube-state-metrics/Chart.yaml @@ -7,7 +7,7 @@ keywords: - prometheus - kubernetes type: application -version: 5.13.0 +version: 5.14.0 appVersion: 2.10.0 home: https://github.com/kubernetes/kube-state-metrics/ sources: diff --git a/charts/kube-state-metrics/templates/deployment.yaml b/charts/kube-state-metrics/templates/deployment.yaml index 69a387a8cd30..e2388bac1fe1 100644 --- a/charts/kube-state-metrics/templates/deployment.yaml +++ b/charts/kube-state-metrics/templates/deployment.yaml @@ -240,6 +240,9 @@ spec: {{- end }} {{- end }} {{- end }} + {{- if .Values.sidecars }} + {{- tpl (toYaml .Values.sidecars) $ | nindent 6 }} + {{- end }} {{- if or .Values.imagePullSecrets .Values.global.imagePullSecrets }} imagePullSecrets: {{- include "kube-state-metrics.imagePullSecrets" (dict "Values" .Values "imagePullSecrets" .Values.imagePullSecrets) | indent 8 }} @@ -278,6 +281,6 @@ spec: name: {{ template "kube-state-metrics.fullname" . }}-customresourcestate-config {{- end }} {{- if .Values.volumes }} -{{ toYaml .Values.volumes | indent 8 }} + {{- tpl (toYaml .Values.volumes) $ | nindent 8 }} {{- end }} {{- end }} diff --git a/charts/kube-state-metrics/values.yaml b/charts/kube-state-metrics/values.yaml index 29f59524d769..50e9e8ced28a 100644 --- a/charts/kube-state-metrics/values.yaml +++ b/charts/kube-state-metrics/values.yaml @@ -442,3 +442,9 @@ extraManifests: [] # name: prometheus-extra # data: # extra-data: "value" + +# Additional sidecar containers to the kube-state-metrics pod(s) +sidecars: [] +# - name: your-image-name +# image: your-image +# imagePullPolicy: Always