-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-wizard.yml
More file actions
54 lines (50 loc) · 1.53 KB
/
setup-wizard.yml
File metadata and controls
54 lines (50 loc) · 1.53 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
version: "2"
fields:
- id: setup-mode
target:
type: environment
name: SETUP_MODE
service: operator
title: Setup Mode
description: |-
If this is the first install, choose "New operator". If you have an existing operator key, choose "Import Operator".
enum:
- "New Operator"
- "Import Operator"
required: true
- id: encrypted-private-key
target:
type: fileUpload
path: /root/keys/encrypted_private_key.json
service: operator
title: Encrypted private key
description: |
Upload encrypted_private_key.json
pattern: "\\.json"
required: true
if: { "setup-mode": { "enum": ["Import Operator"] } }
- id: existing-private-key-password
target:
type: environment
name: EXISTING_PASSWORD
service: operator
title: Password for the existing private key
secret: true
description: |
Enter the password for the existing private key
inputType: password
required: false
if: { "setup-mode": { "enum": ["Import Operator"] } }
- id: new-private-key-password
target:
type: environment
name: NEW_PASSWORD
service: operator
title: Password for the new private key
secret: true
description: |
Enter a password to encrypt your private key
(Note: This password will be used to decrypt the private key. If you loss the password, you can no longer decrypt the operator private key)
inputType: password
required: true
if: { "setup-mode": { "enum": ["New Operator"] } }