From ecb3d1115f8a5f41ee4e73f31ff95723e99bc85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Wed, 11 Nov 2020 01:06:07 +0100 Subject: [PATCH] [bitnami/rabbitmq] Major version. Adapt Chart to apiVersion: v2 (#4288) * [bitnami/rabbitmq] Major version. Adapt Chart to apiVersion: v2 * [bitnami/rabbitmq] Update components versions Signed-off-by: Bitnami Containers Co-authored-by: Bitnami Containers --- bitnami/rabbitmq/Chart.lock | 6 ++++++ bitnami/rabbitmq/Chart.yaml | 28 +++++++++++++++---------- bitnami/rabbitmq/README.md | 25 +++++++++++++++++++++- bitnami/rabbitmq/requirements.lock | 6 ------ bitnami/rabbitmq/requirements.yaml | 6 ------ bitnami/rabbitmq/values-production.yaml | 2 +- bitnami/rabbitmq/values.yaml | 2 +- 7 files changed, 49 insertions(+), 26 deletions(-) create mode 100644 bitnami/rabbitmq/Chart.lock delete mode 100644 bitnami/rabbitmq/requirements.lock delete mode 100644 bitnami/rabbitmq/requirements.yaml diff --git a/bitnami/rabbitmq/Chart.lock b/bitnami/rabbitmq/Chart.lock new file mode 100644 index 000000000..eeead3ef7 --- /dev/null +++ b/bitnami/rabbitmq/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: https://charts.bitnami.com/bitnami + version: 1.0.0 +digest: sha256:a2093836b2b6a85d7bf34143d3159b5c413c5e7423bde212de9cb416c985b976 +generated: "2020-11-10T23:42:33.303947807Z" diff --git a/bitnami/rabbitmq/Chart.yaml b/bitnami/rabbitmq/Chart.yaml index 21da0a407..dac16620f 100644 --- a/bitnami/rabbitmq/Chart.yaml +++ b/bitnami/rabbitmq/Chart.yaml @@ -1,20 +1,26 @@ -apiVersion: v1 -name: rabbitmq -version: 7.8.0 +annotations: + category: Infrastructure +apiVersion: v2 appVersion: 3.8.9 +dependencies: + - name: common + repository: https://charts.bitnami.com/bitnami + tags: + - bitnami-common + version: 1.x.x description: Open source message broker software that implements the Advanced Message Queuing Protocol (AMQP) +engine: gotpl +home: https://github.com/bitnami/charts/tree/master/bitnami/rabbitmq +icon: https://bitnami.com/assets/stacks/rabbitmq/img/rabbitmq-stack-220x234.png keywords: - rabbitmq - message queue - AMQP -home: https://github.com/bitnami/charts/tree/master/bitnami/rabbitmq -icon: https://bitnami.com/assets/stacks/rabbitmq/img/rabbitmq-stack-220x234.png +maintainers: + - email: containers@bitnami.com + name: Bitnami +name: rabbitmq sources: - https://github.com/bitnami/bitnami-docker-rabbitmq - https://www.rabbitmq.com -maintainers: - - name: Bitnami - email: containers@bitnami.com -engine: gotpl -annotations: - category: Infrastructure +version: 8.0.0 diff --git a/bitnami/rabbitmq/README.md b/bitnami/rabbitmq/README.md index 19658d4c8..3f6771163 100644 --- a/bitnami/rabbitmq/README.md +++ b/bitnami/rabbitmq/README.md @@ -18,7 +18,7 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment ## Prerequisites - Kubernetes 1.12+ -- Helm 2.12+ or Helm 3.0-beta3+ +- Helm 3.0-beta3+ - PV provisioner support in the underlying infrastructure ## Installing the Chart @@ -548,6 +548,29 @@ $ helm upgrade my-release bitnami/rabbitmq --set auth.password=[PASSWORD] --set | Note: you need to substitute the placeholders [PASSWORD] and [RABBITMQ_ERLANG_COOKIE] with the values obtained in the installation notes. +### To 8.0.0 + +[On November 13, 2020, Helm v2 support was formally finished](https://github.com/helm/charts#status-of-the-project), this major version is the result of the required changes applied to the Helm Chart to be able to incorporate the different features added in Helm v3 and to be consistent with the Helm project itself regarding the Helm v2 EOL. + +**What changes were introduced in this major version?** + +- Previous versions of this Helm Chart use `apiVersion: v1` (installable by both Helm 2 and 3), this Helm Chart was updated to `apiVersion: v2` (installable by Helm 3 only). [Here](https://helm.sh/docs/topics/charts/#the-apiversion-field) you can find more information about the `apiVersion` field. +- Move dependency information from the *requirements.yaml* to the *Chart.yaml* +- After running `helm dependency update`, a *Chart.lock* file is generated containing the same structure used in the previous *requirements.lock* +- The different fields present in the *Chart.yaml* file has been ordered alphabetically in a homogeneous way for all the Bitnami Helm Charts + +**Considerations when upgrading to this version** + +- If you want to upgrade to this version from a previous one installed with Helm v3, you shouldn't face any issues +- If you want to upgrade to this version using Helm v2, this scenario is not supported as this version doesn't support Helm v2 anymore +- If you installed the previous version with Helm v2 and wants to upgrade to this version with Helm v3, please refer to the [official Helm documentation](https://helm.sh/docs/topics/v2_v3_migration/#migration-use-cases) about migrating from Helm v2 to v3 + +**Useful links** + +- https://docs.bitnami.com/tutorials/resolve-helm2-helm3-post-migration-issues/ +- https://helm.sh/docs/topics/v2_v3_migration/ +- https://helm.sh/blog/migrate-from-helm-v2-to-helm-v3/ + ### To 7.0.0 - Several parameters were renamed or dissapeared in favor of new ones on this major version: diff --git a/bitnami/rabbitmq/requirements.lock b/bitnami/rabbitmq/requirements.lock deleted file mode 100644 index 0aaa130b7..000000000 --- a/bitnami/rabbitmq/requirements.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: common - repository: https://charts.bitnami.com/bitnami - version: 0.9.0 -digest: sha256:ccf956b06766e5af946354f49211badc949847abf87d355c5d93224b45adf0bb -generated: "2020-10-21T21:58:28.899053695Z" diff --git a/bitnami/rabbitmq/requirements.yaml b/bitnami/rabbitmq/requirements.yaml deleted file mode 100644 index 0c2495d0f..000000000 --- a/bitnami/rabbitmq/requirements.yaml +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: - - name: common - version: 0.x.x - repository: https://charts.bitnami.com/bitnami - tags: - - bitnami-common diff --git a/bitnami/rabbitmq/values-production.yaml b/bitnami/rabbitmq/values-production.yaml index 8310844c8..f801317bf 100644 --- a/bitnami/rabbitmq/values-production.yaml +++ b/bitnami/rabbitmq/values-production.yaml @@ -14,7 +14,7 @@ image: registry: docker.io repository: bitnami/rabbitmq - tag: 3.8.9-debian-10-r20 + tag: 3.8.9-debian-10-r37 ## set to true if you would like to see extra information on logs ## it turns BASH and NAMI debugging in minideb diff --git a/bitnami/rabbitmq/values.yaml b/bitnami/rabbitmq/values.yaml index 8baf5e51e..494c53e59 100644 --- a/bitnami/rabbitmq/values.yaml +++ b/bitnami/rabbitmq/values.yaml @@ -14,7 +14,7 @@ image: registry: docker.io repository: bitnami/rabbitmq - tag: 3.8.9-debian-10-r20 + tag: 3.8.9-debian-10-r37 ## set to true if you would like to see extra information on logs ## it turns BASH and NAMI debugging in minideb