mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/efs-provisioner] Allow passing in annotations via values (#10829)
This commit enables passing in annotations via values for the `efs-provisioner` chart and bumps the version to 0.1.3 Signed-off-by: Josh Myers <joshuajmyers@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f4ba864ccd
commit
d5ef3707c4
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: efs-provisioner
|
||||
description: A Helm chart for the AWS EFS external storage provisioner
|
||||
version: 0.1.2
|
||||
version: 0.1.3
|
||||
appVersion: v0.1.2
|
||||
home: https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs
|
||||
sources:
|
||||
|
||||
@@ -68,6 +68,10 @@ busyboxImage:
|
||||
tag: 1.27
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
## Deployment annotations
|
||||
##
|
||||
annotations: {}
|
||||
|
||||
## Configure provisioner
|
||||
## https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs#deployment
|
||||
##
|
||||
|
||||
@@ -9,6 +9,8 @@ metadata:
|
||||
chart: {{ template "efs-provisioner.chartname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{ toYaml .Values.annotations | indent 4 }}
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["persistentvolumes"]
|
||||
|
||||
@@ -9,6 +9,8 @@ metadata:
|
||||
chart: {{ template "efs-provisioner.chartname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{ toYaml .Values.annotations | indent 4 }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "efs-provisioner.serviceAccountName" . }}
|
||||
|
||||
@@ -19,6 +19,8 @@ metadata:
|
||||
chart: {{ template "efs-provisioner.chartname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{ toYaml .Values.annotations | indent 4 }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
@@ -33,6 +35,8 @@ spec:
|
||||
labels:
|
||||
app: {{ template "efs-provisioner.name" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
annotations:
|
||||
{{ toYaml .Values.annotations | indent 8 }}
|
||||
spec:
|
||||
serviceAccount: {{ template "efs-provisioner.serviceAccountName" . }}
|
||||
{{- if .Values.priorityClassName }}
|
||||
|
||||
@@ -9,4 +9,6 @@ metadata:
|
||||
chart: {{ template "efs-provisioner.chartname" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
annotations:
|
||||
{{ toYaml .Values.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -11,6 +11,7 @@ metadata:
|
||||
{{- if .Values.efsProvisioner.storageClass.isDefault }}
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "true"
|
||||
{{ toYaml .Values.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
provisioner: {{ .Values.efsProvisioner.provisionerName }}
|
||||
parameters:
|
||||
|
||||
Reference in New Issue
Block a user