mirror of
https://github.com/bitnami/charts.git
synced 2026-03-11 15:37:20 +08:00
[bitnami/kafka] add missed service annotations for external access service (#1965)
* add missed service annotations for external access service of bitnami/kafka chart * Update svc-external-access.yaml Co-authored-by: Carlos Rodríguez Hernández <carrodher1179@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: kafka
|
||||
version: 7.2.6
|
||||
version: 7.2.7
|
||||
appVersion: 2.4.0
|
||||
description: Apache Kafka is a distributed streaming platform.
|
||||
keywords:
|
||||
|
||||
@@ -128,6 +128,7 @@ The following tables lists the configurable parameters of the Kafka chart and th
|
||||
| `externalAccess.service.loadBalancerIP`| Array of load balancer IPs for Kafka brokers. | `[]` |
|
||||
| `externalAccess.service.domain` | Domain or external ip used to configure Kafka external listener when service type is NodePort | `nil` |
|
||||
| `externalAccess.service.nodePort` | Array of node ports used to configure Kafka external listener when service type is NodePort | `[]` |
|
||||
| `externalAccess.service.annotations` | Service annotations for external access | `` |
|
||||
| `serviceAccount.create` | Enable creation of ServiceAccount for kafka pod | `false` |
|
||||
| `serviceAccount.name` | Name of the created serviceAccount | Generated using the `kafka.fullname` template |
|
||||
| `persistence.enabled` | Enable Kafka persistence using PVC, note that Zookeeper perisstency is unaffected | `true` |
|
||||
|
||||
@@ -14,6 +14,7 @@ metadata:
|
||||
labels: {{- include "kafka.labels" $ | nindent 4 }}
|
||||
app.kubernetes.io/component: kafka
|
||||
pod: {{ $targetPod }}
|
||||
annotations: {{ include "kafka.tplValue" ( dict "value" .Values.externalAccess.service.annotations "context" $) | nindent 4 }}
|
||||
spec:
|
||||
type: {{ $root.Values.externalAccess.service.type }}
|
||||
{{- if eq $root.Values.externalAccess.service.type "LoadBalancer" }}
|
||||
@@ -41,4 +42,4 @@ spec:
|
||||
statefulset.kubernetes.io/pod-name: {{ $targetPod }}
|
||||
---
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -284,6 +284,9 @@ externalAccess:
|
||||
##
|
||||
nodePort: []
|
||||
|
||||
## Service annotations done as key:value pairs
|
||||
annotations: {}
|
||||
|
||||
## Service account for Kafka to use.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
||||
##
|
||||
|
||||
@@ -284,6 +284,9 @@ externalAccess:
|
||||
##
|
||||
nodePort: []
|
||||
|
||||
## Service annotations done as key:value pairs
|
||||
annotations: {}
|
||||
|
||||
## Service account for Kafka to use.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user