Skip to content

Commit

Permalink
feat: added customizable annotations (#1773)
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 authored Sep 27, 2024
1 parent 6233669 commit 7af7897
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/connaisseur/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: connaisseur
description: Helm chart for Connaisseur - a Kubernetes admission controller to integrate container image signature verification and trust pinning into a cluster.
type: application
version: 2.6.1
appVersion: 3.6.1
version: 2.7.0
appVersion: 3.7.0
keywords:
- container image
- signature
Expand Down
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 7af7897

Please sign in to comment.