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 23, 2022
1 parent 148de81 commit 8fdc9a3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/sealed-secrets/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ maintainers:
email: mmikulicic@gmail.com
name: sealed-secrets
type: application
version: 2.2.0
version: 2.3.0
1 change: 1 addition & 0 deletions helm/sealed-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ The command removes all the Kubernetes components associated with the chart and
| `fullnameOverride` | String to fully override sealed-secrets.fullname | `""` |
| `namespace` | Namespace where to deploy the Sealed Secrets controller | `""` |
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
| `commonAnnotations`| common annotations | `[]` |


### Sealed Secrets Parameters
Expand Down
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.commonAnnotations }}
annotations: {{- toYaml .Values.commonAnnotations | nindent 8 }}
{{- end }}
spec:
selector:
matchLabels: {{- include "sealed-secrets.matchLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions helm/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ namespace: ""
## @param extraDeploy [array] Array of extra objects to deploy with the release
##
extraDeploy: []
## @param commonAnnotations [object] common annotations
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
commonAnnotations: {}

## @section Sealed Secrets Parameters

Expand Down

0 comments on commit 8fdc9a3

Please sign in to comment.