forked from sensu/sensu-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (45 loc) · 1.54 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
# action.yml
name: 'Sensu Flow'
description: 'Manage sensu resources using sensuctl prune and create commands'
inputs:
sensu_backend_url:
description: 'The Sensu backend url (alt use env SENSU_BACKEND_URL'
required: true
sensu_user:
description: 'The Sensu user to auth (alt use env SENSU_USER'
required: true
sensu_password:
description: 'The Sensu user password (alt use env SENSU_PASSWORD'
required: true
configure_args:
description: "optional arguments to pass to sensuctl configure"
required: false
sensu_ca_string:
description: 'Optional Custom CA pem string'
required: false
sensu_ca_file:
description: 'Optional Custom CA pem file location'
required: false
namespaces_dir:
description: "Optional directory to process default: 'namespaces' "
required: false
namespaces_file:
description: "Optional YAML file containing namespace resource to create default: 'namespaces.yaml' "
required: false
matching_label:
description: "Option Sensu label to use in label selector, default: 'sensu.io/workflow'"
required: false
matching_condition:
description: "Option Sensu label matching condition for label selector, default: '== sensu_flow'"
required: false
managed_resources:
description: 'Optional comma seperated list of managed resources'
required: false
disable_sanity_checks:
description: 'Optional boolean argument to to disable sanity checks default: false'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
color: green
icon: alert-triangle