mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Feature kafka pod annotations (#7597)
* Add support for kafka pod annotations Signed-off-by: sukrit007 <sukrit007@gmail.com> * Bump up kafka chart version Signed-off-by: sukrit007 <sukrit007@gmail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
4403625101
commit
da24996734
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: Apache Kafka is publish-subscribe messaging rethought as a distributed
|
||||
commit log.
|
||||
name: kafka
|
||||
version: 0.9.3
|
||||
version: 0.9.4
|
||||
appVersion: 4.1.2
|
||||
keywords:
|
||||
- kafka
|
||||
|
||||
@@ -78,6 +78,7 @@ following configurable parameters:
|
||||
| `external.type` | Service Type. | `NodePort` |
|
||||
| `external.distinct` | Distinct DNS entries for each created A record. | `false` |
|
||||
| `external.annotations` | Additional annotations for the external service. | `{}` |
|
||||
| `podAnnotations` | Annotation to be added to Kafka pods | `{}` |
|
||||
| `rbac.enabled` | Enable a service account and role for the init container to use in an RBAC enabled cluster | `false` |
|
||||
| `configurationOverrides` | `Kafka ` [configuration setting][brokerconfigs] overrides in the dictionary format | `{ offsets.topic.replication.factor: 3 }` |
|
||||
| `secrets` | `{}` | Pass any secrets to the kafka pods. Each secret will be passed as an environment variable by default. The secret can also be mounted to a specific path (in addition to environment variable) if required. Environment variable names are generated as: `<secretName>_<secretKey>` (All upper case)|
|
||||
|
||||
@@ -16,10 +16,13 @@ spec:
|
||||
replicas: {{ default 3 .Values.replicas }}
|
||||
template:
|
||||
metadata:
|
||||
{{- if and .Values.prometheus.jmx.enabled (not .Values.prometheus.operator.enabled) }}
|
||||
annotations:
|
||||
{{- if and .Values.prometheus.jmx.enabled (not .Values.prometheus.operator.enabled) }}
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/port: {{ .Values.prometheus.jmx.port | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.podAnnotations }}
|
||||
{{ toYaml .Values.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ include "kafka.name" . }}
|
||||
|
||||
@@ -150,6 +150,9 @@ external:
|
||||
imageTag: "0.4"
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
|
||||
# Annotation to be added to Kafka pods
|
||||
podAnnotations: {}
|
||||
|
||||
## Configuration Overrides. Specify any Kafka settings you would like set on the StatefulSet
|
||||
## here in map format, as defined in the official docs.
|
||||
## ref: https://kafka.apache.org/documentation/#brokerconfigs
|
||||
|
||||
Reference in New Issue
Block a user