forked from validatedpatterns/coco-pattern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues-secret.yaml.template
101 lines (91 loc) · 2.25 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
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
# 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: azure
vaultPrefixes:
- global
fields:
- name: AZURE_CLIENT_ID
value: ''
onMissingValue: prompt
- name: AZURE_CLIENT_SECRET
value: ''
onMissingValue: prompt
- name: AZURE_TENANT_ID
value: ''
onMissingValue: prompt
- name: AZURE_SUBSCRIPTION_ID
value: ''
onMissingValue: prompt
# generate with scripts/gen-ssh-key-azure.sh
- name: 'sshKey'
valuePrefixes:
- global
fields:
- name: id_rsa.pub
path: ~/.coco-pattern/id_rsa.pub
- name: id_rsa
path: ~/.coco-pattern/id_rsa
- 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: prompt
- name: key2
value: ''
onMissingValue: prompt
- name: key3
value: ''
onMissingValue: prompt
- name: htpasswd
vaultPrefixes:
- global
fields:
- name: htpasswd
path: ~/ocp.htpasswd
- name: passphrase
vaultPrefixes:
- hub
fields:
- name: passphrase
value: ''
onMissingValue: generate
# If you use clusterPools you will need to uncomment the following lines
#- name: aws
# fields:
# - name: aws_access_key_id
# ini_file: ~/.aws/credentials
# ini_section: default
# ini_key: aws_access_key_id
# - name: aws_secret_access_key
# ini_file: ~/.aws/credentials
# ini_key: aws_secret_access_key
#- name: publickey
# fields:
# - name: content
# path: ~/.ssh/id_rsa.pub
#- name: privatekey
# fields:
# - name: content
# path: ~/.ssh/id_rsa
#- name: openshiftPullSecret
# fields:
# - name: content
# path: ~/.pullsecret.json