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