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 8cf09a25a3 - Show all commits

View File

@@ -12,10 +12,10 @@ jobs:
steps: steps:
- name: Setup environment - name: Setup environment
run: | run: |
pacman -Syu --noconfirm kubeconform git pacman -Syu --noconfirm kubeconform git findutils
- name: Checkout code - name: Checkout code
run: | run: |
git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt
- name: Validate Manifests - name: Validate Manifests
run: | run: |
kubeconform -verbose -summary -schema-location default /mnt/**/*.yml find /mnt -type f \( -iname "*.yml" -o -iname "*.yaml" \) -print0 | xargs -0 --no-run-if-empty kubeconform -verbose -summary -schema-location default