Skip to content

Commit 2badce9

Browse files
committed
feat: added customizable annotations
Added the option to define costume annotation to the Connaisseur deployment. fixes #1765 credits to @edison-vflow
1 parent 6233669 commit 2badce9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/connaisseur/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
{{- include "connaisseur.labels" . | nindent 4 }}
88
annotations:
99
checksum/config: {{ include "connaisseur.getConfigChecksum" . }}
10+
{{- if .Values.kubernetes.deployment.annotations -}}
11+
{{ toYaml .Values.kubernetes.deployment.annotations | nindent 4 }}
12+
{{- end }}
1013
spec:
1114
replicas: {{ .Values.kubernetes.deployment.replicasCount }}
1215
selector:

charts/connaisseur/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ kubernetes:
4747
tls: {} # set to use custom tls certificates for webhook (key and cert fields)
4848
envs: {} # set to use custom environment variables for connaisseur
4949
podLabels: {} # additional labels to attach to the pods created
50+
annotations: {} # additional annotations to attach to the deployment
5051
# -----------------------------------------------------
5152

5253
# changes to connaisseur service

0 commit comments

Comments
 (0)