diff --git a/charts/kube-prometheus-stack/Chart.yaml b/charts/kube-prometheus-stack/Chart.yaml index 13ad5445145e..8500e72b0b72 100644 --- a/charts/kube-prometheus-stack/Chart.yaml +++ b/charts/kube-prometheus-stack/Chart.yaml @@ -23,7 +23,7 @@ name: kube-prometheus-stack sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus -version: 56.12.0 +version: 56.13.0 appVersion: v0.71.2 kubeVersion: ">=1.19.0-0" home: https://github.com/prometheus-operator/kube-prometheus diff --git a/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml b/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml index 7d561c6cedcb..b2f2130cec4d 100644 --- a/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml +++ b/charts/kube-prometheus-stack/templates/prometheus-operator/deployment.yaml @@ -151,16 +151,25 @@ spec: {{ toYaml .Values.prometheusOperator.resources | indent 12 }} securityContext: {{ toYaml .Values.prometheusOperator.containerSecurityContext | indent 12 }} -{{- if .Values.prometheusOperator.tls.enabled }} volumeMounts: + {{- if .Values.prometheusOperator.tls.enabled }} - name: tls-secret mountPath: /cert readOnly: true + {{- end }} + {{- with .Values.prometheusOperator.extraVolumeMounts }} + {{ toYaml . | nindent 12 }} + {{- end }} volumes: + {{- if .Values.prometheusOperator.tls.enabled }} - name: tls-secret secret: defaultMode: 420 secretName: {{ template "kube-prometheus-stack.fullname" . }}-admission + {{- end }} + {{- with .Values.prometheusOperator.extraVolumes }} + {{ toYaml . | nindent 8 }} + {{- end }} {{- end }} {{- with .Values.prometheusOperator.dnsConfig }} dnsConfig: diff --git a/charts/kube-prometheus-stack/values.yaml b/charts/kube-prometheus-stack/values.yaml index 748d84b6fb59..e70c2384b0a0 100644 --- a/charts/kube-prometheus-stack/values.yaml +++ b/charts/kube-prometheus-stack/values.yaml @@ -2756,6 +2756,14 @@ prometheusOperator: ## automountServiceAccountToken: true + ## Additional volumes + ## + extraVolumes: [] + + ## Additional volume mounts + ## + extraVolumeMounts: [] + ## Deploy a Prometheus instance ## prometheus: