forked from stefanprodan/hrval-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
47 lines (46 loc) · 1.48 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
name: 'Validate Flux Helm Release'
description: 'Github Action to validate Flux Helm Releases with kubeval'
author: 'Stefan Prodan'
branding:
icon: 'check-square'
color: 'blue'
inputs:
helmRelease:
description: 'The HelmRelease YAML file path or dir'
required: true
ignoreValues:
description: 'When set to true HelmRelease values will be ignored'
default: 'false'
kubernetesVersion:
description: 'Version of Kubernetes to validate against'
default: 'master'
helmVersion:
description: 'Version of Helm to validate against'
default: 'v2'
awsS3Repo:
description: '(Optional) Set to true if using an AWS S3 Helm Repo'
default: false
awsS3RepoName:
description: '(Optional) The name of the AWS S3 Helm repo, if awsS3Repo was set to true'
default: ''
awsS3Plugin:
description: '(Optional) AWS S3 Plugin to be used in the helm plugin install command'
default: ''
helmSourcesCacheEnabled:
description: '(Optional) Enabled Helm source caching, so same release or ref will not be downloaded twice.'
default: 'false'
outputs:
numFilesTested:
description: The number of HelmRelease files which were tested
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.helmRelease }}
- ${{ inputs.ignoreValues }}
- ${{ inputs.kubernetesVersion }}
- ${{ inputs.helmVersion }}
- ${{ inputs.awsS3Repo }}
- ${{ inputs.awsS3RepoName }}
- ${{ inputs.awsS3RepoPlugin }}
- ${{ inputs.helmSourcesCacheEnabled }}