-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kluctl.yaml
107 lines (95 loc) · 4.01 KB
/
.kluctl.yaml
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
---
discriminator: "dune-daq-{{ target.name }}"
args:
- name: in_pocket
default: false
### This should be customized as an argument for your needs
### Since `pocket` mode is for local development of services
### on node local ephemeral non-exposed containers, default passwords
### are acceptable.
###
### For real deployments you must set these to the correct values.
### If you don't this should hopefully error out with random values.
###
### see: kluctl deploy -t target --args-from-file=filename.yaml
- name: grafana_admin_password
default: run4evah
- name: daqconfig_mongodb_daqconfig_password
default: run4evah
- name: daqconfig_mongodb_root_password
default: run4evah
- name: ers_postgresql_password
default: run4evah
- name: opmon_influxdb_user_influxdb_password
default: run4evah
- name: opmon_influxdb_readwrite_password
default: run4evah
- name: opmon_influxdb_admin_password
default: run4evah
- name: runservices_postgresql_password
default: run4evah
- name: elisa_logbook_username
default: username
- name: elisa_logbook_password
default: password
targets:
- name: pocket
context: kind-pocketdune
args:
in_pocket: true
- name: pocket-baseline
context: kind-pocketdune
args:
in_pocket: true
- name: pocket-connectionservice
discriminator: "dune-daq-pocket"
args:
in_pocket: true
- name: pocket-daqconfig
discriminator: "dune-daq-pocket"
args:
in_pocket: true
- name: pocket-ers
discriminator: "dune-daq-pocket"
args:
in_pocket: true
- name: pocket-opmon
discriminator: "dune-daq-pocket"
args:
in_pocket: true
- name: pocket-runservices
discriminator: "dune-daq-pocket"
args:
in_pocket: true
- name: iceberg-services
discriminator: "dune-daq-pocket"
args:
in_pocket: true
- name: np04-services
context: kubernetes-admin@np04-services
args:
# if you don't set the args to override, you get random values
grafana_admin_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
daqconfig_mongodb_root_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
daqconfig_mongodb_daqconfig_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
ers_postgresql_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
opmon_influxdb_user_influxdb_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
opmon_influxdb_readwrite_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
opmon_influxdb_admin_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
runservices_postgresql_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
elisa_logbook_username: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
elisa_logbook_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
- name: np04-daq
context: kubernetes-admin@np04-daq
args:
# if you don't set the args to override, you get random values
grafana_admin_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
daqconfig_mongodb_root_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
daqconfig_mongodb_daqconfig_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
ers_postgresql_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
opmon_influxdb_user_influxdb_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
opmon_influxdb_readwrite_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
opmon_influxdb_admin_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
runservices_postgresql_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
elisa_logbook_username: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"
elisa_logbook_password: "{{ '{:0=13}'.format(range(0, 9999999999999) | random) }}"