Skip to content

Commit 35f1d80

Browse files
authored
[kube-prometheus-stack] set --force-conflicts on CRD job (#5288)
Signed-off-by: Devin Buhl <devin@buhl.casa>
1 parent c48cdcf commit 35f1d80

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ name: kube-prometheus-stack
3131
sources:
3232
- https://github.com/prometheus-community/helm-charts
3333
- https://github.com/prometheus-operator/kube-prometheus
34-
version: 69.0.0
34+
version: 69.1.0
3535
appVersion: v0.80.0
3636
kubeVersion: ">=1.19.0-0"
3737
home: https://github.com/prometheus-operator/kube-prometheus

charts/kube-prometheus-stack/charts/crds/templates/upgrade/job.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ spec:
8686
args:
8787
- apply
8888
- --server-side
89+
{{- if .Values.upgradeJob.forceConflicts }}
90+
- --force-conflicts
91+
{{- end }}
8992
- --filename
9093
- /tmp/crds.yaml
9194
{{- with .Values.upgradeJob.resources }}

charts/kube-prometheus-stack/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ crds:
3838
## This feature is in preview, off by default and may change in the future.
3939
upgradeJob:
4040
enabled: false
41+
forceConflicts: false
4142
image:
4243
busybox:
4344
registry: docker.io

0 commit comments

Comments
 (0)