Secrets are optional; chart testing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user