mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +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,13 +41,15 @@ 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` |
|
||||
@@ -55,7 +57,7 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
### 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` |
|
||||
@@ -63,7 +65,7 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
### 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}` |
|
||||
@@ -79,31 +81,31 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
| `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` | |
|
||||
| `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` | |
|
||||
| `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` | |
|
||||
| `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` | |
|
||||
| `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` |
|
||||
@@ -129,34 +131,33 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
### 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` | |
|
||||
|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
|
||||
| `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` | |
|
||||
|--------------------------------|--------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
|
||||
| `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` |
|
||||
@@ -164,21 +165,22 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
| `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` | |
|
||||
| `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` |
|
||||
@@ -189,8 +191,9 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
| `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` |
|
||||
@@ -200,12 +203,10 @@ The following tables list the configurable parameters of the kong chart and thei
|
||||
| `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` |
|
||||
|
||||
@@ -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
|
||||
## In case you want to use a custom image for Kong migration, set this value
|
||||
##
|
||||
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
|
||||
# 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
|
||||
## In case you want to use a custom image for Kong migration, set this value
|
||||
##
|
||||
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
|
||||
# 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