Skip to content

Commit

Permalink
ci: Add kustomize configuration check (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara authored Aug 5, 2024
1 parent 9551911 commit 1a34d61
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/kustomize-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Kustomize Config Check

on:
push:
branches: [ main ]
paths:
- 'k8s/**'
pull_request:
branches: [ main ]
paths:
- 'k8s/**'

jobs:
kustomize-config-check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up kubectl
uses: azure/setup-kubectl@v4

- name: Test with dry run
run: |
kubectl kustomize ./k8s
kubectl apply --dry-run=client --kustomize ./k8s

0 comments on commit 1a34d61

Please sign in to comment.