-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathaction.yml
39 lines (38 loc) · 1.04 KB
/
action.yml
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
38
name: "Kubeval"
description: "Validate Kubernetes manifests using the upstream Schemas"
author: "Gareth Rushgrove"
branding:
icon: "check"
color: "green"
inputs:
files:
description: "Files or directories to validate"
default: "."
output:
description: "Output format for results"
default: "stdout"
version:
description: "Version of Kubernetes to validate against"
default: "master"
strict:
description: "Whether to not to check for extra properties"
default: true
openshift:
description: "Whether to use the schemas from OpenShift rather than Kubernetes"
default: false
ignore_missing_schemas:
description: "Whether or not to skip custom resources"
default: true
runs:
using: 'docker'
image: 'docker://garethr/kubeval:latest'
args:
- -d
- ${{ inputs.files }}
- -o
- ${{ inputs.output }}
- --strict=${{ inputs.strict }}
- --kubernetes-version
- ${{ inputs.version }}
- --openshift=${{ inputs.openshift }}
- --ignore-missing-schemas=${{ inputs.ignore_missing_schemas }}