Skip to content

Commit

Permalink
added policy job
Browse files Browse the repository at this point in the history
  • Loading branch information
cartyc committed Jul 1, 2020
1 parent 3f3b815 commit 4016c81
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Policy Validation
on: [push, pull_request]
jobs:
test-unit:
name: Create a Kind cluster
runs-on: [ubuntu-latest]
container: macintoshprime/kubectl:v1.17-git
steps:
- uses: actions/checkout@v1
- name: Validate YAML
run: |
kubectl apply -f deploy/ --dry-run -o yaml | kubeval --strict

0 comments on commit 4016c81

Please sign in to comment.