Skip to content

Commit 8eacb1e

Browse files
committed
fix validation step for ci
1 parent 2128799 commit 8eacb1e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release-helm.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,17 @@ jobs:
3434
run: |
3535
helm lint ./hosting/k8s/helm/
3636
37-
- name: Template and Validate
37+
- name: Render templates
3838
run: |
3939
helm template test-release ./hosting/k8s/helm/ \
4040
--values ./hosting/k8s/helm/values.yaml \
41-
--output-dir /tmp/helm-output
42-
43-
# Validate generated manifests
44-
find /tmp/helm-output -name "*.yaml" -exec kubectl --dry-run=client apply -f {} \;
41+
--output-dir ./helm-output
42+
43+
- name: Validate manifests
44+
uses: docker://ghcr.io/yannh/kubeconform:v0.7.0
45+
with:
46+
entrypoint: '/kubeconform'
47+
args: "-summary -output json ./helm-output"
4548

4649
release:
4750
needs: lint-and-test

0 commit comments

Comments
 (0)