diff --git a/charts/kminion/templates/deployment.yaml b/charts/kminion/templates/deployment.yaml index 35bcfa7..d652960 100644 --- a/charts/kminion/templates/deployment.yaml +++ b/charts/kminion/templates/deployment.yaml @@ -5,6 +5,10 @@ metadata: namespace: {{ .Release.Namespace | quote }} labels: {{- include "kminion.labels" . | nindent 4}} + {{- with .Values.deployment.annotations}} + annotations: + {{- toYaml . | nindent 4}} + {{- end}} spec: {{- if not .Values.autoscaling.enabled}} replicas: {{.Values.replicaCount}} diff --git a/charts/kminion/values.yaml b/charts/kminion/values.yaml index 279cc3b..9385454 100644 --- a/charts/kminion/values.yaml +++ b/charts/kminion/values.yaml @@ -109,6 +109,8 @@ daemonset: enabled: false deployment: + # Annotations to add to the Deployment resource + annotations: {} volumes: # Mount files from Kubernetes secrets into the container secrets: []