-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvalues-secret.yaml.template
60 lines (52 loc) · 1.29 KB
/
values-secret.yaml.template
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
# A more formal description of this format can be found here:
# https://github.com/hybrid-cloud-patterns/common/tree/main/ansible/roles/vault_utils#values-secret-file-format
version: "2.0"
# Ideally you NEVER COMMIT THESE VALUES TO GIT (although if all passwords are
# automatically generated inside the vault this should not really matter)
secrets:
- name: 'sshKey'
vaultPrefixes:
- global
fields:
- name: id_rsa.pub
path: ~/.coco-pattern/id_rsa.pub
- name: id_rsa
path: ~/.coco-pattern/id_rsa
- name: 'securityPolicyConfig'
vaultPrefixes:
- hub
fields:
- name: osc
path: ~/.coco-pattern/security-policy-config.json
- name: kbsPublicKey
vaultPrefixes:
- hub
fields:
- name: publicKey
path: ~/.coco-pattern/kbsPublicKey
- name: kbsPrivateKey
vaultPrefixes:
- global
fields:
- name: privateKey
path: ~/.coco-pattern/kbsPrivateKey
- name: kbsres1
vaultPrefixes:
- hub
fields:
- name: key1
value: ''
onMissingValue: generate
- name: key2
value: ''
onMissingValue: generate
- name: key3
value: ''
onMissingValue: generate
- name: passphrase
vaultPrefixes:
- hub
fields:
- name: passphrase
value: ''
onMissingValue: generate