Skip to content

Commit

Permalink
[kube-prometheus-stack] Move CRD installation/upgrade to a job
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson committed Apr 24, 2023
1 parent 1c25302 commit 0f51825
Show file tree
Hide file tree
Showing 18 changed files with 259 additions and 37,657 deletions.
4 changes: 3 additions & 1 deletion charts/kube-prometheus-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an

This version upgrades Prometheus-Operator to v0.64.0 with the new PrometheusAgent CRD, Prometheus to v2.43.0 and Thanos to v0.31.0.

Run these commands to update the CRDs before applying the upgrade.
As of this release, CRD installation and upgrade is now managed by the chart if the property `crds.enabled` is set to true (by default).

If you want to upgrade the CRDs the old fashion way, set `crds.enabled` to false and run these commands to update the CRDs before applying the upgrade.

```console
kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.64.0/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
Expand Down
4,481 changes: 0 additions & 4,481 deletions charts/kube-prometheus-stack/crds/crd-alertmanagerconfigs.yaml

This file was deleted.

7,172 changes: 0 additions & 7,172 deletions charts/kube-prometheus-stack/crds/crd-alertmanagers.yaml

This file was deleted.

674 changes: 0 additions & 674 deletions charts/kube-prometheus-stack/crds/crd-podmonitors.yaml

This file was deleted.

717 changes: 0 additions & 717 deletions charts/kube-prometheus-stack/crds/crd-probes.yaml

This file was deleted.

7,875 changes: 0 additions & 7,875 deletions charts/kube-prometheus-stack/crds/crd-prometheusagents.yaml

This file was deleted.

9,202 changes: 0 additions & 9,202 deletions charts/kube-prometheus-stack/crds/crd-prometheuses.yaml

This file was deleted.

120 changes: 0 additions & 120 deletions charts/kube-prometheus-stack/crds/crd-prometheusrules.yaml

This file was deleted.

Loading

0 comments on commit 0f51825

Please sign in to comment.