From d96861a658fa0fe2027b47fa52ca58460268c165 Mon Sep 17 00:00:00 2001 From: Steven Chung Date: Fri, 19 Jul 2019 18:15:21 -0400 Subject: [PATCH 1/2] change all .storageclass.isDefault because it only works when the boolean is quoted --- stable/awsebscsiprovisioner/Chart.yaml | 2 +- stable/awsebscsiprovisioner/templates/storageclass.yaml | 4 +++- stable/awsebsprovisioner/Chart.yaml | 2 +- stable/awsebsprovisioner/templates/storageclass.yaml | 4 +++- stable/localpathprovisioner/Chart.yaml | 2 +- stable/localpathprovisioner/templates/storageclass.yaml | 4 +++- stable/localvolumeprovisioner/Chart.yaml | 2 +- stable/localvolumeprovisioner/templates/storageclass.yaml | 4 +++- 8 files changed, 16 insertions(+), 8 deletions(-) diff --git a/stable/awsebscsiprovisioner/Chart.yaml b/stable/awsebscsiprovisioner/Chart.yaml index 4a4f194bb..6f8d11f4b 100644 --- a/stable/awsebscsiprovisioner/Chart.yaml +++ b/stable/awsebscsiprovisioner/Chart.yaml @@ -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: diff --git a/stable/awsebscsiprovisioner/templates/storageclass.yaml b/stable/awsebscsiprovisioner/templates/storageclass.yaml index 3bba35aab..03b0b3e1d 100644 --- a/stable/awsebscsiprovisioner/templates/storageclass.yaml +++ b/stable/awsebscsiprovisioner/templates/storageclass.yaml @@ -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 }} diff --git a/stable/awsebsprovisioner/Chart.yaml b/stable/awsebsprovisioner/Chart.yaml index 3fd452c05..4a4b7b399 100644 --- a/stable/awsebsprovisioner/Chart.yaml +++ b/stable/awsebsprovisioner/Chart.yaml @@ -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: diff --git a/stable/awsebsprovisioner/templates/storageclass.yaml b/stable/awsebsprovisioner/templates/storageclass.yaml index e352ccb45..c7c260623 100644 --- a/stable/awsebsprovisioner/templates/storageclass.yaml +++ b/stable/awsebsprovisioner/templates/storageclass.yaml @@ -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 }} diff --git a/stable/localpathprovisioner/Chart.yaml b/stable/localpathprovisioner/Chart.yaml index aab3b57a6..2d035c636 100644 --- a/stable/localpathprovisioner/Chart.yaml +++ b/stable/localpathprovisioner/Chart.yaml @@ -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: diff --git a/stable/localpathprovisioner/templates/storageclass.yaml b/stable/localpathprovisioner/templates/storageclass.yaml index 0c67a91a1..91f99d718 100644 --- a/stable/localpathprovisioner/templates/storageclass.yaml +++ b/stable/localpathprovisioner/templates/storageclass.yaml @@ -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 }} diff --git a/stable/localvolumeprovisioner/Chart.yaml b/stable/localvolumeprovisioner/Chart.yaml index d881e948c..aa4140234 100644 --- a/stable/localvolumeprovisioner/Chart.yaml +++ b/stable/localvolumeprovisioner/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 name: localvolumeprovisioner appVersion: "1.0" description: Local persistent volume provisioner for konvoy -version: 0.2.0 +version: 0.2.1 diff --git a/stable/localvolumeprovisioner/templates/storageclass.yaml b/stable/localvolumeprovisioner/templates/storageclass.yaml index d98030d1e..82c6b6d0e 100644 --- a/stable/localvolumeprovisioner/templates/storageclass.yaml +++ b/stable/localvolumeprovisioner/templates/storageclass.yaml @@ -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 }} From e60a8123d6d4a8bf4d0aeebaf587eca88cb4a287 Mon Sep 17 00:00:00 2001 From: Steven Chung Date: Fri, 19 Jul 2019 18:21:53 -0400 Subject: [PATCH 2/2] add home to localvolumeprovisioner and maintainers --- stable/localvolumeprovisioner/Chart.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stable/localvolumeprovisioner/Chart.yaml b/stable/localvolumeprovisioner/Chart.yaml index aa4140234..25fe1c9fe 100644 --- a/stable/localvolumeprovisioner/Chart.yaml +++ b/stable/localvolumeprovisioner/Chart.yaml @@ -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.1 +maintainers: + - name: s12chung