mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cerebro] Add support for adding labels and annotations to pod (#21707)
Signed-off-by: Keith Shook <kshook@onecause.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: cerebro
|
||||
version: 1.6.0
|
||||
version: 1.7.0
|
||||
appVersion: 0.8.5
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Cerebro - a web admin tool that replaces Kopf.
|
||||
|
||||
@@ -49,7 +49,9 @@ 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.podAnnotations` | Additional pod annotations | `{}` |
|
||||
| `deployment.labels` | Additional labels for deployment | `{}` |
|
||||
| `deployment.podLabels` | Additional pod labels | `{}` |
|
||||
| `deployment.livenessProbe.enabled` | Enable livenessProbe | `true` |
|
||||
| `deployment.readinessProbe.enabled` | Enable readinessProbe | `true` |
|
||||
| `service.type` | Type of Service | `ClusterIP` |
|
||||
|
||||
@@ -26,8 +26,14 @@ spec:
|
||||
labels:
|
||||
app: {{ template "cerebro.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
{{- if .Values.deployment.podLabels }}
|
||||
{{- toYaml .Values.deployment.podLabels | nindent 8 }}
|
||||
{{- end }}
|
||||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||
{{- if .Values.deployment.podAnnotations }}
|
||||
{{- toYaml .Values.deployment.podAnnotations | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.securityContext }}
|
||||
securityContext:
|
||||
|
||||
@@ -12,9 +12,11 @@ image:
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
deployment:
|
||||
# additionals labels
|
||||
# additional labels
|
||||
labels: {}
|
||||
annotations: {}
|
||||
podLabels: {}
|
||||
podAnnotations: {}
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
readinessProbe:
|
||||
|
||||
Reference in New Issue
Block a user