Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/sealed-secrets] Add podLabels support (#21083)
Browse files Browse the repository at this point in the history
Signed-off-by: Joffrey Janiec <jjaniec@student.42.fr>
  • Loading branch information
jjaniec authored Mar 2, 2020
1 parent fa633f6 commit 6e2d30f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/sealed-secrets/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sealed-secrets
description: A Helm chart for Sealed Secrets
version: 1.7.6
version: 1.7.7
appVersion: 0.9.7
kubeVersion: ">=1.9.0-0"
home: https://github.com/bitnami-labs/sealed-secrets
Expand Down
1 change: 1 addition & 0 deletions stable/sealed-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Read about kubeseal usage on [sealed-secrets docs](https://github.com/bitnami-la
| **ingress.hosts** | Ingress accepted hostnames | `["chart-example.local"]` |
| **ingress.tls** | Ingress TLS configuration | `[]` |
| **podAnnotations** | Annotations to annotate pods with. | `{}` |
| **podLabels** | Labels to be added to pods | `{}` |
| **priorityClassName** | Optional class to specify priority for pods | `""` |


Expand Down
3 changes: 3 additions & 0 deletions stable/sealed-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ spec:
labels:
app.kubernetes.io/name: {{ template "sealed-secrets.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
serviceAccountName: {{ template "sealed-secrets.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
Expand Down
2 changes: 2 additions & 0 deletions stable/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ securityContext:

podAnnotations: {}

podLabels: {}

priorityClassName: ""

0 comments on commit 6e2d30f

Please sign in to comment.