Skip to content

Commit

Permalink
[kube-prometheus-stack] add rollout strategy to prometheus-operator d…
Browse files Browse the repository at this point in the history
…eployment (#4342)

Signed-off-by: Marie Roque <[email protected]>
  • Loading branch information
marieroque authored Mar 6, 2024
1 parent f001931 commit 8803973
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.21.1
version: 56.21.2
appVersion: v0.71.2
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
matchLabels:
app: {{ template "kube-prometheus-stack.name" . }}-operator
release: {{ $.Release.Name | quote }}
{{- with .Values.prometheusOperator.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2157,6 +2157,10 @@ prometheusOperator:
## The default value is 10, 0 will garbage-collect old replicasets ##
revisionHistoryLimit: 10

## Strategy of the deployment
##
strategy: {}

## Prometheus-Operator v0.39.0 and later support TLS natively.
##
tls:
Expand Down

0 comments on commit 8803973

Please sign in to comment.