Skip to content

Commit

Permalink
add deploymentAnnotations field in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Suraj Narwade committed Jun 22, 2022
1 parent 148de81 commit 76b56be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/sealed-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: {{ include "sealed-secrets.fullname" . }}
namespace: {{ include "sealed-secrets.namespace" . }}
labels: {{- include "sealed-secrets.labels" . | nindent 4 }}
{{- if .Values.deploymentAnnotations }}
annotations: {{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
spec:
selector:
matchLabels: {{- include "sealed-secrets.matchLabels" . | nindent 6 }}
Expand Down
5 changes: 5 additions & 0 deletions helm/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,3 +363,8 @@ metrics:
## @param metrics.dashboards.namespace Namespace where Grafana dashboard ConfigMap is deployed
##
namespace: ""

## @param deploymentAnnotations [object] Annotations for Sealed Secret deployment
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
deploymentAnnotations: {}

0 comments on commit 76b56be

Please sign in to comment.