File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -178,3 +178,11 @@ verify-helm-lint: $(helm_chart_archive) | $(NEEDS_HELM)
178
178
$(HELM ) lint $(helm_chart_archive )
179
179
180
180
shared_verify_targets_dirty += verify-helm-lint
181
+
182
+ .PHONY : verify-helm-kubeconform
183
+ # # Verify that the Helm chart passes a strict check using kubeconform
184
+ # # @category [shared] Generate/ Verify
185
+ verify-helm-kubeconform : $(helm_chart_archive ) | $(NEEDS_KUBECONFORM )
186
+ $(HELM ) template kubeconform-template-do-not-use $< | $(KUBECONFORM ) -strict
187
+
188
+ shared_verify_targets_dirty += verify-helm-kubeconform
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ tools += preflight=1.12.1
138
138
tools += gci=v0.13.6
139
139
# https://github.com/google/yamlfmt/releases
140
140
tools += yamlfmt=v0.16.0
141
+ # https://github.com/yannh/kubeconform/releases
142
+ tools += kubeconform=v0.6.7
141
143
142
144
# https://pkg.go.dev/k8s.io/code-generator/cmd?tab=versions
143
145
K8S_CODEGEN_VERSION := v0.32.3
@@ -345,6 +347,7 @@ go_dependencies += operator-sdk=github.com/operator-framework/operator-sdk/cmd/o
345
347
go_dependencies += gh=github.com/cli/cli/v2/cmd/gh
346
348
go_dependencies += gci=github.com/daixiang0/gci
347
349
go_dependencies += yamlfmt=github.com/google/yamlfmt/cmd/yamlfmt
350
+ go_dependencies += kubeconform=github.com/yannh/kubeconform/cmd/kubeconform
348
351
349
352
# ################
350
353
# go build tags #
You can’t perform that action at this time.
0 commit comments