blob: 1f30742c199d70f50cb6b4ba23dc756a86ea0bd7 [file] [log] [blame]
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001# 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 barbican.
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 job:
24 node_selector_key: openstack-control-plane
25 node_selector_value: enabled
26 test:
27 node_selector_key: openstack-control-plane
28 node_selector_value: enabled
29
30release_group: null
31
32# NOTE(philsphicas): the pre-install hook breaks upgrade for helm2
33# Set to false to upgrade using helm2
34helm3_hook: true
35
36images:
37 tags:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +010038 bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050039 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +010040 scripted_test: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
41 db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
42 barbican_db_sync: docker.io/openstackhelm/barbican:wallaby-ubuntu_focal
43 db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
44 ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
45 ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
46 ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
47 barbican_api: docker.io/openstackhelm/barbican:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050048 rabbit_init: docker.io/rabbitmq:3.7-management
49 image_repo_sync: docker.io/docker:17.07.0
50 pull_policy: "IfNotPresent"
51 local_registry:
52 active: false
53 exclude:
54 - dep_check
55 - image_repo_sync
56
57pod:
58 security_context:
59 barbican:
60 pod:
61 runAsUser: 42424
62 container:
63 barbican_api:
64 allowPrivilegeEscalation: false
65 readOnlyRootFilesystem: true
66 test:
67 pod:
68 runAsUser: 42424
69 container:
70 barbican_test:
71 allowPrivilegeEscalation: false
72 readOnlyRootFilesystem: true
73 affinity:
74 anti:
75 type:
76 default: preferredDuringSchedulingIgnoredDuringExecution
77 topologyKey:
78 default: kubernetes.io/hostname
79 weight:
80 default: 10
81 tolerations:
82 barbican:
83 enabled: false
84 tolerations:
85 - key: node-role.kubernetes.io/master
86 operator: Exists
87 effect: NoSchedule
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +020088 - key: node-role.kubernetes.io/control-plane
89 operator: Exists
90 effect: NoSchedule
Mohammed Naserf3f59a72023-01-15 21:02:04 -050091 mounts:
92 barbican_api:
93 init_container: null
94 barbican_api:
95 volumeMounts:
96 volumes:
97 barbican_bootstrap:
98 init_container: null
99 barbican_bootstrap:
100 volumeMounts:
101 volumes:
102 barbican_tests:
103 init_container: null
104 barbican_tests:
105 volumeMounts:
106 volumes:
107 barbican_db_sync:
108 barbican_db_sync:
109 volumeMounts:
110 volumes:
111 replicas:
112 api: 1
113 lifecycle:
114 upgrades:
115 deployments:
116 revision_history: 3
117 pod_replacement_strategy: RollingUpdate
118 rolling_update:
119 max_unavailable: 1
120 max_surge: 3
121 disruption_budget:
122 api:
123 min_available: 0
124 resources:
125 enabled: false
126 api:
127 requests:
128 memory: "128Mi"
129 cpu: "100m"
130 limits:
131 memory: "1024Mi"
132 cpu: "2000m"
133 jobs:
134 bootstrap:
135 requests:
136 memory: "128Mi"
137 cpu: "100m"
138 limits:
139 memory: "1024Mi"
140 cpu: "2000m"
141 db_init:
142 requests:
143 memory: "128Mi"
144 cpu: "100m"
145 limits:
146 memory: "1024Mi"
147 cpu: "2000m"
148 db_sync:
149 requests:
150 memory: "128Mi"
151 cpu: "100m"
152 limits:
153 memory: "1024Mi"
154 cpu: "2000m"
155 db_drop:
156 requests:
157 memory: "128Mi"
158 cpu: "100m"
159 limits:
160 memory: "1024Mi"
161 cpu: "2000m"
162 rabbit_init:
163 requests:
164 memory: "128Mi"
165 cpu: "100m"
166 limits:
167 memory: "1024Mi"
168 cpu: "2000m"
169 ks_endpoints:
170 requests:
171 memory: "128Mi"
172 cpu: "100m"
173 limits:
174 memory: "1024Mi"
175 cpu: "2000m"
176 ks_service:
177 requests:
178 memory: "128Mi"
179 cpu: "100m"
180 limits:
181 memory: "1024Mi"
182 cpu: "2000m"
183 ks_user:
184 requests:
185 memory: "128Mi"
186 cpu: "100m"
187 limits:
188 memory: "1024Mi"
189 cpu: "2000m"
190 tests:
191 requests:
192 memory: "128Mi"
193 cpu: "100m"
194 limits:
195 memory: "1024Mi"
196 cpu: "2000m"
197 image_repo_sync:
198 requests:
199 memory: "128Mi"
200 cpu: "100m"
201 limits:
202 memory: "1024Mi"
203 cpu: "2000m"
204
205network:
206 api:
207 ingress:
208 public: true
209 classes:
210 namespace: "nginx"
211 cluster: "nginx-cluster"
212 annotations:
213 nginx.ingress.kubernetes.io/rewrite-target: /
214 external_policy_local: false
215 node_port:
216 enabled: false
217 port: 30486
218
219network_policy:
220 barbican:
221 ingress:
222 - {}
223 egress:
224 - {}
225
226bootstrap:
227 enabled: false
228 ks_user: barbican
229 script: |
230 openstack token issue
231
232dependencies:
233 dynamic:
234 common:
235 local_image_registry:
236 jobs:
237 - barbican-image-repo-sync
238 services:
239 - endpoint: node
240 service: local_image_registry
241 static:
242 api:
243 jobs:
244 - barbican-db-sync
245 - barbican-ks-user
246 - barbican-ks-endpoints
247 - barbican-rabbit-init
248 services:
249 - endpoint: internal
250 service: oslo_db
251 - endpoint: internal
252 service: identity
253 - endpoint: internal
254 service: oslo_messaging
255 db_drop:
256 services:
257 - endpoint: internal
258 service: oslo_db
259 db_init:
260 services:
261 - endpoint: internal
262 service: oslo_db
263 db_sync:
264 jobs:
265 - barbican-db-init
266 services:
267 - endpoint: internal
268 service: oslo_db
269 image_repo_sync:
270 services:
271 - endpoint: internal
272 service: local_image_registry
273 ks_endpoints:
274 jobs:
275 - barbican-ks-service
276 services:
277 - endpoint: internal
278 service: identity
279 ks_service:
280 services:
281 - endpoint: internal
282 service: identity
283 ks_user:
284 services:
285 - endpoint: internal
286 service: identity
287 rabbit_init:
288 services:
289 - endpoint: internal
290 service: oslo_messaging
291
292conf:
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200293 paste: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500294 policy: {}
295 audit_map:
296 DEFAULT:
297 # default target endpoint type
298 # should match the endpoint type defined in service catalog
299 target_endpoint_type: key-manager
300 custom_actions:
301 # map urls ending with specific text to a unique action
302 # Don't need custom mapping for other resource operations
303 # Note: action should match action names defined in CADF taxonomy
304 acl/get: read
305 path_keywords:
306 # path of api requests for CADF target typeURI
307 # Just need to include top resource path to identify class of resources
308 secrets: null
309 containers: null
310 orders: null
311 cas: "None"
312 quotas: null
313 project-quotas: null
314 service_endpoints:
315 # map endpoint type defined in service catalog to CADF typeURI
316 key-manager: service/security/keymanager
317 barbican_api:
318 uwsgi:
319 socket: null
320 protocol: http
321 processes: 1
322 lazy: true
323 vacuum: true
324 no-default-app: true
325 memory-report: true
326 plugins: python
327 paste: "config:/etc/barbican/barbican-api-paste.ini"
328 add-header: "Connection: close"
329 barbican:
330 DEFAULT:
331 transport_url: null
332 log_config_append: /etc/barbican/logging.conf
333 keystone_authtoken:
334 auth_type: password
335 auth_version: v3
336 memcache_security_strategy: ENCRYPT
337 memcache_secret_key: null
Oleksandr Kozachenkoc0022be2023-05-23 20:36:21 +0200338 service_type: key-manager
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500339 database:
340 max_retries: -1
341 barbican_api:
342 # NOTE(portdirect): the bind port should not be defined, and is manipulated
343 # via the endpoints section.
344 bind_port: null
345 oslo_policy:
346 policy_file: /etc/barbican/policy.yaml
347 # When using the simple_crypto_plugin, a kek must be provided as:
348 # .conf.barbican.simple_crypto_plugin.kek
349 # If no kek is provided, barbican will use a well-known default.
350 # If upgrading the chart with a new kek, the old kek must be provided as:
351 # .conf.simple_crypto_plugin_rewrap.old_kek
352 # Please refer to the .conf.simple_crypto_key_rewrap section below.
353 # The barbican defaults are included here as a reference:
354 # secretstore:
355 # enabled_secretstore_plugins:
356 # - store_crypto
357 # crypto:
358 # enabled_crypto_plugins:
359 # - simple_crypto
360 # simple_crypto_plugin:
361 # # The kek should be a 32-byte value which is base64 encoded.
362 # kek: "dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg="
363 # KEK rotation for the simple_crypto plugin
364 simple_crypto_kek_rewrap:
365
366 # To allow for chart upgrades when modifying the Key Encryption Key, the
367 # db-sync job can rewrap the existing project keys with the new kek, leaving
368 # each secret’s encrypted data unchanged.
369
370 # This feature is enabled automatically, if a kek is specified at:
371 # .conf.barbican.simple_crypto_plugin.kek
372 # and the previous kek is also specified at:
373 # .conf.simple_crypto_kek_rewrap.old_kek
374
375 # The project keys are decrypted with 'old_kek' and re-encrypted with the
376 # target kek (as defined in barbican.conf).
377 # This resembles the lightweight rotation described here, which was never
378 # implemented for the simple crypto plugin:
379 # https://specs.openstack.org/openstack/barbican-specs/specs/liberty/add-crypto-mkek-rotation-support-lightweight.html
380
381 # The KEK value "dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg=" matches the
382 # plugin default, and is retained here for convenience, in case the chart was
383 # previously installed without explicitly specifying a kek.
384 old_kek: "dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg="
385 logging:
386 loggers:
387 keys:
388 - root
389 - barbican
390 handlers:
391 keys:
392 - stdout
393 - stderr
394 - "null"
395 formatters:
396 keys:
397 - context
398 - default
399 logger_root:
400 level: WARNING
401 handlers: 'null'
402 logger_barbican:
403 level: INFO
404 handlers:
405 - stdout
406 qualname: barbican
407 logger_amqp:
408 level: WARNING
409 handlers: stderr
410 qualname: amqp
411 logger_amqplib:
412 level: WARNING
413 handlers: stderr
414 qualname: amqplib
415 logger_eventletwsgi:
416 level: WARNING
417 handlers: stderr
418 qualname: eventlet.wsgi.server
419 logger_sqlalchemy:
420 level: WARNING
421 handlers: stderr
422 qualname: sqlalchemy
423 logger_boto:
424 level: WARNING
425 handlers: stderr
426 qualname: boto
427 handler_null:
428 class: logging.NullHandler
429 formatter: default
430 args: ()
431 handler_stdout:
432 class: StreamHandler
433 args: (sys.stdout,)
434 formatter: context
435 handler_stderr:
436 class: StreamHandler
437 args: (sys.stderr,)
438 formatter: context
439 formatter_context:
440 class: oslo_log.formatters.ContextFormatter
441 datefmt: "%Y-%m-%d %H:%M:%S"
442 formatter_default:
443 format: "%(message)s"
444 datefmt: "%Y-%m-%d %H:%M:%S"
445
446# Names of secrets used by bootstrap and environmental checks
447secrets:
448 identity:
449 admin: barbican-keystone-admin
450 barbican: barbican-keystone-user
451 oslo_db:
452 admin: barbican-db-admin
453 barbican: barbican-db-user
454 oslo_messaging:
455 admin: barbican-rabbitmq-admin
456 barbican: barbican-rabbitmq-user
457 tls:
458 key_manager:
459 api:
460 public: barbican-tls-public
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100461 internal: barbican-tls-internal
462 oci_image_registry:
463 barbican: barbican-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500464
465endpoints:
466 cluster_domain_suffix: cluster.local
467 local_image_registry:
468 name: docker-registry
469 namespace: docker-registry
470 hosts:
471 default: localhost
472 internal: docker-registry
473 node: localhost
474 host_fqdn_override:
475 default: null
476 port:
477 registry:
478 node: 5000
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100479 oci_image_registry:
480 name: oci-image-registry
481 namespace: oci-image-registry
482 auth:
483 enabled: false
484 barbican:
485 username: barbican
486 password: password
487 hosts:
488 default: localhost
489 host_fqdn_override:
490 default: null
491 port:
492 registry:
493 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500494 identity:
495 name: keystone
496 auth:
497 admin:
498 region_name: RegionOne
499 username: admin
500 password: password
501 project_name: admin
502 user_domain_name: default
503 project_domain_name: default
504 barbican:
505 role: admin
506 region_name: RegionOne
507 username: barbican
508 password: password
509 project_name: service
510 user_domain_name: service
511 project_domain_name: service
512 hosts:
513 default: keystone
514 internal: keystone-api
515 host_fqdn_override:
516 default: null
517 path:
518 default: /v3
519 scheme:
520 default: http
521 port:
522 api:
523 default: 80
524 internal: 5000
525 key_manager:
526 name: barbican
527 hosts:
528 default: barbican-api
529 public: barbican
530 host_fqdn_override:
531 default: null
532 path:
533 default: /
534 scheme:
535 default: http
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100536 service: http
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500537 port:
538 api:
539 default: 9311
540 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100541 service: 9311
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500542 oslo_db:
543 auth:
544 admin:
545 username: root
546 password: password
547 secret:
548 tls:
549 internal: mariadb-tls-direct
550 barbican:
551 username: barbican
552 password: password
553 hosts:
554 default: mariadb
555 host_fqdn_override:
556 default: null
557 path: /barbican
558 scheme: mysql+pymysql
559 port:
560 mysql:
561 default: 3306
562 oslo_messaging:
563 auth:
564 admin:
565 username: rabbitmq
566 password: password
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100567 secret:
568 tls:
569 internal: rabbitmq-tls-direct
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500570 barbican:
571 username: barbican
572 password: password
573 statefulset:
574 replicas: 2
575 name: rabbitmq-rabbitmq
576 hosts:
577 default: rabbitmq
578 host_fqdn_override:
579 default: null
580 path: /barbican
581 scheme: rabbit
582 port:
583 amqp:
584 default: 5672
585 http:
586 default: 15672
587 oslo_cache:
588 auth:
589 # NOTE(portdirect): this is used to define the value for keystone
590 # authtoken cache encryption key, if not set it will be populated
591 # automatically with a random value, but to take advantage of
592 # this feature all services should be set to use the same key,
593 # and memcache service.
594 memcache_secret_key: null
595 hosts:
596 default: memcached
597 host_fqdn_override:
598 default: null
599 port:
600 memcache:
601 default: 11211
602 fluentd:
603 namespace: null
604 name: fluentd
605 hosts:
606 default: fluentd-logging
607 host_fqdn_override:
608 default: null
609 path:
610 default: null
611 scheme: 'http'
612 port:
613 service:
614 default: 24224
615 metrics:
616 default: 24220
617 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
618 # They are using to enable the Egress K8s network policy.
619 kube_dns:
620 namespace: kube-system
621 name: kubernetes-dns
622 hosts:
623 default: kube-dns
624 host_fqdn_override:
625 default: null
626 path:
627 default: null
628 scheme: http
629 port:
630 dns:
631 default: 53
632 protocol: UDP
633 ingress:
634 namespace: null
635 name: ingress
636 hosts:
637 default: ingress
638 port:
639 ingress:
640 default: 80
641
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100642tls:
643 identity: false
644 oslo_messaging: false
645 oslo_db: false
646
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500647manifests:
648 certificates: false
649 configmap_bin: true
650 configmap_etc: true
651 deployment_api: true
652 ingress_api: true
653 job_bootstrap: true
654 job_db_init: true
655 job_db_sync: true
656 job_db_drop: false
657 job_image_repo_sync: true
658 job_rabbit_init: true
659 job_ks_endpoints: true
660 job_ks_service: true
661 job_ks_user: true
662 pdb_api: true
663 pod_test: true
664 secret_db: true
665 network_policy: false
666 secret_ingress_tls: true
667 secret_keystone: true
668 secret_rabbitmq: true
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100669 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500670 service_ingress_api: true
671 service_api: true
672...