Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/kubeconform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ jobs:
(wget -qO- https://github.com/yannh/kubeconform/releases/download/v0.6.7/kubeconform-linux-amd64.tar.gz | sudo tar xvz -C /usr/bin) && sudo chmod +x /usr/bin/kubeconform
- name: Validate new Services
id: validate-service
uses: mathiasvr/command-output@v1
uses: mathiasvr/command-output@v2.0.0
if: steps.changed-services.outputs.any_changed == 'true'
with:
run: |
find . -maxdepth 15 -name svc.yaml -exec kubeconform --verbose -exit-on-error -ignore-missing-schemas -kubernetes-version "1.26.0" -schema-location default {} \;

- name: Validate new Workloads
id: validate-workloads
uses: mathiasvr/command-output@v1
uses: mathiasvr/command-output@v2.0.0
if: steps.changed-workloads.outputs.any_changed == 'true'
with:
run: |
Expand All @@ -67,7 +67,7 @@ jobs:

- name: Validate new configMaps or Secrets
id: validate-configs-cm
uses: mathiasvr/command-output@v1
uses: mathiasvr/command-output@v2.0.0
if: steps.changed-configs.outputs.any_changed == 'true'
with:
run: |
Expand All @@ -76,7 +76,7 @@ jobs:

- name: Validate new Permissions and RBAC resources
id: validate-configs-rbac
uses: mathiasvr/command-output@v1
uses: mathiasvr/command-output@v2.0.0
if: steps.changed-rbac.outputs.any_changed == 'true'
with:
run: |
Expand All @@ -87,7 +87,7 @@ jobs:

- name: Validate new Storage resources
id: validate-configs
uses: mathiasvr/command-output@v1
uses: mathiasvr/command-output@v2.0.0
if: steps.changed-storage.outputs.any_changed == 'true'
with:
run: |
Expand Down
Loading