diff --git a/stable/cerebro/Chart.yaml b/stable/cerebro/Chart.yaml index f14c0f9c33..441a545646 100644 --- a/stable/cerebro/Chart.yaml +++ b/stable/cerebro/Chart.yaml @@ -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. diff --git a/stable/cerebro/README.md b/stable/cerebro/README.md index 72ee027dbe..b85dd458c7 100644 --- a/stable/cerebro/README.md +++ b/stable/cerebro/README.md @@ -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 | `{}` | diff --git a/stable/cerebro/templates/deployment.yaml b/stable/cerebro/templates/deployment.yaml index ac0f34e62b..2ad5c02acf 100644 --- a/stable/cerebro/templates/deployment.yaml +++ b/stable/cerebro/templates/deployment.yaml @@ -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 }} diff --git a/stable/cerebro/values.yaml b/stable/cerebro/values.yaml index 50353e8b83..c34aac4ec5 100644 --- a/stable/cerebro/values.yaml +++ b/stable/cerebro/values.yaml @@ -12,6 +12,8 @@ image: pullPolicy: IfNotPresent deployment: + # additionals labels + labels: {} annotations: {} service: