From cb60287d6ac942dafb2c02b2055b9f3073e9ffff Mon Sep 17 00:00:00 2001 From: clux Date: Sat, 9 Dec 2023 15:35:58 +0000 Subject: [PATCH] try running kubeconform on yaml Signed-off-by: clux --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbb3161..9a08f8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -230,6 +230,10 @@ jobs: run: cargo run --bin crdgen > yaml/crd.yaml - name: Generate deployment.yaml run: helm template charts/doc-controller > yaml/deployment.yaml + - uses: docker://ghcr.io/yannh/kubeconform:latest + with: + entrypoint: '/kubeconform' + args: "-summary -output json yaml/" - name: Ensure generated output is committed run: | if ! git diff --exit-code yaml/; then