File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ metadata:
1414 namespace : {{ .Release.Namespace }}
1515{{ include "nfs.labels" . | indent 2 }}
1616---
17- {{- end - }}
17+ {{- end }}
1818
19- {{- if .Values.rbac.create -}}
19+ {{ if .Values.rbac.create -}}
2020kind : ClusterRole
2121apiVersion : rbac.authorization.k8s.io/v1
2222metadata :
Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ function validate_image() {
3535 fi
3636}
3737
38+ echo " Running helm lint"
39+
40+ if [[ -z " $( command -v helm) " ]]; then
41+ echo " Cannot find helm. Installing helm..."
42+ curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
43+ fi
44+
45+ helm lint ${PKG_ROOT} /charts/latest/csi-driver-nfs
46+
3847echo " Comparing image version between helm chart and manifests in deploy folder"
3948
4049if [[ -z " $( command -v pip) " ]]; then
You can’t perform that action at this time.
0 commit comments