@rophy123/helmtest 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +6 -0
- package/lib/helmtest.js +2 -2
- package/package.json +1 -1
package/Makefile
CHANGED
|
@@ -5,3 +5,9 @@ help: ## Show this help.
|
|
|
5
5
|
|
|
6
6
|
test: ## Run unit tests.
|
|
7
7
|
docker run -t --rm -e DEBUG=helmtest -v `pwd`:/workspace rophy/helmtest
|
|
8
|
+
|
|
9
|
+
build: ## Build docker image.
|
|
10
|
+
docker build -t rophy/helmtest .
|
|
11
|
+
|
|
12
|
+
dev: ## Create a dev container shell
|
|
13
|
+
docker run -it --rm -e DEBUG=helmtest -v `pwd`:/workspace rophy/helmtest bash
|
package/lib/helmtest.js
CHANGED
|
@@ -27,11 +27,11 @@ async function renderTemplate(options = {}) {
|
|
|
27
27
|
options.kubeconformBinary = options.kubeconformBinary ||
|
|
28
28
|
process.env.KUBECONFORM_BINARY || 'kubeconform';
|
|
29
29
|
options.kubeconformArgs = options.kubeconformArgs ||
|
|
30
|
-
['-strict', '-
|
|
30
|
+
['-strict', '-summary'];
|
|
31
31
|
|
|
32
32
|
if (process.env.KUBECONFORM_EXTRA_ARGS) {
|
|
33
33
|
const kcExtraArgs = process.env.KUBECONFORM_EXTRA_ARGS.split(' ');
|
|
34
|
-
options.
|
|
34
|
+
options.kubeconformArgs = options.kubeconformArgs.concat(kcExtraArgs);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
debug(`options: ${JSON.stringify(options)}`);
|