Skip to content

Commit

Permalink
Merge pull request #57 from mesosphere/fix_quote
Browse files Browse the repository at this point in the history
change all .storageclass.isDefault
  • Loading branch information
s12chung authored Jul 19, 2019
2 parents 88565ea + e60a812 commit d62d5da
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion stable/awsebscsiprovisioner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: awsebscsiprovisioner
maintainers:
- name: alejandroEsc
- name: gpaul
version: 0.2.3
version: 0.2.4
kubeVersion: ">=1.13.0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
Expand Down
4 changes: 3 additions & 1 deletion stable/awsebscsiprovisioner/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ metadata:
name: awsebscsiprovisioner
annotations:
kubernetes.io/description: AWS EBS CSI provisioner StorageClass
storageclass.kubernetes.io/is-default-class: {{ .Values.storageclass.isDefault | default "true" | quote }}
{{- if .Values.storageclass.isDefault }}
storageclass.kubernetes.io/is-default-class: "true"
{{- end }}
provisioner: ebs.csi.aws.com
volumeBindingMode: {{ .Values.storageclass.volumeBindingMode | quote }}
reclaimPolicy: {{ .Values.storageclass.reclaimPolicy | quote }}
2 changes: 1 addition & 1 deletion stable/awsebsprovisioner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: awsebsprovisioner
home: https://kubernetes.io/docs/concepts/storage/storage-classes/
version: 0.1.1
version: 0.1.2
appVersion: "1.0"
description: AWS EBS storage provisioner for konvoy
maintainers:
Expand Down
4 changes: 3 additions & 1 deletion stable/awsebsprovisioner/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ metadata:
name: awsebsprovisioner
annotations:
kubernetes.io/description: AWS EBS Storage class
storageclass.kubernetes.io/is-default-class: {{ .Values.storageclass.isDefault | default "true" | quote }}
{{- if .Values.storageclass.isDefault }}
storageclass.kubernetes.io/is-default-class: "true"
{{- end }}
provisioner: kubernetes.io/aws-ebs
volumeBindingMode: {{ .Values.storageclass.volumeBindingMode | quote }}
reclaimPolicy: {{ .Values.storageclass.reclaimPolicy | quote }}
Expand Down
2 changes: 1 addition & 1 deletion stable/localpathprovisioner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: localpathprovisioner
home: https://github.com/rancher/local-path-provisioner
version: 0.1.1
version: 0.1.2
appVersion: "v0.0.9"
description: Local path storage provisioner for konvoy
maintainers:
Expand Down
4 changes: 3 additions & 1 deletion stable/localpathprovisioner/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ kind: StorageClass
metadata:
name: localpathprovisioner
annotations:
storageclass.kubernetes.io/is-default-class: {{ .Values.storageclass.isDefault | default "true" | quote }}
{{- if .Values.storageclass.isDefault }}
storageclass.kubernetes.io/is-default-class: "true"
{{- end }}
kubernetes.io/description: Local path provisioner storage class
provisioner: rancher.io/local-path
volumeBindingMode: {{ .Values.storageclass.volumeBindingMode | quote }}
Expand Down
5 changes: 4 additions & 1 deletion stable/localvolumeprovisioner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
apiVersion: v1
name: localvolumeprovisioner
home: https://github.com/mesosphere/charts
appVersion: "1.0"
description: Local persistent volume provisioner for konvoy
version: 0.2.0
version: 0.2.1
maintainers:
- name: s12chung
4 changes: 3 additions & 1 deletion stable/localvolumeprovisioner/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ kind: StorageClass
metadata:
name: localvolumeprovisioner
annotations:
storageclass.kubernetes.io/is-default-class: {{ .Values.storageclass.isDefault | default "true" | quote }}
{{- if .Values.storageclass.isDefault }}
storageclass.kubernetes.io/is-default-class: "true"
{{- end }}
kubernetes.io/description: Local volume provisioner StorageClass
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: {{ .Values.storageclass.volumeBindingMode | quote }}
Expand Down

0 comments on commit d62d5da

Please sign in to comment.