@@ -250,9 +250,9 @@ $(BIN)/helm: Makefile go.mod
250250 @mkdir -p $(@D )
251251 GOBIN=$(abspath $(@D ) ) $(GO ) install helm.sh/helm/v3/cmd/helm@v3.8.0
252252
253- $(BIN ) /kubeval : Makefile go.mod
253+ $(BIN ) /kubeconform : Makefile go.mod
254254 @mkdir -p $(@D )
255- GOBIN=$(abspath $(@D ) ) $(GO ) install github.com/instrumenta/kubeval @v0.16.1
255+ GOBIN=$(abspath $(@D ) ) $(GO ) install github.com/yannh/kubeconform/cmd/kubeconform @v0.5.0
256256
257257$(BIN ) /mage : Makefile go.mod
258258 @mkdir -p $(@D )
@@ -301,16 +301,16 @@ trunk/fmt: $(BIN)/trunk
301301 $(BIN ) /trunk fmt
302302
303303.PHONY : helm/check
304- helm/check : $(BIN ) /kubeval $(BIN ) /helm
304+ helm/check : $(BIN ) /kubeconform $(BIN ) /helm
305305 $(BIN ) /helm repo add --force-update minio https://charts.min.io/
306306 $(BIN ) /helm dependency build ./operations/phlare/helm/phlare/
307307 mkdir -p ./operations/phlare/helm/phlare/rendered/
308308 $(BIN ) /helm template phlare-dev ./operations/phlare/helm/phlare/ \
309309 | tee ./operations/phlare/helm/phlare/rendered/single-binary.yaml \
310- | $(BIN ) /kubeval --strict
310+ | $(BIN ) /kubeconform --summary -- strict --kubernetes-version 1.21.0
311311 $(BIN ) /helm template phlare-dev ./operations/phlare/helm/phlare/ --values operations/phlare/helm/phlare/values-micro-services.yaml \
312312 | tee ./operations/phlare/helm/phlare/rendered/micro-services.yaml \
313- | $(BIN ) /kubeval --strict
313+ | $(BIN ) /kubeconform --summary -- strict --kubernetes-version 1.21.0
314314 cat operations/phlare/helm/phlare/values-micro-services.yaml \
315315 | go run ./tools/yaml-to-json \
316316 > ./operations/phlare/jsonnet/values-micro-services.json
0 commit comments