-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (56 loc) · 1.8 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: "Kubernetes yaml validation by kubeval"
description: "Validate Kubernetes manifests by using Kubeval"
author: "makocchi-git"
inputs:
files:
description: "Files or directories to validate (kubeval --directories)"
default: "."
required: false
version:
description: "Version of Kubernetes to validate against (kubeval --kubernetes-version)"
default: "master"
required: false
strict:
description: "Whether to not to check for extra properties (kubeval --strict)"
default: true
required: false
openshift:
description: "Whether to use the schemas from OpenShift rather than Kubernetes (kubeval --openshift)"
default: false
required: false
ignore_missing_schemas:
description: "Whether or not to skip custom resources (kubeval --ignore-missing-schemas)"
default: true
required: false
ignored_filename_patterns:
description: "A comma-separated list of regular expressions specifying paths to ignore (kubeval --ignored-filename-patterns)"
default: ""
required: false
ignored_logs_words:
description: "A comma-separated list of black listed substring which if find in result will remove line (use grep -v)"
default: ""
required: false
comment:
description: "Send comment to pull requests"
default: true
required: false
token:
description: "Github token for api. This is required if comment is true"
default: ""
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.files }}
- ${{ inputs.version }}
- ${{ inputs.strict }}
- ${{ inputs.openshift }}
- ${{ inputs.ignore_missing_schemas }}
- ${{ inputs.ignored_filename_patterns }}
- ${{ inputs.ignored_logs_words }}
- ${{ inputs.comment }}
- ${{ inputs.token }}
branding:
icon: "check"
color: "blue"