Secrets are optional; chart testing

This commit is contained in:
Laszlo Fogas
2020-10-08 20:08:55 +02:00
parent a865d6408c
commit 718573cffa
5 changed files with 41 additions and 1 deletions
+14 -1
View File
@@ -1,5 +1,18 @@
all: package
all: lint package
lint:
helm lint onechart/
kubeval:
rm -rf manifests && true
mkdir manifests
helm template onechart --output-dir manifests
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.13.0
find manifests/ -name '*.yaml' | xargs kubeval --ignore-missing-schemas -v 1.18.0
test:
helm unittest onechart
package:
helm package onechart