Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added customizable annotations #1773

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading