diff --git a/deploy/charts/trust-manager/README.md b/deploy/charts/trust-manager/README.md index 69f44b79..1b71984a 100644 --- a/deploy/charts/trust-manager/README.md +++ b/deploy/charts/trust-manager/README.md @@ -366,6 +366,13 @@ Pod labels to add to trust-manager pods. > ``` Pod annotations to add to trust-manager pods. +#### **app.deploymentAnnotations** ~ `object` +> Default value: +> ```yaml +> {} +> ``` + +Deployment annotations to add to the trust-manager deployment. ### Webhook #### **app.webhook.host** ~ `string` diff --git a/deploy/charts/trust-manager/templates/deployment.yaml b/deploy/charts/trust-manager/templates/deployment.yaml index 063295b1..31eef547 100644 --- a/deploy/charts/trust-manager/templates/deployment.yaml +++ b/deploy/charts/trust-manager/templates/deployment.yaml @@ -5,6 +5,10 @@ metadata: namespace: {{ include "trust-manager.namespace" . }} labels: {{- include "trust-manager.labels" . | nindent 4 }} + {{- if .Values.app.deploymentAnnotations }} + annotations: + {{- toYaml .Values.app.deploymentAnnotations | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} selector: diff --git a/deploy/charts/trust-manager/values.yaml b/deploy/charts/trust-manager/values.yaml index 6cc9fcfc..b2458f21 100644 --- a/deploy/charts/trust-manager/values.yaml +++ b/deploy/charts/trust-manager/values.yaml @@ -212,6 +212,9 @@ app: # Pod annotations to add to trust-manager pods. podAnnotations: {} + # Deployment annotations to add to the trust-manager deployment. + deploymentAnnotations: {} + # +docs:section=Webhook webhook: