-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.yaml
More file actions
117 lines (117 loc) · 3.42 KB
/
plugin.yaml
File metadata and controls
117 lines (117 loc) · 3.42 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
name: nginx-plus-upstream-servers
version: 1.0
rundeckPluginVersion: 1.2
author: Douglas Barahona
date: 2019-07-23
#description: Step plugin to drain and add servers to Nginx Plus upstreams
providers:
- name: nginx-plus-upstream-drain-server
title: Nginx Plus upstream drain server
description: Drain servers from Nginx Plus upstream
service: WorkflowNodeStep
plugin-type: script
script-file: drain.sh
script-args: ${node.hostname}
config:
- type: String
name: api_url
title: API URL
description: Nginx Plus API URL
required: true
- type: String
name: backup_api_url
title: Backup API URL
description: Nginx Plus API URL for backup server
required: false
- type: String
name: upstream
title: Upstream name
description: Name of the upstream
required: true
- type: Select
name: authentication_method
title: Authentication method
description: Authentication method
default: none
values:
- none
- password
required: true
renderingOptions:
groupName: Authentication
grouping: secondary
- type: String
name: username
title: Username
description: Nginx Plus API username
required: false
renderingOptions:
groupName: Authentication
grouping: secondary
- type: String
name: password
title: Password
description: Nginx Plus API password
required: false
renderingOptions:
groupName: Authentication
grouping: secondary
displayType: PASSWORD
selectionAccessor: "STORAGE_PATH"
valueConversion: "STORAGE_PATH_AUTOMATIC_READ"
storage-path-root: "keys"
- name: nginx-plus-upstream-up-server
title: Nginx Plus upstream up server
description: Put servers back in "up" state in Nginx Plus upstream
service: WorkflowNodeStep
plugin-type: script
script-file: up.sh
script-args: ${node.hostname}
config:
- type: String
name: api_url
title: API URL
description: Nginx Plus URL API
required: true
- type: String
name: backup_api_url
title: Backup API URL
description: Nginx Plus API URL for backup server
required: false
- type: String
name: upstream
title: Upstream name
description: Name of the upstream
required: true
- type: Select
name: authentication_method
title: Authentication method
description: Authentication method
default: none
values:
- none
- password
required: true
renderingOptions:
groupName: Authentication
grouping: secondary
- type: String
name: username
title: Username
description: Nginx Plus API username
required: false
renderingOptions:
groupName: Authentication
grouping: secondary
- type: String
name: password
title: Password
description: Nginx Plus API password
required: false
renderingOptions:
groupName: Authentication
grouping: secondary
displayType: PASSWORD
selectionAccessor: "STORAGE_PATH"
valueConversion: "STORAGE_PATH_AUTOMATIC_READ"
storage-path-root: "keys"