Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#730 from haines/allow-all-fields-o…
Browse files Browse the repository at this point in the history
…n-storage-classes

Allow all fields to be set on StorageClasses
  • Loading branch information
k8s-ci-robot authored Feb 8, 2021
2 parents 049e1a1 + 580c0eb commit 4790c45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.9.0"
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 0.9.3
version: 0.9.4
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
Expand Down
9 changes: 1 addition & 8 deletions charts/aws-ebs-csi-driver/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,5 @@ apiVersion: storage.k8s.io/v1
metadata:
name: {{ .name }}
provisioner: ebs.csi.aws.com
volumeBindingMode: {{ default "WaitForFirstConsumer" .volumeBindingMode }}
{{- if hasKey . "reclaimPolicy" }}
reclaimPolicy: {{ .reclaimPolicy }}
{{- end }}
{{- with .parameters }}
parameters:
{{ toYaml . | indent 2 }}
{{- end }}
{{ omit (dict "volumeBindingMode" "WaitForFirstConsumer" | merge .) "name" | toYaml }}
{{- end }}

0 comments on commit 4790c45

Please sign in to comment.