-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.04 KB
/
validateYAML.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Validate YAML
on: [push, workflow_dispatch]
jobs:
yaml-verifications:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Kubeval
uses: stefanprodan/kube-tools@v1
with:
kubectl: 1.23.0
kustomize: 4.4.1
helm: 2.17.0
helmv3: 3.7.2
kubeseal: 0.16.0
kubeval: v0.16.1
conftest: 0.28.3
kubeconform: 0.4.12
command: |
echo "Run kubeval"
kustomize build prometheus-operator/overlays/lab | kubeval --ignore-missing-schemas
- name: Conftest
uses: stefanprodan/kube-tools@v1
with:
kubectl: 1.23.0
kustomize: 4.4.1
helm: 2.17.0
helmv3: 3.7.2
kubeseal: 0.16.0
kubeval: v0.16.1
conftest: 0.28.3
kubeconform: 0.4.12
command: |
echo "Run Conftest"
kustomize build prometheus-operator/overlays/lab | conftest test --policy policy -