add kubeconform action #168

Merged
aggarwalakshun merged 10 commits from kubeconform into main 2025-12-03 07:44:28 +00:00
Showing only changes of commit dad9ac0a27 - Show all commits

View File

@@ -18,4 +18,11 @@ jobs:
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
- name: Validate Manifests
run: |
find /mnt -type f \( -iname "*.yml" \) -print0 | xargs -0 --no-run-if-empty kubeconform -verbose -summary -schema-location default -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/bitnami.com/sealedsecret_v1alpha1.json' -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/helm.toolkit.fluxcd.io/helmrelease_v2.json'
find /mnt -type f \( -iname "*.yml" \) -print0 \
| xargs -0 --no-run-if-empty kubeconform -verbose -summary \
-schema-location default \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/bitnami.com/sealedsecret_v1alpha1.json' \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/helm.toolkit.fluxcd.io/helmrelease_v2.json'
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/metallb.io/ipaddresspool_v1beta1.json' \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/metallb.io/l2advertisement_v1beta1.json' \
-schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/source.toolkit.fluxcd.io/helmrepository_v1.json'