blob: aa2bf6d1001e005ca503aae775c48cf8c6e96e2e [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
272 database:
273 max_retries: -1
274 coordination:
275 backend_url: ""
276 logging:
277 loggers:
278 keys:
279 - root
280 - staffeln
281 handlers:
282 keys:
283 - stdout
284 - stderr
285 - "null"
286 formatters:
287 keys:
288 - context
289 - default
290 logger_root:
291 level: WARNING
292 handlers: 'null'
293 logger_staffeln:
294 level: INFO
295 handlers:
296 - stdout
297 qualname: staffeln
298 logger_amqp:
299 level: WARNING
300 handlers: stderr
301 qualname: amqp
302 logger_amqplib:
303 level: WARNING
304 handlers: stderr
305 qualname: amqplib
306 logger_eventletwsgi:
307 level: WARNING
308 handlers: stderr
309 qualname: eventlet.wsgi.server
310 logger_sqlalchemy:
311 level: WARNING
312 handlers: stderr
313 qualname: sqlalchemy
314 logger_boto:
315 level: WARNING
316 handlers: stderr
317 qualname: boto
318 handler_null:
319 class: logging.NullHandler
320 formatter: default
321 args: ()
322 handler_stdout:
323 class: StreamHandler
324 args: (sys.stdout,)
325 formatter: context
326 handler_stderr:
327 class: StreamHandler
328 args: (sys.stderr,)
329 formatter: context
330 formatter_context:
331 class: oslo_log.formatters.ContextFormatter
332 datefmt: "%Y-%m-%d %H:%M:%S"
333 formatter_default:
334 format: "%(message)s"
335 datefmt: "%Y-%m-%d %H:%M:%S"
336# Names of secrets used by bootstrap and environmental checks
337secrets:
338 identity:
339 admin: staffeln-keystone-admin
340 oslo_db:
341 admin: staffeln-db-admin
342 staffeln: staffeln-db-user
343 oci_image_registry:
344 staffeln: staffeln-oci-image-registry
345
346endpoints:
347 cluster_domain_suffix: cluster.local
348 local_image_registry:
349 name: docker-registry
350 namespace: docker-registry
351 hosts:
352 default: localhost
353 internal: docker-registry
354 node: localhost
355 host_fqdn_override:
356 default: null
357 port:
358 registry:
359 node: 5000
360 oci_image_registry:
361 name: oci-image-registry
362 namespace: oci-image-registry
363 auth:
364 enabled: false
365 staffeln:
366 username: staffeln
367 password: password
368 hosts:
369 default: localhost
370 host_fqdn_override:
371 default: null
372 port:
373 registry:
374 default: null
375 identity:
376 name: keystone
377 auth:
378 admin:
379 region_name: RegionOne
380 username: admin
381 password: password
382 project_name: admin
383 user_domain_name: default
384 project_domain_name: default
385 hosts:
386 default: keystone
387 internal: keystone-api
388 host_fqdn_override:
389 default: null
390 path:
391 default: /v3
392 scheme:
393 default: http
394 port:
395 api:
396 default: 80
397 internal: 5000
398 staffeln:
399 name: staffeln
400 hosts:
401 default: staffeln-api
402 public: staffeln
403 host_fqdn_override:
404 default: null
405 path:
406 default: '/v1'
407 scheme:
408 default: http
409 service: http
410 port:
411 api:
412 default: 8808
413 public: 80
414 service: 8808
415 oslo_db:
416 auth:
417 admin:
418 username: root
419 password: password
420 secret:
421 tls:
422 internal: mariadb-tls-direct
423 staffeln:
424 username: staffeln
425 password: password
426 hosts:
427 default: mariadb
428 host_fqdn_override:
429 default: null
430 path: /staffeln
431 scheme: mysql+pymysql
432 port:
433 mysql:
434 default: 3306
435 oslo_cache:
436 auth:
437 # NOTE(portdirect): this is used to define the value for keystone
438 # authtoken cache encryption key, if not set it will be populated
439 # automatically with a random value, but to take advantage of
440 # this feature all services should be set to use the same key,
441 # and memcache service.
442 memcache_secret_key: null
443 hosts:
444 default: memcached
445 host_fqdn_override:
446 default: null
447 port:
448 memcache:
449 default: 11211
450 fluentd:
451 namespace: null
452 name: fluentd
453 hosts:
454 default: fluentd-logging
455 host_fqdn_override:
456 default: null
457 path:
458 default: null
459 scheme: 'http'
460 port:
461 service:
462 default: 24224
463 metrics:
464 default: 24220
465 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
466 # They are using to enable the Egress K8s network policy.
467 kube_dns:
468 namespace: kube-system
469 name: kubernetes-dns
470 hosts:
471 default: kube-dns
472 host_fqdn_override:
473 default: null
474 path:
475 default: null
476 scheme: http
477 port:
478 dns:
479 default: 53
480 protocol: UDP
481 ingress:
482 namespace: null
483 name: ingress
484 hosts:
485 default: ingress
486 port:
487 ingress:
488 default: 80
489
490tls:
491 identity: false
492 oslo_db: false
493
494manifests:
495 certificates: false
496 configmap_bin: true
497 configmap_etc: true
498 deployment_api: true
499 deployment_conductor: true
500 job_bootstrap: true
501 job_db_init: true
502 job_db_sync: true
503 job_db_drop: false
504 job_image_repo_sync: true
505 pdb_api: true
506 secret_db: true
507 network_policy: false
508 secret_registry: true
509 service_ingress_api: true
510 service_api: true
511...