Merge pull request #393 from oreissig/oreissig.fix-helm-lint
fix: helm lint
This commit is contained in:
commit
19486db87b
Binary file not shown.
@ -14,9 +14,9 @@ metadata:
|
|||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
{{ include "nfs.labels" . | indent 2 }}
|
{{ include "nfs.labels" . | indent 2 }}
|
||||||
---
|
---
|
||||||
{{- end -}}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.rbac.create -}}
|
{{ if .Values.rbac.create -}}
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@ -35,6 +35,15 @@ function validate_image() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "Running helm lint"
|
||||||
|
|
||||||
|
if [[ -z "$(command -v helm)" ]]; then
|
||||||
|
echo "Cannot find helm. Installing helm..."
|
||||||
|
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
|
||||||
|
fi
|
||||||
|
|
||||||
|
helm lint ${PKG_ROOT}/charts/latest/csi-driver-nfs
|
||||||
|
|
||||||
echo "Comparing image version between helm chart and manifests in deploy folder"
|
echo "Comparing image version between helm chart and manifests in deploy folder"
|
||||||
|
|
||||||
if [[ -z "$(command -v pip)" ]]; then
|
if [[ -z "$(command -v pip)" ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user