-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
52 lines (52 loc) · 1.62 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
name: 'Kubeaudit'
description: 'Github Action to run kubeaudit'
author: 'Klustair'
branding:
icon: 'eye'
color: 'green'
inputs:
path:
description: 'path to chart'
required: true
kubeauditCommands:
description: 'commands to run'
required: true
default: 'all'
helmVersion:
description: 'helm major version [2,3]'
required: false
default: '3'
kubeauditFormat:
description: 'kubeaudit: The output format to use (one of "pretty", "logrus", "json") (default "pretty")'
required: false
default: 'pretty'
kubeauditMinseverity:
description: 'kubeaudit: Set the lowest severity level to report (one of "error", "warning", "info") (default "info")'
required: false
default: 'info'
kubeauditIncludegenerated:
description: 'kubeaudit Include generated resources in scan (eg. pods generated by deployments).'
required: false
default: 'false'
kubeauditVersion:
description: 'kubeaudit version'
required: false
helmV2Version:
description: 'install Helm V2 version'
required: false
helmV3Version:
description: 'install Helm V3 version'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }} #1
- ${{ inputs.kubeauditCommands }} #2
- ${{ inputs.helmVersion }} #3
- ${{ inputs.kubeauditFormat }} #4
- ${{ inputs.kubeauditMinseverity }} #5
- ${{ inputs.kubeauditIncludegenerated }} #6
- ${{ inputs.kubeauditVersion }} #7
- ${{ inputs.helmV2Version }} #8
- ${{ inputs.helmV3Version }} #9