Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable the --strict option in kubeval #214

Merged
merged 2 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions akka/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,50 +15,50 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: lint-local-akka-http
lint-local-akka-http:
@echo "=> Linting examples/local-akka-http.yaml"
helm lint --strict -f examples/local-akka-http.yaml
@echo "=> Validating examples/local-akka-http.yaml"
helm template -f examples/local-akka-http.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/local-akka-http.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-cluster-discovery-dns
lint-cluster-discovery-dns:
@echo "=> Linting examples/cluster-discovery-dns.yaml"
helm lint --strict -f examples/cluster-discovery-dns.yaml
@echo "=> Validating examples/cluster-discovery-dns.yaml"
helm template -f examples/cluster-discovery-dns.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/cluster-discovery-dns.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-cluster-discovery-kubernetes-api
lint-cluster-discovery-kubernetes-api:
@echo "=> Linting examples/cluster-discovery-kubernetes-api.yaml"
helm lint --strict -f examples/cluster-discovery-kubernetes-api.yaml
@echo "=> Validating examples/cluster-discovery-kubernetes-api.yaml"
helm template -f examples/cluster-discovery-kubernetes-api.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/cluster-discovery-kubernetes-api.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-cluster-discovery-aggregate
lint-cluster-discovery-aggregate:
@echo "=> Linting examples/cluster-discovery-aggregate.yaml"
helm lint --strict -f examples/cluster-discovery-aggregate.yaml
@echo "=> Validating examples/cluster-discovery-aggregate.yaml"
helm template -f examples/cluster-discovery-aggregate.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/cluster-discovery-aggregate.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-cluster-multi-eks-cluster
lint-cluster-multi-eks-cluster:
@echo "=> Linting examples/cluster-multi-eks-cluster.yaml"
helm lint --strict -f examples/cluster-multi-eks-cluster.yaml
@echo "=> Validating examples/cluster-multi-eks-cluster.yaml"
helm template -f examples/cluster-multi-eks-cluster.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/cluster-multi-eks-cluster.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-use-environment-variable-and-secret
lint-use-environment-variable-and-secret:
@echo "=> Linting examples/use-environment-variable-and-secret.yaml"
helm lint --strict -f examples/use-environment-variable-and-secret.yaml
@echo "=> Validating examples/use-environment-variable-and-secret.yaml"
helm template -f examples/use-environment-variable-and-secret.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/use-environment-variable-and-secret.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: test
test: test-local-akka-http test-cluster-discovery-dns test-cluster-discovery-kubernetes-api test-use-environment-variable-and-secret test-default
Expand Down
3 changes: 3 additions & 0 deletions argoproj-crd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo ""
@echo "=> Validating default value.yaml"
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
test:
Expand Down
2 changes: 1 addition & 1 deletion aws-alb-ingress-controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion aws-ebs-csi-driver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion aws-secret-operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion burrow/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion contour/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion dynamodb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion elasticmq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion fluent-bit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
8 changes: 4 additions & 4 deletions fluentd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: lint-daemonset
lint-daemonset:
@echo "=> Linting examples/daemonset.yaml"
helm lint --strict -f examples/daemonset.yaml
@echo "=> Validating examples/daemonset.yaml"
helm template -f examples/daemonset.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/daemonset.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-statefulset
lint-statefulset:
@echo "=> Linting examples/statefulset.yaml"
helm lint --strict -f examples/statefulset.yaml
@echo "=> Validating examples/statefulset.yaml"
helm template -f examples/statefulset.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/statefulset.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: lint-use-udp
lint-use-udp:
@echo "=> Linting examples/use-udp.yaml"
helm lint --strict -f examples/use-udp.yaml
@echo "=> Validating examples/use-udp.yaml"
helm template -f examples/use-udp.yaml . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template -f examples/use-udp.yaml . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error

.PHONY: test
test: test-daemonset test-statefulset test-use-udp test-default
Expand Down
2 changes: 1 addition & 1 deletion gcp-credentials/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion kube-schedule-scaler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion mailcatcher/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion newrelic-php-agent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
2 changes: 1 addition & 1 deletion php/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lint-default:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
8 changes: 4 additions & 4 deletions postfix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@ lint-daemonset:
@echo "=> Linting default values.yaml"
helm lint --strict
@echo "=> Validating default value.yaml"
helm template . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: lint-daemonset-mailcatcher
lint-daemonset-mailcatcher:
@echo "=> Linting default values.yaml"
helm lint $(mailcatcher) --strict
@echo "=> Validating default value.yaml"
helm template $(mailcatcher) . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template $(mailcatcher) . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: lint-deployment
lint-deployment:
@echo "=> Linting default values.yaml"
helm lint --set deployment.enabled=true --set daemonset.enabled=false --set deployment.podDisruptionBudget.enabled=true --set deployment.service.type=ClusterIP --strict
@echo "=> Validating default value.yaml"
helm template --set deployment.enabled=true --set daemonset.enabled=false --set deployment.podDisruptionBudget.enabled=true --set deployment.service.type=ClusterIP . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template --set deployment.enabled=true --set daemonset.enabled=false --set deployment.podDisruptionBudget.enabled=true --set deployment.service.type=ClusterIP . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: lint-deployment-mailcatcher
lint-deployment-mailcatcher:
@echo "=> Linting default values.yaml"
helm lint --set deployment.enabled=true --set daemonset.enabled=false $(mailcatcher) --set deployment.podDisruptionBudget.enabled=true --set deployment.service.type=ClusterIP --strict
@echo "=> Validating default value.yaml"
helm template --set deployment.enabled=true --set daemonset.enabled=false $(mailcatcher) --set deployment.podDisruptionBudget.enabled=true --set deployment.service.type=ClusterIP . | kubeval --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
helm template --set deployment.enabled=true --set daemonset.enabled=false $(mailcatcher) --set deployment.podDisruptionBudget.enabled=true --set deployment.service.type=ClusterIP . | kubeval --strict --ignore-missing-schemas --additional-schema-locations https://raw.githubusercontent.com/cw-ozaki/kubernetes-json-schema/master/ --kubernetes-version $(KUBERNETES_VERSION) --exit-on-error
@echo ""

.PHONY: test
Expand Down
Loading