mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kafka-manager] allow custom service annotations (#12899)
* feat(service): allow custom service annotations Signed-off-by: Julien Crestin <julien.c@ep.fr> * doc(service): add service annotations documentation Signed-off-by: Julien Crestin <julien.c@ep.fr> * chore(version): bump version to 1.1.3 Signed-off-by: Julien Crestin <julien.c@ep.fr>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f29a90bcc5
commit
e254d53e6f
@@ -1,5 +1,5 @@
|
||||
name: kafka-manager
|
||||
version: 1.1.2
|
||||
version: 1.1.3
|
||||
appVersion: 1.3.3.22
|
||||
kubeVersion: "^1.8.0-0"
|
||||
description: A tool for managing Apache Kafka.
|
||||
|
||||
@@ -54,6 +54,7 @@ Parameter | Description | Default
|
||||
`javaOptions` | Java runtime options | `""`
|
||||
`service.type` | Kafka-manager service type | `ClusterIP`
|
||||
`service.port` | Kafka-manager service port | `9000`
|
||||
`service.annotations` | Optional service annotations | `{}`
|
||||
`ingress.enabled` | If true, create an ingress resource | `false`
|
||||
`ingress.annotations` | Optional ingress annotations | `{}`
|
||||
`ingress.path` | Ingress path | `/`
|
||||
|
||||
@@ -8,6 +8,10 @@ metadata:
|
||||
app.kubernetes.io/name: {{ include "kafka-manager.name" . }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | replace "+" "_" | trunc 63 }}
|
||||
helm.sh/chart: {{ include "kafka-manager.chart" . }}
|
||||
{{- with .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
|
||||
@@ -97,6 +97,7 @@ javaOptions: ""
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 9000
|
||||
annotations: {}
|
||||
|
||||
## Ingress configuration
|
||||
## Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
|
||||
Reference in New Issue
Block a user