mirror of
https://github.com/bitnami/charts.git
synced 2026-03-27 15:27:10 +08:00
[bitnami/kong] Make override migration image as optional (#2354)
* [bitnami/kong] Make override migration image as optional * Use helm hooks to have support for --wait * Set the annotations as a value * Fix annotations * [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:
committed by
GitHub
parent
985171f850
commit
0e29ba9fb3
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: kong
|
||||
version: 0.0.1
|
||||
appVersion: 2.0.2
|
||||
version: 1.0.0
|
||||
appVersion: 2.0.3
|
||||
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.
|
||||
keywords:
|
||||
- kong
|
||||
|
||||
@@ -41,181 +41,182 @@ To uninstall/delete the `my-release` deployment:
|
||||
```console
|
||||
helm delete my-release
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
The following tables list the configurable parameters of the kong chart and their default values per section/component:
|
||||
|
||||
### Global Parameters
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `global.imageRegistry` | Global Docker image registry | `nil` |
|
||||
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `global.storageClass` | Global storage class for dynamic provisioning | `nil` |
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|---------------------------|-------------------------------------------------|---------------------------------------------------------|
|
||||
| `global.imageRegistry` | Global Docker image registry | `nil` |
|
||||
| `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `global.storageClass` | Global storage class for dynamic provisioning | `nil` |
|
||||
|
||||
### Common Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `nameOverride` | String to partially override kong.fullname template with a string (will prepend the release name) | `nil` |
|
||||
| `fullnameOverride` | String to fully override kong.fullname template with a string | `nil` |
|
||||
| `clusterDomain` | Kubernetes cluster domain | `cluster.local` |
|
||||
| Parameter | Description | Default |
|
||||
|--------------------|---------------------------------------------------------------------------------------------------|-----------------|
|
||||
| `nameOverride` | String to partially override kong.fullname template with a string (will prepend the release name) | `nil` |
|
||||
| `fullnameOverride` | String to fully override kong.fullname template with a string | `nil` |
|
||||
| `clusterDomain` | Kubernetes cluster domain | `cluster.local` |
|
||||
|
||||
### Deployment Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `image.registry` | kong image registry | `docker.io` |
|
||||
| `image.repository` | kong image name | `bitnami/kong` |
|
||||
| `image.tag` | kong image tag | `{TAG_NAME}` |
|
||||
| `image.pullPolicy` | kong image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `replicaCount` | Number of replicas of the kong Pod | `2` |
|
||||
| `updateStrategy` | Update strategy for deployment | `{type: "RollingUpdate"}` |
|
||||
| `schedulerName` | Alternative scheduler | `nil` |
|
||||
| `database` | Select which database backend Kong will use. Can be 'postgresql' or 'cassandra' | `postgresql` |
|
||||
| `containerSecurityContext` | Container security podSecurityContext | `{ runAsUser: 1001, runAsNonRoot: true}` |
|
||||
| `podSecurityContext` | Pod security context | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Tolerations for pod assignment | `[]` |
|
||||
| `affinity` | Affinity for pod assignment | `{}` |
|
||||
| `podAnnotations` | Pod annotations | `{}` |
|
||||
| `sidecars` | Attach additional containers to the pod (evaluated as a template) | `nil` | |
|
||||
| `initContainers` | Add additional init containers to the pod (evaluated as a template) | `nil` | |
|
||||
| `pdb.enabled` | Deploy a pdb object for the Kong pod | `false` | |
|
||||
| `pdb.maxUnavailable` | Maximum unavailable Kong replicas (expressed in percentage) | `50%` | |
|
||||
| `autoscaling.enabled` | Deploy a HorizontalPodAutoscaler object for the Kong deployment | `false` | |
|
||||
| `autoscaling.apiVersion` | API Version of the HPA object (for compatibility with Openshift) | `v1beta1` | |
|
||||
| `autoscaling.minReplicas` | Minimum number of replicas to scale back | `2` | |
|
||||
| `autoscaling.maxReplicas` | Maximum number of replicas to scale out | `2` | |
|
||||
| `autoscaling.metrics` | Metrics to use when deciding to scale the deployment (evaluated as a template) | `Check values.yaml` | |
|
||||
| `extraVolumes` | Array of extra volumes to be added to the Kong deployment deployment (evaluated as template). Requires setting `extraVolumeMounts` | `nil` | |
|
||||
| `kong.livenessProbe` | Liveness probe (kong container) | `Check values.yaml` |
|
||||
| `kong.readinessProbe` | Readiness probe (kong contaienr) | `Check values.yaml` |
|
||||
| `kong.resources` | Configure resource requests and limits (kong container) | `nil` |
|
||||
| `kong.extraVolumeMounts` | Array of extra volume mounts to be added to the Kong Container (evaluated as template). Normally used with `extraVolumes`. | `nil` | |
|
||||
| `ingressController.livenessProbe` | Liveness probe (kong ingress controller container) | `Check values.yaml` |
|
||||
| `ingressController.readinessProbe` | Readiness probe (kong ingress controller container) | `Check values.yaml` |
|
||||
| `ingressController.resources` | Configure resource requests and limits (kong ingress controller container) | `nil` |
|
||||
| `ingressController.extraVolumeMounts` | Array of extra volume mounts to be added to the Kong Ingress Controller container (evaluated as template). Normally used with `extraVolumes`. | `nil` | |
|
||||
| `migration.resources` | Configure resource requests and limits (migration container) | `nil` |
|
||||
| `migration.extraVolumeMounts` | Array of extra volume mounts to be added to the Kong Container (evaluated as template). Normally used with `extraVolumes`. | `nil` | |
|
||||
| Parameter | Description | Default |
|
||||
|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `image.registry` | kong image registry | `docker.io` |
|
||||
| `image.repository` | kong image name | `bitnami/kong` |
|
||||
| `image.tag` | kong image tag | `{TAG_NAME}` |
|
||||
| `image.pullPolicy` | kong image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `replicaCount` | Number of replicas of the kong Pod | `2` |
|
||||
| `updateStrategy` | Update strategy for deployment | `{type: "RollingUpdate"}` |
|
||||
| `schedulerName` | Alternative scheduler | `nil` |
|
||||
| `database` | Select which database backend Kong will use. Can be 'postgresql' or 'cassandra' | `postgresql` |
|
||||
| `containerSecurityContext` | Container security podSecurityContext | `{ runAsUser: 1001, runAsNonRoot: true}` |
|
||||
| `podSecurityContext` | Pod security context | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Tolerations for pod assignment | `[]` |
|
||||
| `affinity` | Affinity for pod assignment | `{}` |
|
||||
| `podAnnotations` | Pod annotations | `{}` |
|
||||
| `sidecars` | Attach additional containers to the pod (evaluated as a template) | `nil` |
|
||||
| `initContainers` | Add additional init containers to the pod (evaluated as a template) | `nil` |
|
||||
| `pdb.enabled` | Deploy a pdb object for the Kong pod | `false` |
|
||||
| `pdb.maxUnavailable` | Maximum unavailable Kong replicas (expressed in percentage) | `50%` |
|
||||
| `autoscaling.enabled` | Deploy a HorizontalPodAutoscaler object for the Kong deployment | `false` |
|
||||
| `autoscaling.apiVersion` | API Version of the HPA object (for compatibility with Openshift) | `v1beta1` |
|
||||
| `autoscaling.minReplicas` | Minimum number of replicas to scale back | `2` |
|
||||
| `autoscaling.maxReplicas` | Maximum number of replicas to scale out | `2` |
|
||||
| `autoscaling.metrics` | Metrics to use when deciding to scale the deployment (evaluated as a template) | `Check values.yaml` |
|
||||
| `extraVolumes` | Array of extra volumes to be added to the Kong deployment deployment (evaluated as template). Requires setting `extraVolumeMounts` | `nil` |
|
||||
| `kong.livenessProbe` | Liveness probe (kong container) | `Check values.yaml` |
|
||||
| `kong.readinessProbe` | Readiness probe (kong contaienr) | `Check values.yaml` |
|
||||
| `kong.resources` | Configure resource requests and limits (kong container) | `nil` |
|
||||
| `kong.extraVolumeMounts` | Array of extra volume mounts to be added to the Kong Container (evaluated as template). Normally used with `extraVolumes`. | `nil` |
|
||||
| `ingressController.livenessProbe` | Liveness probe (kong ingress controller container) | `Check values.yaml` |
|
||||
| `ingressController.readinessProbe` | Readiness probe (kong ingress controller container) | `Check values.yaml` |
|
||||
| `ingressController.resources` | Configure resource requests and limits (kong ingress controller container) | `nil` |
|
||||
| `ingressController.extraVolumeMounts` | Array of extra volume mounts to be added to the Kong Ingress Controller container (evaluated as template). Normally used with `extraVolumes`. | `nil` |
|
||||
| `migration.resources` | Configure resource requests and limits (migration container) | `nil` |
|
||||
| `migration.extraVolumeMounts` | Array of extra volume mounts to be added to the Kong Container (evaluated as template). Normally used with `extraVolumes`. | `nil` |
|
||||
|
||||
### Traffic Exposure Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.exposeAdmin` | Add the Kong Admin ports to the service | `false` |
|
||||
| `service.proxyHttpPort` | kong proxy HTTP service port port | `80` |
|
||||
| `service.proxyHttpsPort` | kong proxy HTTPS service port port | `443` |
|
||||
| `service.adminHttpPort` | kong admin HTTPS service port (only if service.exposeAdmin=true) | `8001` |
|
||||
| `service.adminHttpsPort` | kong admin HTTPS service port (only if service.exposeAdmin=true) | `8443` |
|
||||
| `service.proxyHttpNodePort` | Port to bind to for NodePort service type (proxy HTTP) | `nil` |
|
||||
| `service.proxyHttpsNodePort` | Port to bind to for NodePort service type (proxy HTTPS) | `nil` |
|
||||
| `service.adminHttpNodePort` | Port to bind to for NodePort service type (admin HTTP) | `nil` |
|
||||
| `service.aminHttpsNodePort` | Port to bind to for NodePort service type (proxy HTTP) | `nil` |
|
||||
| `service.annotations` | Annotations for kong service | `{}` |
|
||||
| `service.loadBalancerIP` | loadBalancerIP if kong service type is `LoadBalancer` | `nil` |
|
||||
| `ingress.enabled` | Enable the use of the ingress controller to access the web UI | `false` |
|
||||
| `ingress.certManager` | Add annotations for cert-manager | `false` |
|
||||
| `ingress.annotations` | Annotations for the kong Ingress | `{}` |
|
||||
| `ingress.hosts[0].name` | Hostname to your kong installation | `kong.local` |
|
||||
| `ingress.hosts[0].paths` | Path within the url structure | `["/"]` |
|
||||
| `ingress.hosts[0].tls` | Utilize TLS backend in ingress | `false` |
|
||||
| `ingress.hosts[0].tlsHosts` | Array of TLS hosts for ingress record (defaults to `ingress.hosts[0].name` if `nil`) | `nil` |
|
||||
| `ingress.hosts[0].servicePort` | Which service port inside the kong service to redirect | `nil` |
|
||||
| `ingress.hosts[0].tlsSecret` | TLS Secret (certificates) | `kong.local-tls` |
|
||||
| Parameter | Description | Default |
|
||||
|--------------------------------|--------------------------------------------------------------------------------------|------------------|
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.exposeAdmin` | Add the Kong Admin ports to the service | `false` |
|
||||
| `service.proxyHttpPort` | kong proxy HTTP service port port | `80` |
|
||||
| `service.proxyHttpsPort` | kong proxy HTTPS service port port | `443` |
|
||||
| `service.adminHttpPort` | kong admin HTTPS service port (only if service.exposeAdmin=true) | `8001` |
|
||||
| `service.adminHttpsPort` | kong admin HTTPS service port (only if service.exposeAdmin=true) | `8443` |
|
||||
| `service.proxyHttpNodePort` | Port to bind to for NodePort service type (proxy HTTP) | `nil` |
|
||||
| `service.proxyHttpsNodePort` | Port to bind to for NodePort service type (proxy HTTPS) | `nil` |
|
||||
| `service.adminHttpNodePort` | Port to bind to for NodePort service type (admin HTTP) | `nil` |
|
||||
| `service.aminHttpsNodePort` | Port to bind to for NodePort service type (proxy HTTP) | `nil` |
|
||||
| `service.annotations` | Annotations for kong service | `{}` |
|
||||
| `service.loadBalancerIP` | loadBalancerIP if kong service type is `LoadBalancer` | `nil` |
|
||||
| `ingress.enabled` | Enable the use of the ingress controller to access the web UI | `false` |
|
||||
| `ingress.certManager` | Add annotations for cert-manager | `false` |
|
||||
| `ingress.annotations` | Annotations for the kong Ingress | `{}` |
|
||||
| `ingress.hosts[0].name` | Hostname to your kong installation | `kong.local` |
|
||||
| `ingress.hosts[0].paths` | Path within the url structure | `["/"]` |
|
||||
| `ingress.hosts[0].tls` | Utilize TLS backend in ingress | `false` |
|
||||
| `ingress.hosts[0].tlsHosts` | Array of TLS hosts for ingress record (defaults to `ingress.hosts[0].name` if `nil`) | `nil` |
|
||||
| `ingress.hosts[0].servicePort` | Which service port inside the kong service to redirect | `nil` |
|
||||
| `ingress.hosts[0].tlsSecret` | TLS Secret (certificates) | `kong.local-tls` |
|
||||
|
||||
### Kong Container Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `kong.extraEnvVars` | Array containing extra env vars to configure Kong | `nil` | |
|
||||
| `kong.extraEnvVarsCM` | ConfigMap containing extra env vars to configure Kong | `nil` | |
|
||||
| `kong.extraEnvVarsSecret` | Secret containing extra env vars to configure Kong (in case of sensitive data) | `nil` | |
|
||||
| `kong.command` | Override default container command (useful when using custom images) | `nil` | |
|
||||
| `kong.args` | Override default container args (useful when using custom images) | `nil` | |
|
||||
| `kong.initScriptsCM` | ConfigMap containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time (evaluated as a template) | `nil` | |
|
||||
| `kong.initScriptsSecret` | Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time (that contain sensitive data). Evaluated as a template. | `nil` | |
|
||||
| Parameter | Description | Default |
|
||||
|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|
||||
| `kong.extraEnvVars` | Array containing extra env vars to configure Kong | `nil` |
|
||||
| `kong.extraEnvVarsCM` | ConfigMap containing extra env vars to configure Kong | `nil` |
|
||||
| `kong.extraEnvVarsSecret` | Secret containing extra env vars to configure Kong (in case of sensitive data) | `nil` |
|
||||
| `kong.command` | Override default container command (useful when using custom images) | `nil` |
|
||||
| `kong.args` | Override default container args (useful when using custom images) | `nil` |
|
||||
| `kong.initScriptsCM` | ConfigMap containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time (evaluated as a template) | `nil` |
|
||||
| `kong.initScriptsSecret` | Secret containing `/docker-entrypoint-initdb.d` scripts to be executed at initialization time (that contain sensitive data). Evaluated as a template. | `nil` |
|
||||
|
||||
### Kong Migration job Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `migration.image.registry` | Kong migration job image registry | `docker.io` |
|
||||
| `migration.image.repository` | Kong migration job image name | `bitnami/kong` |
|
||||
| `migration.image.tag` | Kong migration job image tag | `{TAG_NAME}` |
|
||||
| `migration.image.pullPolicy` | kong migration job image pull policy | `IfNotPresent` |
|
||||
| `migration.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `migration.extraEnvVars` | Array containing extra env vars to configure the Kong migration job | `nil` | |
|
||||
| `migration.extraEnvVarsCM` | ConfigMap containing extra env vars to configure the Kong migration job | `nil` | |
|
||||
| `migration.extraEnvVarsSecret` | Secret containing extra env vars to configure the Kong migration job (in case of sensitive data) | `nil` | |
|
||||
| `migration.command` | Override default container command (useful when using custom images) | `nil` | |
|
||||
| `migration.args` | Override default container args (useful when using custom images) | `nil` | |
|
||||
| Parameter | Description | Default |
|
||||
|--------------------------------|--------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
|
||||
| `migration.image.registry` | Override Kong migration job image registry (Kong image if not set) | `nil` |
|
||||
| `migration.image.repository` | Override Kong migration job image name (Kong image if not set) | `nil` |
|
||||
| `migration.image.tag` | Override Kong migration job image tag (Kong image if not set) | `nil` |
|
||||
| `migration.extraEnvVars` | Array containing extra env vars to configure the Kong migration job | `nil` |
|
||||
| `migration.extraEnvVarsCM` | ConfigMap containing extra env vars to configure the Kong migration job | `nil` |
|
||||
| `migration.extraEnvVarsSecret` | Secret containing extra env vars to configure the Kong migration job (in case of sensitive data) | `nil` |
|
||||
| `migration.command` | Override default container command (useful when using custom images) | `nil` |
|
||||
| `migration.args` | Override default container args (useful when using custom images) | `nil` |
|
||||
| `migration.annotations` | Add annotations to the job | `helm.sh/hook: post-install, post-upgrade, helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded` |
|
||||
|
||||
### Kong Ingress Controller Container Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `ingressController.enabled` | Enable/disable the Kong Ingress Controller | `true` |
|
||||
| `ingressController.image.registry` | Kong Ingress Controller image registry | `docker.io` |
|
||||
| `ingressController.image.repository` | Kong Ingress Controller image name | `bitnami/kong` |
|
||||
| `ingressController.image.tag` | Kong Ingress Controller image tag | `{TAG_NAME}` |
|
||||
| `ingressController.image.pullPolicy` | kong ingress controller image pull policy | `IfNotPresent` |
|
||||
| `ingressController.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `ingressController.proxyReadyTimeout` | Maximum time (in seconds) to wait for the Kong container to be ready | `300` |
|
||||
| `ingressController.extraEnvVars` | Array containing extra env vars to configure Kong | `nil` | |
|
||||
| `ingressController.extraEnvVarsCM` | ConfigMap containing extra env vars to configure Kong Ingress Controller | `nil` | |
|
||||
| `ingressController.extraEnvVarsSecret` | Secret containing extra env vars to configure Kong Ingress Controller (in case of sensitive data) | `nil` | |
|
||||
| `ingressController.rbac.create` | Create the necessary Service Accounts, Roles and Rolebindings for the Ingress Controller to work | `true` | |
|
||||
| `ingressController.rbac.existingServiceAccount` | Use an existing service account for all the RBAC operations | `nil` | |
|
||||
| `ingressController.installCRDs` | Install CustomResourceDefinitions (for Helm 2 support) | `false` | |
|
||||
| `ingressController.customResourceDeletePolicy` | Add custom CRD resource delete policy (for Helm 2 support) | `nil` | |
|
||||
| `ingressController.rbac.existingServiceAccount` | Use an existing service account for all the RBAC operations | `nil` | |
|
||||
| `ingressController.ingressClass` | Name of the class to register Kong Ingress Controller (useful when having other Ingress Controllers in the cluster) | `nil` | |
|
||||
| `ingressController.command` | Override default container command (useful when using custom images) | `nil` | |
|
||||
| `ingressController.args` | Override default container args (useful when using custom images) | `nil` | |
|
||||
| Parameter | Description | Default |
|
||||
|-------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `ingressController.enabled` | Enable/disable the Kong Ingress Controller | `true` |
|
||||
| `ingressController.image.registry` | Kong Ingress Controller image registry | `docker.io` |
|
||||
| `ingressController.image.repository` | Kong Ingress Controller image name | `bitnami/kong` |
|
||||
| `ingressController.image.tag` | Kong Ingress Controller image tag | `{TAG_NAME}` |
|
||||
| `ingressController.image.pullPolicy` | kong ingress controller image pull policy | `IfNotPresent` |
|
||||
| `ingressController.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `ingressController.proxyReadyTimeout` | Maximum time (in seconds) to wait for the Kong container to be ready | `300` |
|
||||
| `ingressController.extraEnvVars` | Array containing extra env vars to configure Kong | `nil` |
|
||||
| `ingressController.extraEnvVarsCM` | ConfigMap containing extra env vars to configure Kong Ingress Controller | `nil` |
|
||||
| `ingressController.extraEnvVarsSecret` | Secret containing extra env vars to configure Kong Ingress Controller (in case of sensitive data) | `nil` |
|
||||
| `ingressController.rbac.create` | Create the necessary Service Accounts, Roles and Rolebindings for the Ingress Controller to work | `true` |
|
||||
| `ingressController.rbac.existingServiceAccount` | Use an existing service account for all the RBAC operations | `nil` |
|
||||
| `ingressController.installCRDs` | Install CustomResourceDefinitions (for Helm 2 support) | `false` |
|
||||
| `ingressController.customResourceDeletePolicy` | Add custom CRD resource delete policy (for Helm 2 support) | `nil` |
|
||||
| `ingressController.rbac.existingServiceAccount` | Use an existing service account for all the RBAC operations | `nil` |
|
||||
| `ingressController.ingressClass` | Name of the class to register Kong Ingress Controller (useful when having other Ingress Controllers in the cluster) | `nil` |
|
||||
| `ingressController.command` | Override default container command (useful when using custom images) | `nil` |
|
||||
| `ingressController.args` | Override default container args (useful when using custom images) | `nil` |
|
||||
|
||||
### PostgreSQL Parameters
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `postgresql.enabled` | Deploy the PostgreSQL sub-chart | `false` |
|
||||
| `postgresql.usePasswordFile` | Mount the PostgreSQL secret as a file | `no` |
|
||||
| `postgresql.existingSecret` | Use an existing secret file with the PostgreSQL password (can be used with the bundled chart or with an existing installation) | `nil` |
|
||||
| `postgresql.postgresqlDatabase` | Database name to be used by Kong | `kong` |
|
||||
| `postgresql.postgresqlUsername` | Username to be created by the PostgreSQL bundled chart | `kong` |
|
||||
| `postgresql.external.host` | Host of an external PostgreSQL installation | `nil` |
|
||||
| `postgresql.external.user` | Username of the external PostgreSQL installation | `nil` |
|
||||
| `postgresql.external.password` | Password of the external PostgreSQL installation | `nil` |
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------|---------|
|
||||
| `postgresql.enabled` | Deploy the PostgreSQL sub-chart | `false` |
|
||||
| `postgresql.usePasswordFile` | Mount the PostgreSQL secret as a file | `no` |
|
||||
| `postgresql.existingSecret` | Use an existing secret file with the PostgreSQL password (can be used with the bundled chart or with an existing installation) | `nil` |
|
||||
| `postgresql.postgresqlDatabase` | Database name to be used by Kong | `kong` |
|
||||
| `postgresql.postgresqlUsername` | Username to be created by the PostgreSQL bundled chart | `kong` |
|
||||
| `postgresql.external.host` | Host of an external PostgreSQL installation | `nil` |
|
||||
| `postgresql.external.user` | Username of the external PostgreSQL installation | `nil` |
|
||||
| `postgresql.external.password` | Password of the external PostgreSQL installation | `nil` |
|
||||
|
||||
### Cassandra Parameters
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
| `cassandra.enabled` | Deploy the Cassandra sub-chart | `false` |
|
||||
| `cassandra.usePasswordFile` | Mount the Cassandra secret as a file | `no` |
|
||||
| `cassandra.existingSecret` | Use an existing secret file with the Cassandra password (can be used with the bundled chart or with an existing installation) | `nil` |
|
||||
| `cassandra.dbUser.user` | Username to be created by the cassandra bundled chart | `kong` |
|
||||
| `cassandra.external.hosts` | Hosts of an external cassandra installation | `nil` |
|
||||
| `cassandra.external.port` | Port of an external cassandra installation | `nil` |
|
||||
| `cassandra.external.user` | Username of the external cassandra installation | `nil` |
|
||||
| `cassandra.external.password` | Password of the external cassandra installation | `nil` |
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|-------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------|
|
||||
| `cassandra.enabled` | Deploy the Cassandra sub-chart | `false` |
|
||||
| `cassandra.usePasswordFile` | Mount the Cassandra secret as a file | `no` |
|
||||
| `cassandra.existingSecret` | Use an existing secret file with the Cassandra password (can be used with the bundled chart or with an existing installation) | `nil` |
|
||||
| `cassandra.dbUser.user` | Username to be created by the cassandra bundled chart | `kong` |
|
||||
| `cassandra.external.hosts` | Hosts of an external cassandra installation | `nil` |
|
||||
| `cassandra.external.port` | Port of an external cassandra installation | `nil` |
|
||||
| `cassandra.external.user` | Username of the external cassandra installation | `nil` |
|
||||
| `cassandra.external.password` | Password of the external cassandra installation | `nil` |
|
||||
|
||||
### Metrics Parameters
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
|
||||
|
||||
| `metrics.enabled` | Enable the export of Prometheus metrics | `false` |
|
||||
| `metrics.service.type` | Type of the Prometheus metrics service | `ClusterIP file` |
|
||||
| `metrics.service.port` | Port of the Prometheus metrics service | `9119` |
|
||||
| `metrics.service.annotations` | Port for Prometheus metrics service | `9119` |
|
||||
| `metrics.service.annotations` | Annotations for Prometheus metrics service | `Check values.yaml file` |
|
||||
| `metrics.serviceMonitor.enabled` | if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`) | `false` |
|
||||
| `metrics.serviceMonitor.namespace` | Namespace in which Prometheus is running | `nil` |
|
||||
| `metrics.serviceMonitor.interval` | Interval at which metrics should be scraped. | `nil` (Prometheus Operator default value) |
|
||||
| `metrics.serviceMonitor.scrapeTimeout` | Timeout after which the scrape is ended | `nil` (Prometheus Operator default value) |
|
||||
| `metrics.serviceMonitor.selector` | Prometheus instance selector labels | `nil` |
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------------------|--------------------------------------------------------------------------------------------------------|-------------------------------------------|
|
||||
| `metrics.enabled` | Enable the export of Prometheus metrics | `false` |
|
||||
| `metrics.service.type` | Type of the Prometheus metrics service | `ClusterIP file` |
|
||||
| `metrics.service.port` | Port of the Prometheus metrics service | `9119` |
|
||||
| `metrics.service.annotations` | Port for Prometheus metrics service | `9119` |
|
||||
| `metrics.service.annotations` | Annotations for Prometheus metrics service | `Check values.yaml file` |
|
||||
| `metrics.serviceMonitor.enabled` | if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`) | `false` |
|
||||
| `metrics.serviceMonitor.namespace` | Namespace in which Prometheus is running | `nil` |
|
||||
| `metrics.serviceMonitor.interval` | Interval at which metrics should be scraped. | `nil` (Prometheus Operator default value) |
|
||||
| `metrics.serviceMonitor.scrapeTimeout` | Timeout after which the scrape is ended | `nil` (Prometheus Operator default value) |
|
||||
| `metrics.serviceMonitor.selector` | Prometheus instance selector labels | `nil` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 8.7.3
|
||||
version: 8.9.0
|
||||
- name: cassandra
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 5.2.0
|
||||
digest: sha256:1226cdb56471225d70ca9a1245cc76f5ec5de36fb7e3d9475d4067726c190a3d
|
||||
generated: "2020-04-14T17:44:44.956443056Z"
|
||||
version: 5.3.2
|
||||
digest: sha256:ba619393a0c2c8c523721ee5c6df83db97f7f2084fdf8298bc6225807ed885e0
|
||||
generated: "2020-04-20T16:34:31.108999+02:00"
|
||||
|
||||
@@ -56,6 +56,7 @@ Also, we can't use a single if because lazy evaluation is not an option
|
||||
Return the proper kong migration image name
|
||||
*/}}
|
||||
{{- define "kong.migration.image" -}}
|
||||
{{- if .Values.migration.image -}}
|
||||
{{- $registryName := .Values.migration.image.registry -}}
|
||||
{{- $repositoryName := .Values.migration.image.repository -}}
|
||||
{{- $tag := .Values.migration.image.tag | toString -}}
|
||||
@@ -73,6 +74,9 @@ Also, we can't use a single if because lazy evaluation is not an option
|
||||
{{- else -}}
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- template "kong.image" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -250,21 +254,15 @@ imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- range .Values.migration.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- range .Values.ingressController.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- else if (or .Values.image.pullSecrets .Values.ingressController.image.pullSecrets .Values.migration.image.pullSecrets)}}
|
||||
{{- else if (or .Values.image.pullSecrets .Values.ingressController.image.pullSecrets)}}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- range .Values.migration.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
{{- range .Values.ingressController.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -4,15 +4,13 @@ metadata:
|
||||
name: {{ include "kong.fullname" . }}-migrate
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels: {{- include "kong.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
helm.sh/hook: post-install, post-upgrade
|
||||
annotations: {{- include "kong.tplValue" ( dict "value" .Values.migration.annotations "context" $ ) | nindent 4 }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels: {{- include "kong.labels" . | nindent 8 }}
|
||||
app.kubernetes.io/component: migration
|
||||
annotations:
|
||||
helm.sh/hook: post-install, post-upgrade
|
||||
{{- if .Values.migration.podAnnotations }}
|
||||
{{- include "kong.tplValue" (dict "value" .Values.migration.podAnnotations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -25,6 +23,7 @@ spec:
|
||||
containers:
|
||||
- name: kong-migrate
|
||||
image: {{ template "kong.migration.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.migration.command }}
|
||||
command: {{- include "kong.tplValue" (dict "value" .Values.migration.command "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong
|
||||
tag: 2.0.2-debian-10-r49
|
||||
tag: 2.0.3-debian-10-r2
|
||||
## 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
|
||||
@@ -137,7 +137,7 @@ ingressController:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong-ingress-controller
|
||||
tag: 0.8.0-debian-10-r20
|
||||
tag: 0.8.1-debian-10-r5
|
||||
## 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
|
||||
@@ -215,24 +215,21 @@ ingressController:
|
||||
# memory: 256Mi
|
||||
|
||||
migration:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong
|
||||
tag: 2.0.2-debian-10-r49
|
||||
## 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
|
||||
##
|
||||
pullPolicy: IfNotPresent
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
## In case you want to use a custom image for Kong migration, set this value
|
||||
##
|
||||
# image:
|
||||
# registry:
|
||||
# repository:
|
||||
# tag:
|
||||
## Command and args for running the container (set to default if not set). Use array form
|
||||
command:
|
||||
args:
|
||||
|
||||
## Job annotation. By defeault set to post-install and post-upgrade
|
||||
annotations:
|
||||
helm.sh/hook: post-install, post-upgrade
|
||||
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
|
||||
|
||||
## An array to add extra env vars
|
||||
## For example:
|
||||
## extraEnvVars:
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong
|
||||
tag: 2.0.2-debian-10-r49
|
||||
tag: 2.0.3-debian-10-r2
|
||||
## 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
|
||||
@@ -137,7 +137,7 @@ ingressController:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong-ingress-controller
|
||||
tag: 0.8.0-debian-10-r20
|
||||
tag: 0.8.1-debian-10-r5
|
||||
## 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
|
||||
@@ -215,24 +215,21 @@ ingressController:
|
||||
# memory: 256Mi
|
||||
|
||||
migration:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/kong
|
||||
tag: 2.0.2-debian-10-r49
|
||||
## 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
|
||||
##
|
||||
pullPolicy: IfNotPresent
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
## In case you want to use a custom image for Kong migration, set this value
|
||||
##
|
||||
# image:
|
||||
# registry:
|
||||
# repository:
|
||||
# tag:
|
||||
## Command and args for running the container (set to default if not set). Use array form
|
||||
command:
|
||||
args:
|
||||
|
||||
## Job annotation. By defeault set to post-install and post-upgrade
|
||||
annotations:
|
||||
helm.sh/hook: post-install, post-upgrade
|
||||
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
|
||||
|
||||
## An array to add extra env vars
|
||||
## For example:
|
||||
## extraEnvVars:
|
||||
@@ -241,6 +238,7 @@ migration:
|
||||
##
|
||||
extraEnvVars: []
|
||||
|
||||
|
||||
## ConfigMap with extra env vars:
|
||||
##
|
||||
extraEnvVarsCM:
|
||||
|
||||
Reference in New Issue
Block a user