mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/kafka] Fix initContainer failure which did not error (#4400)
* [incubator/kafka] Fix initContainer failure which did not error * [incubator/kafka] Set initContainer to fail when vars are undefined
This commit is contained in:
committed by
k8s-ci-robot
parent
d43d09ab91
commit
f386fa96e6
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: Apache Kafka is publish-subscribe messaging rethought as a distributed
|
||||
commit log.
|
||||
name: kafka
|
||||
version: 0.4.3
|
||||
version: 0.4.4
|
||||
keywords:
|
||||
- kafka
|
||||
- zookeeper
|
||||
|
||||
@@ -28,8 +28,10 @@ spec:
|
||||
- name: init-ext
|
||||
image: "{{ .Values.external.init.image }}:{{ .Values.external.init.imageTag }}"
|
||||
imagePullPolicy: "{{ .Values.external.init.imagePullPolicy }}"
|
||||
args:
|
||||
- -n ${POD_NAMESPACE} label pods ${POD_NAME} pod=${POD_NAME}
|
||||
command:
|
||||
- sh
|
||||
- -euxc
|
||||
- "kubectl label pods ${POD_NAME} --namespace ${POD_NAMESPACE} pod=${POD_NAME}"
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
|
||||
@@ -69,8 +69,8 @@ external:
|
||||
firstListenerPort: 31090
|
||||
domain: cluster.local
|
||||
init:
|
||||
image: "lachlanevenson/k8s-kubectl"
|
||||
imageTag: "v1.9.3"
|
||||
image: "lwolf/kubectl_deployer"
|
||||
imageTag: "0.4"
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
|
||||
## Configuration Overrides. Specify any Kafka settings you would like set on the StatefulSet
|
||||
|
||||
Reference in New Issue
Block a user