[bitnami/kafka] Fix incorrect helpers (#5456)

This commit is contained in:
Javier J. Salmerón-García
2021-02-12 12:18:28 +01:00
committed by GitHub
parent 7be880b77f
commit 5f1d51b54b
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -29,4 +29,4 @@ name: kafka
sources:
- https://github.com/bitnami/bitnami-docker-kafka
- https://kafka.apache.org/
version: 12.7.5
version: 12.7.6
+8 -8
View File
@@ -127,8 +127,8 @@ The following tables lists the configurable parameters of the Kafka chart and th
| `listenerSecurityProtocolMap` | The protocol->listener mapping. Auto-calculated it's set to nil | `nil` |
| `allowPlaintextListener` | Allow to use the PLAINTEXT listener | `true` |
| `interBrokerListenerName` | The listener that the brokers should communicate on | `INTERNAL` |
| `initContainers` | Add extra init containers | `[]` |
| `podManagementPolicy` | Management Policy for Kafka StatefulSet (either Parallel or OrderedReady) | `Parallel` |
| `initContainers` | Add extra init containers | `[]` |
| `podManagementPolicy` | Management Policy for Kafka StatefulSet (either Parallel or OrderedReady) | `Parallel` |
### Kafka provisioning parameters
@@ -501,16 +501,16 @@ extraDeploy: |-
kind: Deployment
metadata:
name: {{ include "kafka.fullname" . }}-connect
labels: {{- include "kafka.labels" . | nindent 6 }}
labels: {{- include "common.labels.standard" . | nindent 6 }}
app.kubernetes.io/component: connector
spec:
replicas: 1
selector:
matchLabels: {{- include "kafka.matchLabels" . | nindent 8 }}
matchLabels: {{- include "common.labels.matchLabels" . | nindent 8 }}
app.kubernetes.io/component: connector
template:
metadata:
labels: {{- include "kafka.labels" . | nindent 10 }}
labels: {{- include "common.labels.standard" . | nindent 10 }}
app.kubernetes.io/component: connector
spec:
containers:
@@ -531,7 +531,7 @@ extraDeploy: |-
kind: ConfigMap
metadata:
name: {{ include "kafka.fullname" . }}-connect
labels: {{- include "kafka.labels" . | nindent 6 }}
labels: {{- include "common.labels.standard" . | nindent 6 }}
app.kubernetes.io/component: connector
data:
connect-standalone.properties: |-
@@ -544,14 +544,14 @@ extraDeploy: |-
kind: Service
metadata:
name: {{ include "kafka.fullname" . }}-connect
labels: {{- include "kafka.labels" . | nindent 6 }}
labels: {{- include "common.labels.standard" . | nindent 6 }}
app.kubernetes.io/component: connector
spec:
ports:
- protocol: TCP
port: 8083
targetPort: connector
selector: {{- include "kafka.matchLabels" . | nindent 6 }}
selector: {{- include "common.labels.matchLabels" . | nindent 6 }}
app.kubernetes.io/component: connector
```
@@ -29,7 +29,7 @@ spec:
{{- include "kafka.imagePullSecrets" . | indent 6 }}
containers:
- name: kafka-exporter
image: {{ include "kafka.metrics.kafka.image" . }}
image: {{ include "kafka.metrics.kafka.image" . }}
imagePullPolicy: {{ .Values.metrics.kafka.image.pullPolicy | quote }}
command:
- /bin/bash
+1 -1
View File
@@ -12,5 +12,5 @@ metadata:
{{- end }}
data:
log4j.properties: |-
{{- include "kafka.tplValue" ( dict "value" .Values.log4j "context" $ ) | nindent 4 }}
{{- include "common.tplvalues.render" ( dict "value" .Values.log4j "context" $ ) | nindent 4 }}
{{- end -}}
+2 -2
View File
@@ -197,7 +197,7 @@ spec:
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
fieldPath: status.hostIP
{{- end }}
{{- end }}
{{- else }}
@@ -473,7 +473,7 @@ spec:
- metadata:
name: logs
{{- if .Values.logPersistence.annotations }}
annotations: {{- include "kafka.tplValue" (dict "value" .Values.logPersistence.annotations "context" $) | nindent 10 }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.logPersistence.annotations "context" $) | nindent 10 }}
{{- end }}
spec:
accessModes: