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

Commit

Permalink
[stable/efs-provisioner] Add podLabels support (#22439)
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volykh <rvolykh@gmail.com>
  • Loading branch information
rvolykh committed May 19, 2020
1 parent 50a8a2f commit eb847e1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/efs-provisioner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: efs-provisioner
description: A Helm chart for the AWS EFS external storage provisioner
version: 0.11.0
version: 0.11.1
appVersion: v2.4.0
home: https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs
sources:
Expand Down
5 changes: 5 additions & 0 deletions stable/efs-provisioner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ rbac:
podAnnotations: {}
# iam.amazonaws.com/role: efs-provisioner-role
## Labels to be added to deployment
##
podLabels: {}
# environment: production
## Node labels for pod assignment
##
nodeSelector: {}
Expand Down
3 changes: 3 additions & 0 deletions stable/efs-provisioner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ spec:
labels:
app: {{ template "efs-provisioner.name" . }}
release: "{{ .Release.Name }}"
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
serviceAccount: {{ template "efs-provisioner.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
Expand Down
5 changes: 5 additions & 0 deletions stable/efs-provisioner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ serviceAccount:
podAnnotations: {}
# iam.amazonaws.com/role: efs-provisioner-role

## Labels to be added to deployment
##
podLabels: {}
# environment: production

## Node labels for pod assignment
##
nodeSelector: {}
Expand Down

0 comments on commit eb847e1

Please sign in to comment.