Skip to content

Commit

Permalink
[kube-prometheus-stack] set --force-conflicts on CRD job (#5288)
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p authored Feb 6, 2025
1 parent c48cdcf commit 35f1d80
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -31,7 +31,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 69.0.0
version: 69.1.0
appVersion: v0.80.0
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 @@ -86,6 +86,9 @@ spec:
args:
- apply
- --server-side
{{- if .Values.upgradeJob.forceConflicts }}
- --force-conflicts
{{- end }}
- --filename
- /tmp/crds.yaml
{{- with .Values.upgradeJob.resources }}
Expand Down
1 change: 1 addition & 0 deletions charts/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ crds:
## This feature is in preview, off by default and may change in the future.
upgradeJob:
enabled: false
forceConflicts: false
image:
busybox:
registry: docker.io
Expand Down

0 comments on commit 35f1d80

Please sign in to comment.