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:
14
14
namespace : {{ .Release.Namespace }}
15
15
{{ include "nfs.labels" . | indent 2 }}
16
16
---
17
- {{- end - }}
17
+ {{- end }}
18
18
19
- {{- if .Values.rbac.create -}}
19
+ {{ if .Values.rbac.create -}}
20
20
kind : ClusterRole
21
21
apiVersion : rbac.authorization.k8s.io/v1
22
22
metadata :
Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ function validate_image() {
35
35
fi
36
36
}
37
37
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
+
38
47
echo " Comparing image version between helm chart and manifests in deploy folder"
39
48
40
49
if [[ -z " $( command -v pip) " ]]; then
You can’t perform that action at this time.
0 commit comments