diff --git a/Makefile b/Makefile index 2e197ce42..afec5178d 100644 --- a/Makefile +++ b/Makefile @@ -74,8 +74,6 @@ deploy: kind-load-image install ## Deploy controller in the configured Kubernete --set image.registry=$(E2E_REGISTRY) \ --set image.repository=$(E2E_REPO) \ --set image.tag=$(E2E_TAG) \ - --set k8up.backupImage.repository=$(E2E_REGISTRY)/$(E2E_REPO) \ - --set k8up.backupImage.tag=$(E2E_TAG) \ --wait $(deploy_args) .PHONY: generate diff --git a/charts/k8up/Chart.yaml b/charts/k8up/Chart.yaml index b6dbf0db1..1e0ea1c2a 100644 --- a/charts/k8up/Chart.yaml +++ b/charts/k8up/Chart.yaml @@ -6,7 +6,7 @@ keywords: - backup - operator - restic -version: 3.0.2 +version: 4.0.0 sources: - https://github.com/k8up-io/k8up maintainers: diff --git a/charts/k8up/README.gotmpl.md b/charts/k8up/README.gotmpl.md index 5de5ab4d8..c83958512 100644 --- a/charts/k8up/README.gotmpl.md +++ b/charts/k8up/README.gotmpl.md @@ -23,7 +23,7 @@ Document your changes in values.yaml and let `make docs:helm` generate this sect --> {{ template "chart.valuesSection" . }} -## Upgrading from Charts 0.x to 1.x +## Upgrading from Charts v0 to v1 * In `image.repository` the registry domain was moved into its own parameter `image.registry`. * K8up 1.x features leader election, this enables rolling updates and multiple replicas. @@ -32,7 +32,7 @@ Document your changes in values.yaml and let `make docs:helm` generate this sect * Note: Deployment strategy type has changed from `Recreate` to `RollingUpdate`. * CRDs need to be installed separately, they are no longer included in this chart. -## Upgrading from Charts 1.x to 2.x +## Upgrading from Charts v1 to v2 * Note: `image.repository` changed from `vshn/k8up` to `k8up-io/k8up`. * Note: `image.registry` changed from `quay.io` to `ghcr.io`. @@ -40,7 +40,7 @@ Document your changes in values.yaml and let `make docs:helm` generate this sect * `metrics.prometheusRule.legacyRules` has been removed (no support for OpenShift 3.11 anymore). * Note: `k8up.backupImage.repository` changed from `quay.io/vshn/wrestic` to `ghcr.io/k8up-io/k8up` (`wrestic` is not needed anymore in K8up v2). -## Upgrading from Charts 2.x to 3.x +## Upgrading from Charts v2 to v3 Due to the migration of the chart from [APPUiO](https://github.com/appuio/charts/tree/master/appuio/k8up) to this repo, we decided to make a breaking change for the chart. Only chart archives from version 3.x can be downloaded from the https://k8up-io.github.io/k8up index. @@ -59,3 +59,12 @@ In most cases this shouldn't be an issue and Helm should be able to cleanup the * Note: ClusterRoleBinding `${release-name}-leader-election-rolebinding` removed (not needed anymore). * Note: Renamed ClusterRole `${release-name}-k8up-view` to `${release-name}-view`. * Note: Renamed ClusterRole `${release-name}-k8up-edit` to `${release-name}-edit`. + +## Upgrading from Charts v3 to v4 + +The image tag is now pinned again and not using a floating tag. + +* Parameter changed: `image.tag` now defaults to a pinned version. Each new K8up version now requires also a new chart version. +* Parameter changed: `image.pullPolicy` now defaults to `IfNotPresent` instead of `Always`. +* Parameter changed: `k8up.backupImage.repository` is now unset, which defaults to the same image as defined in `image.{registry/repository}`. +* Parameter changed: `k8up.backupImage.tag` is now unset, which defaults to the same image tag as defined in `image.tag`. diff --git a/charts/k8up/README.md b/charts/k8up/README.md index 767ffc09d..4691fb5e5 100644 --- a/charts/k8up/README.md +++ b/charts/k8up/README.md @@ -1,6 +1,6 @@ # k8up -![Version: 3.0.2](https://img.shields.io/badge/Version-3.0.2-informational?style=flat-square) +![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) Kubernetes and OpenShift Backup Operator based on restic @@ -13,7 +13,7 @@ helm repo add k8up-io https://k8up-io.github.io/k8up helm install k8up k8up-io/k8up ``` ```bash -kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-3.0.2/k8up-crd.yaml +kubectl apply -f https://github.com/k8up-io/k8up/releases/download/k8up-4.0.0/k8up-crd.yaml ```