[bitnami/kong] Major version. Adapt Chart to apiVersion: v2 (#4325)

* [bitnami/kong] Major version. Adapt Chart to apiVersion: v2

* Update README.md

* [bitnami/kong] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2020-11-18 15:24:20 +01:00
committed by GitHub
parent c1b81bf480
commit d0485ca661
6 changed files with 58 additions and 34 deletions

View File

@@ -1,12 +1,12 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 9.8.11
version: 10.0.0
- name: cassandra
repository: https://charts.bitnami.com/bitnami
version: 6.0.6
version: 7.0.1
- name: common
repository: https://charts.bitnami.com/bitnami
version: 0.10.0
digest: sha256:586fddc5d897bc699c74af6b127d480c5b79e00e4a2bb242a50916f6fce91646
generated: "2020-11-06T18:33:16.045360216Z"
version: 1.0.0
digest: sha256:e60bb979f07138cea907ebddadd75d14b65a778d776826cb73322b4cadc845fb
generated: "2020-11-18T11:52:50.399206764Z"

View File

@@ -1,8 +1,23 @@
apiVersion: v1
name: kong
version: 2.0.3
annotations:
category: Infrastructure
apiVersion: v2
appVersion: 2.2.0
dependencies:
- condition: postgresql.enabled
name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 10.x.x
- condition: cassandra.enabled
name: cassandra
repository: https://charts.bitnami.com/bitnami
version: 7.x.x
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.x.x
description: Kong is a scalable, open source API layer (aka API gateway or API middleware) that runs in front of any RESTful API. Extra functionalities beyond the core platform are extended through plugins. Kong is built on top of reliable technologies like NGINX and provides an easy-to-use RESTful API to operate and configure the system.
engine: gotpl
home: https://github.com/bitnami/charts/tree/master/bitnami/kong
icon: https://bitnami.com/assets/stacks/kong/img/kong-stack-3.0.034.png
keywords:
- kong
- ingress
@@ -12,14 +27,11 @@ keywords:
- web
- www
- reverse proxy
home: https://github.com/bitnami/charts/tree/master/bitnami/kong
maintainers:
- email: containers@bitnami.com
name: Bitnami
name: kong
sources:
- https://github.com/bitnami/bitnami-docker-kong
- https://konghq.com/
maintainers:
- name: Bitnami
email: containers@bitnami.com
engine: gotpl
icon: https://bitnami.com/assets/stacks/kong/img/kong-stack-220x234.png
annotations:
category: Infrastructure
version: 3.0.0

View File

@@ -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
@@ -414,7 +414,7 @@ As an alternative, you can use of the preset configurations for pod affinity, po
Find more information about how to deal with common errors related to Bitnamis Helm charts in [this troubleshooting guide](https://docs.bitnami.com/general/how-to/troubleshoot-helm-chart-issues).
## Upgrade
## Upgrading
It's necessary to specify the existing passwords while performing a upgrade to ensure the secrets are not updated with invalid randomly generated passwords. Remember to specify the existing values of the `postgresql.postgresqlPassword` or `cassandra.password` parameters when upgrading the chart:
@@ -428,6 +428,30 @@ $ helm upgrade my-release bitnami/kong \
> Note: you need to substitute the placeholders _[POSTGRESQL_PASSWORD]_ with the values obtained from instructions in the installation notes.
### To 3.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
- This chart depends on the **PostgreSQL 10** instead of **PostgreSQL 9**. Apart from the same changes that are described in this section, there are also other major changes due to the master/slave nomenclature was replaced by primary/readReplica. [Here](https://github.com/bitnami/charts/pull/4385) you can find more information about the changes introduced.
**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 2.0.0
PostgreSQL and Cassandra dependencies versions were bumped to new major versions, `9.x.x` and `6.x.x` respectively. Both of these include breaking changes and hence backwards compatibility is no longer guaranteed.

View File

@@ -1,12 +0,0 @@
dependencies:
- name: postgresql
condition: postgresql.enabled
version: 9.x.x
repository: https://charts.bitnami.com/bitnami
- name: cassandra
condition: cassandra.enabled
version: 6.x.x
repository: https://charts.bitnami.com/bitnami
- name: common
version: 0.x.x
repository: https://charts.bitnami.com/bitnami

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/kong
tag: 2.2.0-debian-10-r14
tag: 2.2.0-debian-10-r25
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -154,7 +154,7 @@ ingressController:
image:
registry: docker.io
repository: bitnami/kong-ingress-controller
tag: 0.10.0-debian-10-r48
tag: 0.10.0-debian-10-r60
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/kong
tag: 2.2.0-debian-10-r14
tag: 2.2.0-debian-10-r25
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -154,7 +154,7 @@ ingressController:
image:
registry: docker.io
repository: bitnami/kong-ingress-controller
tag: 0.10.0-debian-10-r48
tag: 0.10.0-debian-10-r60
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images