mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 16:17:21 +08:00
feat: add useHelmHooks value to allow install with --wait (#23460)
Signed-off-by: Wout Van De Wiel <vandewiel.wout@gmail.com>
This commit is contained in:
@@ -42,4 +42,4 @@ maintainers:
|
||||
name: kafka
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/kafka
|
||||
version: 26.8.5
|
||||
version: 26.9.0
|
||||
|
||||
@@ -685,6 +685,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `provisioning.sidecars` | Add additional sidecar containers to the Kafka provisioning pod(s) | `[]` |
|
||||
| `provisioning.initContainers` | Add additional Add init containers to the Kafka provisioning pod(s) | `[]` |
|
||||
| `provisioning.waitForKafka` | If true use an init container to wait until kafka is ready before starting provisioning | `true` |
|
||||
| `provisioning.useHelmHooks` | Flag to indicate usage of helm hooks | `true` |
|
||||
|
||||
### KRaft chart parameters
|
||||
|
||||
|
||||
@@ -12,8 +12,10 @@ metadata:
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: kafka-provisioning
|
||||
annotations:
|
||||
{{- if .Values.provisioning.useHelmHooks }}
|
||||
helm.sh/hook: post-install,post-upgrade
|
||||
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -2485,6 +2485,8 @@ provisioning:
|
||||
## @param provisioning.waitForKafka If true use an init container to wait until kafka is ready before starting provisioning
|
||||
##
|
||||
waitForKafka: true
|
||||
## @param provisioning.useHelmHooks Flag to indicate usage of helm hooks
|
||||
useHelmHooks: true
|
||||
|
||||
## @section KRaft chart parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user