mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/kafka] Added external.labels to external services similar to external.annotations (#21390)
Signed-off-by: Alvaro Gonzalez <kortatu@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
description: Apache Kafka is publish-subscribe messaging rethought as a distributed
|
||||
commit log.
|
||||
name: kafka
|
||||
version: 0.21.1
|
||||
version: 0.21.2
|
||||
appVersion: 5.0.1
|
||||
keywords:
|
||||
- kafka
|
||||
|
||||
@@ -82,6 +82,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. | `{}` |
|
||||
| `external.labels` | Additional labels for the external service. | `{}` |
|
||||
| `external.loadBalancerIP` | Add Static IP to the type Load Balancer. Depends on the provider if enabled | `[]`
|
||||
| `external.loadBalancerSourceRanges` | Add IP ranges that are allowed to access the Load Balancer. | `[]`
|
||||
| `podAnnotations` | Annotation to be added to Kafka pods | `{}` |
|
||||
|
||||
@@ -38,6 +38,9 @@ metadata:
|
||||
labels:
|
||||
{{- include "kafka.broker.labels" $root | nindent 4 }}
|
||||
pod: {{ $responsiblePod | quote }}
|
||||
{{- if $root.Values.external.labels }}
|
||||
{{ toYaml $root.Values.external.labels | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ $root.Values.external.type }}
|
||||
ports:
|
||||
|
||||
@@ -142,6 +142,9 @@ external:
|
||||
type: NodePort
|
||||
# annotations:
|
||||
# service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
|
||||
# Labels to be added to external services
|
||||
# labels:
|
||||
# aLabel: "value"
|
||||
dns:
|
||||
useInternal: false
|
||||
useExternal: true
|
||||
|
||||
Reference in New Issue
Block a user