blob: da27271db2826fc90fb92e29a0281129677f52f5 [file] [log] [blame]
Rico Lind020bc22023-11-01 01:57:03 +08001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13# Default values for staffeln.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19labels:
20 api:
21 node_selector_key: openstack-control-plane
22 node_selector_value: enabled
23 conductor:
24 node_selector_key: openstack-control-plane
25 node_selector_value: enabled
26 job:
27 node_selector_key: openstack-control-plane
28 node_selector_value: enabled
29 test:
30 node_selector_key: openstack-control-plane
31 node_selector_value: enabled
32
33release_group: null
34
35# NOTE(philsphicas): the pre-install hook breaks upgrade for helm2
36# Set to false to upgrade using helm2
37helm3_hook: true
38
39images:
40 tags:
41 bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
42 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
43 db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
44 db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
45 staffeln_db_sync: ghcr.io/vexxhost/staffeln:v2.2.3
46 staffeln_api: ghcr.io/vexxhost/staffeln:v2.2.3
47 staffeln_conductor: ghcr.io/vexxhost/staffeln:v2.2.3
48 image_repo_sync: docker.io/docker:17.07.0
49 pull_policy: "IfNotPresent"
50 local_registry:
51 active: false
52 exclude:
53 - dep_check
54 - image_repo_sync
55
56pod:
57 security_context:
58 staffeln:
59 pod:
60 runAsUser: 42424
61 container:
62 staffeln_api:
63 allowPrivilegeEscalation: false
64 readOnlyRootFilesystem: true
65 staffeln_conductor:
66 allowPrivilegeEscalation: false
67 readOnlyRootFilesystem: true
68 test:
69 pod:
70 runAsUser: 42424
71 container:
72 staffeln_test:
73 allowPrivilegeEscalation: false
74 readOnlyRootFilesystem: true
75 affinity:
76 anti:
77 type:
78 default: preferredDuringSchedulingIgnoredDuringExecution
79 topologyKey:
80 default: kubernetes.io/hostname
81 weight:
82 default: 10
83 tolerations:
84 staffeln:
85 enabled: false
86 tolerations:
87 - key: node-role.kubernetes.io/master
88 operator: Exists
89 effect: NoSchedule
90 mounts:
91 staffeln_api:
92 init_container: null
93 staffeln_api:
94 volumeMounts:
95 volumes:
96 staffeln_conductor:
97 init_container: null
98 staffeln_conductor:
99 volumeMounts:
100 volumes:
101 staffeln_bootstrap:
102 init_container: null
103 staffeln_bootstrap:
104 volumeMounts:
105 volumes:
106 staffeln_tests:
107 init_container: null
108 staffeln_tests:
109 volumeMounts:
110 volumes:
111 staffeln_db_sync:
112 staffeln_db_sync:
113 volumeMounts:
114 volumes:
115 replicas:
116 api: 1
117 conductor: 1
118 lifecycle:
119 upgrades:
120 deployments:
121 revision_history: 3
122 pod_replacement_strategy: RollingUpdate
123 rolling_update:
124 max_unavailable: 1
125 max_surge: 3
126 disruption_budget:
127 api:
128 min_available: 0
129 conductor:
130 min_available: 0
131 resources:
132 enabled: false
133 api:
134 requests:
135 memory: "128Mi"
136 cpu: "100m"
137 limits:
138 memory: "1024Mi"
139 cpu: "2000m"
140 conductor:
141 requests:
142 memory: "128Mi"
143 cpu: "100m"
144 limits:
145 memory: "1024Mi"
146 cpu: "2000m"
147 jobs:
148 bootstrap:
149 requests:
150 memory: "128Mi"
151 cpu: "100m"
152 limits:
153 memory: "1024Mi"
154 cpu: "2000m"
155 db_init:
156 requests:
157 memory: "128Mi"
158 cpu: "100m"
159 limits:
160 memory: "1024Mi"
161 cpu: "2000m"
162 db_sync:
163 requests:
164 memory: "128Mi"
165 cpu: "100m"
166 limits:
167 memory: "1024Mi"
168 cpu: "2000m"
169 db_drop:
170 requests:
171 memory: "128Mi"
172 cpu: "100m"
173 limits:
174 memory: "1024Mi"
175 cpu: "2000m"
176 tests:
177 requests:
178 memory: "128Mi"
179 cpu: "100m"
180 limits:
181 memory: "1024Mi"
182 cpu: "2000m"
183 image_repo_sync:
184 requests:
185 memory: "128Mi"
186 cpu: "100m"
187 limits:
188 memory: "1024Mi"
189 cpu: "2000m"
190
191network:
192 api:
193 ingress:
194 public: false
195 classes:
196 namespace: "nginx"
197 cluster: "nginx-cluster"
198 annotations:
199 nginx.ingress.kubernetes.io/rewrite-target: /
200 external_policy_local: false
201 node_port:
202 enabled: false
203 port: 8808
204
205network_policy:
206 staffeln:
207 ingress:
208 - {}
209 egress:
210 - {}
211
212bootstrap:
213 enabled: true
214 script: null
215
216dependencies:
217 dynamic:
218 common:
219 local_image_registry:
220 jobs:
221 - staffeln-image-repo-sync
222 services:
223 - endpoint: node
224 service: local_image_registry
225 static:
226 api:
227 jobs:
228 - staffeln-db-sync
229 services:
230 - endpoint: internal
231 service: oslo_db
232 - endpoint: internal
233 service: identity
234 conductor:
235 jobs:
236 - staffeln-db-sync
237 services:
238 - endpoint: internal
239 service: oslo_db
240 - endpoint: internal
241 service: identity
242 - endpoint: internal
243 service: oslo_messaging
244 db_drop:
245 services:
246 - endpoint: internal
247 service: oslo_db
248 db_init:
249 services:
250 - endpoint: internal
251 service: oslo_db
252 db_sync:
253 jobs:
254 - staffeln-db-init
255 services:
256 - endpoint: internal
257 service: oslo_db
258 image_repo_sync:
259 services:
260 - endpoint: internal
261 service: local_image_registry
262
263conf:
264 clouds:
265 clouds:
266 envvars:
267 auth: {}
268 staffeln:
269 conductor:
270 backup_metadata_key: __staffeln_backup
271 retention_metadata_key: __staffeln_retention
Michiel Piscaer31656d22023-11-16 09:02:13 +0100272 backup_min_interval: 86400
273 backup_service_period: 3600
274 retention_service_period: 3600
275 backup_cycle_timout: 6h
276 retention_time: 2w
Rico Lind020bc22023-11-01 01:57:03 +0800277 database:
278 max_retries: -1
279 coordination:
280 backend_url: ""
281 logging:
282 loggers:
283 keys:
284 - root
285 - staffeln
286 handlers:
287 keys:
288 - stdout
289 - stderr
290 - "null"
291 formatters:
292 keys:
293 - context
294 - default
295 logger_root:
296 level: WARNING
297 handlers: 'null'
298 logger_staffeln:
299 level: INFO
300 handlers:
301 - stdout
302 qualname: staffeln
303 logger_amqp:
304 level: WARNING
305 handlers: stderr
306 qualname: amqp
307 logger_amqplib:
308 level: WARNING
309 handlers: stderr
310 qualname: amqplib
311 logger_eventletwsgi:
312 level: WARNING
313 handlers: stderr
314 qualname: eventlet.wsgi.server
315 logger_sqlalchemy:
316 level: WARNING
317 handlers: stderr
318 qualname: sqlalchemy
319 logger_boto:
320 level: WARNING
321 handlers: stderr
322 qualname: boto
323 handler_null:
324 class: logging.NullHandler
325 formatter: default
326 args: ()
327 handler_stdout:
328 class: StreamHandler
329 args: (sys.stdout,)
330 formatter: context
331 handler_stderr:
332 class: StreamHandler
333 args: (sys.stderr,)
334 formatter: context
335 formatter_context:
336 class: oslo_log.formatters.ContextFormatter
337 datefmt: "%Y-%m-%d %H:%M:%S"
338 formatter_default:
339 format: "%(message)s"
340 datefmt: "%Y-%m-%d %H:%M:%S"
341# Names of secrets used by bootstrap and environmental checks
342secrets:
343 identity:
344 admin: staffeln-keystone-admin
345 oslo_db:
346 admin: staffeln-db-admin
347 staffeln: staffeln-db-user
348 oci_image_registry:
349 staffeln: staffeln-oci-image-registry
350
351endpoints:
352 cluster_domain_suffix: cluster.local
353 local_image_registry:
354 name: docker-registry
355 namespace: docker-registry
356 hosts:
357 default: localhost
358 internal: docker-registry
359 node: localhost
360 host_fqdn_override:
361 default: null
362 port:
363 registry:
364 node: 5000
365 oci_image_registry:
366 name: oci-image-registry
367 namespace: oci-image-registry
368 auth:
369 enabled: false
370 staffeln:
371 username: staffeln
372 password: password
373 hosts:
374 default: localhost
375 host_fqdn_override:
376 default: null
377 port:
378 registry:
379 default: null
380 identity:
381 name: keystone
382 auth:
383 admin:
384 region_name: RegionOne
385 username: admin
386 password: password
387 project_name: admin
388 user_domain_name: default
389 project_domain_name: default
390 hosts:
391 default: keystone
392 internal: keystone-api
393 host_fqdn_override:
394 default: null
395 path:
396 default: /v3
397 scheme:
398 default: http
399 port:
400 api:
401 default: 80
402 internal: 5000
403 staffeln:
404 name: staffeln
405 hosts:
406 default: staffeln-api
407 public: staffeln
408 host_fqdn_override:
409 default: null
410 path:
411 default: '/v1'
412 scheme:
413 default: http
414 service: http
415 port:
416 api:
417 default: 8808
418 public: 80
419 service: 8808
420 oslo_db:
421 auth:
422 admin:
423 username: root
424 password: password
425 secret:
426 tls:
427 internal: mariadb-tls-direct
428 staffeln:
429 username: staffeln
430 password: password
431 hosts:
432 default: mariadb
433 host_fqdn_override:
434 default: null
435 path: /staffeln
436 scheme: mysql+pymysql
437 port:
438 mysql:
439 default: 3306
440 oslo_cache:
441 auth:
442 # NOTE(portdirect): this is used to define the value for keystone
443 # authtoken cache encryption key, if not set it will be populated
444 # automatically with a random value, but to take advantage of
445 # this feature all services should be set to use the same key,
446 # and memcache service.
447 memcache_secret_key: null
448 hosts:
449 default: memcached
450 host_fqdn_override:
451 default: null
452 port:
453 memcache:
454 default: 11211
455 fluentd:
456 namespace: null
457 name: fluentd
458 hosts:
459 default: fluentd-logging
460 host_fqdn_override:
461 default: null
462 path:
463 default: null
464 scheme: 'http'
465 port:
466 service:
467 default: 24224
468 metrics:
469 default: 24220
470 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
471 # They are using to enable the Egress K8s network policy.
472 kube_dns:
473 namespace: kube-system
474 name: kubernetes-dns
475 hosts:
476 default: kube-dns
477 host_fqdn_override:
478 default: null
479 path:
480 default: null
481 scheme: http
482 port:
483 dns:
484 default: 53
485 protocol: UDP
486 ingress:
487 namespace: null
488 name: ingress
489 hosts:
490 default: ingress
491 port:
492 ingress:
493 default: 80
494
495tls:
496 identity: false
497 oslo_db: false
498
499manifests:
500 certificates: false
501 configmap_bin: true
502 configmap_etc: true
503 deployment_api: true
504 deployment_conductor: true
505 job_bootstrap: true
506 job_db_init: true
507 job_db_sync: true
508 job_db_drop: false
509 job_image_repo_sync: true
510 pdb_api: true
511 secret_db: true
512 network_policy: false
513 secret_registry: true
514 service_ingress_api: true
515 service_api: true
516...