Skip to content

Commit

Permalink
feat: added customizable annotations
Browse files Browse the repository at this point in the history
Added the option to define costume annotation to the Connaisseur deployment.

fixes #1765

credits to @edison-vflow
  • Loading branch information
phbelitz committed Sep 27, 2024
1 parent 6233669 commit 2badce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/connaisseur/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
{{- include "connaisseur.labels" . | nindent 4 }}
annotations:
checksum/config: {{ include "connaisseur.getConfigChecksum" . }}
{{- if .Values.kubernetes.deployment.annotations -}}
{{ toYaml .Values.kubernetes.deployment.annotations | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.kubernetes.deployment.replicasCount }}
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/connaisseur/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ kubernetes:
tls: {} # set to use custom tls certificates for webhook (key and cert fields)
envs: {} # set to use custom environment variables for connaisseur
podLabels: {} # additional labels to attach to the pods created
annotations: {} # additional annotations to attach to the deployment
# -----------------------------------------------------

# changes to connaisseur service
Expand Down

0 comments on commit 2badce9

Please sign in to comment.