mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
cerebro: add support for extra deployment labels (#21053)
Signed-off-by: fabriziofortino <fabrizio.fortino@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: cerebro
|
||||
version: 1.3.1
|
||||
version: 1.4.0
|
||||
appVersion: 0.8.5
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Cerebro - a web admin tool that replaces Kopf.
|
||||
|
||||
@@ -49,6 +49,7 @@ The following table lists the configurable parameters of the cerebro chart and t
|
||||
| `init.image.tag` | The image tag to pull | `musl` |
|
||||
| `init.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `deployment.annotations` | Annotations for deployment | `{}` |
|
||||
| `deployment.labels` | Additional labels for deployment | `{}` |
|
||||
| `service.type` | Type of Service | `ClusterIP` |
|
||||
| `service.port` | Port for kubernetes service | `80` |
|
||||
| `service.annotations` | Annotations to add to the service | `{}` |
|
||||
|
||||
@@ -7,6 +7,9 @@ metadata:
|
||||
chart: {{ template "cerebro.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
{{- range $key, $value := .Values.deployment.labels }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.deployment.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.deployment.annotations | indent 4 }}
|
||||
|
||||
@@ -12,6 +12,8 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
deployment:
|
||||
# additionals labels
|
||||
labels: {}
|
||||
annotations: {}
|
||||
|
||||
service:
|
||||
|
||||
Reference in New Issue
Block a user