-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
46 lines (46 loc) · 1.42 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
name: "Kubernetes Helm Kubeval"
description: "Validate all Kubernetes manifests generated by helm template for all values files in the ci directory of the Helm Chart."
author: "Cedric de Saint Martin"
branding:
icon: "check"
color: "green"
inputs:
path:
description: "The path to the directory containing your Chart(s)"
default: "."
required: false
config:
description: "The path to the configuration file containing your Chart(s) Repository Url(s)"
default: "config_repos"
required: false
output:
description: "Output format for results"
default: "stdout"
required: false
version:
description: "Version of Kubernetes to validate against"
default: "master"
required: false
strict:
description: "Whether to not to check for extra properties"
default: "true"
required: false
openshift:
description: "Whether to use the schemas from OpenShift rather than Kubernetes"
default: "false"
required: false
ignore_missing_schemas:
description: "Whether or not to skip custom resources"
default: "true"
required: false
runs:
using: 'docker'
image: './Dockerfile'
env:
CHARTS_PATH: ${{ inputs.path }}
CONFIG_FILE: ${{ inputs.config }}
OUTPUT: ${{ inputs.output }}
STRICT: ${{ inputs.strict }}
KUBERNETES_VERSION: ${{ inputs.version }}
OPENSHIFT: ${{ inputs.openshift }}
IGNORE_MISSING_SCHEMAS: ${{ inputs.ignore_missing_schemas }}