blob: 5c598ede453a07fd55718043b33f998285858bfb [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
88 mounts:
89 barbican_api:
90 init_container: null
91 barbican_api:
92 volumeMounts:
93 volumes:
94 barbican_bootstrap:
95 init_container: null
96 barbican_bootstrap:
97 volumeMounts:
98 volumes:
99 barbican_tests:
100 init_container: null
101 barbican_tests:
102 volumeMounts:
103 volumes:
104 barbican_db_sync:
105 barbican_db_sync:
106 volumeMounts:
107 volumes:
108 replicas:
109 api: 1
110 lifecycle:
111 upgrades:
112 deployments:
113 revision_history: 3
114 pod_replacement_strategy: RollingUpdate
115 rolling_update:
116 max_unavailable: 1
117 max_surge: 3
118 disruption_budget:
119 api:
120 min_available: 0
121 resources:
122 enabled: false
123 api:
124 requests:
125 memory: "128Mi"
126 cpu: "100m"
127 limits:
128 memory: "1024Mi"
129 cpu: "2000m"
130 jobs:
131 bootstrap:
132 requests:
133 memory: "128Mi"
134 cpu: "100m"
135 limits:
136 memory: "1024Mi"
137 cpu: "2000m"
138 db_init:
139 requests:
140 memory: "128Mi"
141 cpu: "100m"
142 limits:
143 memory: "1024Mi"
144 cpu: "2000m"
145 db_sync:
146 requests:
147 memory: "128Mi"
148 cpu: "100m"
149 limits:
150 memory: "1024Mi"
151 cpu: "2000m"
152 db_drop:
153 requests:
154 memory: "128Mi"
155 cpu: "100m"
156 limits:
157 memory: "1024Mi"
158 cpu: "2000m"
159 rabbit_init:
160 requests:
161 memory: "128Mi"
162 cpu: "100m"
163 limits:
164 memory: "1024Mi"
165 cpu: "2000m"
166 ks_endpoints:
167 requests:
168 memory: "128Mi"
169 cpu: "100m"
170 limits:
171 memory: "1024Mi"
172 cpu: "2000m"
173 ks_service:
174 requests:
175 memory: "128Mi"
176 cpu: "100m"
177 limits:
178 memory: "1024Mi"
179 cpu: "2000m"
180 ks_user:
181 requests:
182 memory: "128Mi"
183 cpu: "100m"
184 limits:
185 memory: "1024Mi"
186 cpu: "2000m"
187 tests:
188 requests:
189 memory: "128Mi"
190 cpu: "100m"
191 limits:
192 memory: "1024Mi"
193 cpu: "2000m"
194 image_repo_sync:
195 requests:
196 memory: "128Mi"
197 cpu: "100m"
198 limits:
199 memory: "1024Mi"
200 cpu: "2000m"
201
202network:
203 api:
204 ingress:
205 public: true
206 classes:
207 namespace: "nginx"
208 cluster: "nginx-cluster"
209 annotations:
210 nginx.ingress.kubernetes.io/rewrite-target: /
211 external_policy_local: false
212 node_port:
213 enabled: false
214 port: 30486
215
216network_policy:
217 barbican:
218 ingress:
219 - {}
220 egress:
221 - {}
222
223bootstrap:
224 enabled: false
225 ks_user: barbican
226 script: |
227 openstack token issue
228
229dependencies:
230 dynamic:
231 common:
232 local_image_registry:
233 jobs:
234 - barbican-image-repo-sync
235 services:
236 - endpoint: node
237 service: local_image_registry
238 static:
239 api:
240 jobs:
241 - barbican-db-sync
242 - barbican-ks-user
243 - barbican-ks-endpoints
244 - barbican-rabbit-init
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 - barbican-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 ks_endpoints:
271 jobs:
272 - barbican-ks-service
273 services:
274 - endpoint: internal
275 service: identity
276 ks_service:
277 services:
278 - endpoint: internal
279 service: identity
280 ks_user:
281 services:
282 - endpoint: internal
283 service: identity
284 rabbit_init:
285 services:
286 - endpoint: internal
287 service: oslo_messaging
288
289conf:
290 paste:
291 composite:main:
292 use: egg:Paste#urlmap
293 /: barbican_version
294 /v1: barbican-api-keystone
295 pipeline:barbican_version:
296 pipeline: cors http_proxy_to_wsgi versionapp
297 pipeline:barbican_api:
298 pipeline: cors http_proxy_to_wsgi unauthenticated-context apiapp
299 pipeline:barbican-profile:
300 pipeline: cors http_proxy_to_wsgi unauthenticated-context egg:Paste#cgitb egg:Paste#httpexceptions profile apiapp
301 pipeline:barbican-api-keystone:
302 pipeline: cors http_proxy_to_wsgi authtoken context apiapp
303 pipeline:barbican-api-keystone-audit:
304 pipeline: http_proxy_to_wsgi authtoken context audit apiapp
305 app:apiapp:
306 paste.app_factory: barbican.api.app:create_main_app
307 app:versionapp:
308 paste.app_factory: barbican.api.app:create_version_app
309 filter:simple:
310 paste.filter_factory: barbican.api.middleware.simple:SimpleFilter.factory
311 filter:unauthenticated-context:
312 paste.filter_factory: barbican.api.middleware.context:UnauthenticatedContextMiddleware.factory
313 filter:context:
314 paste.filter_factory: barbican.api.middleware.context:ContextMiddleware.factory
315 filter:audit:
316 paste.filter_factory: keystonemiddleware.audit:filter_factory
317 audit_map_file: /etc/barbican/api_audit_map.conf
318 filter:authtoken:
319 paste.filter_factory: keystonemiddleware.auth_token:filter_factory
320 filter:profile:
321 use: egg:repoze.profile
322 log_filename: myapp.profile
323 cachegrind_filename: cachegrind.out.myapp
324 discard_first_request: true
325 path: /__profile__
326 flush_at_shutdown: true
327 unwind: false
328 filter:cors:
329 paste.filter_factory: oslo_middleware.cors:filter_factory
330 oslo_config_project: barbican
331 filter:http_proxy_to_wsgi:
332 paste.filter_factory: oslo_middleware:HTTPProxyToWSGI.factory
333 policy: {}
334 audit_map:
335 DEFAULT:
336 # default target endpoint type
337 # should match the endpoint type defined in service catalog
338 target_endpoint_type: key-manager
339 custom_actions:
340 # map urls ending with specific text to a unique action
341 # Don't need custom mapping for other resource operations
342 # Note: action should match action names defined in CADF taxonomy
343 acl/get: read
344 path_keywords:
345 # path of api requests for CADF target typeURI
346 # Just need to include top resource path to identify class of resources
347 secrets: null
348 containers: null
349 orders: null
350 cas: "None"
351 quotas: null
352 project-quotas: null
353 service_endpoints:
354 # map endpoint type defined in service catalog to CADF typeURI
355 key-manager: service/security/keymanager
356 barbican_api:
357 uwsgi:
358 socket: null
359 protocol: http
360 processes: 1
361 lazy: true
362 vacuum: true
363 no-default-app: true
364 memory-report: true
365 plugins: python
366 paste: "config:/etc/barbican/barbican-api-paste.ini"
367 add-header: "Connection: close"
368 barbican:
369 DEFAULT:
370 transport_url: null
371 log_config_append: /etc/barbican/logging.conf
372 keystone_authtoken:
373 auth_type: password
374 auth_version: v3
375 memcache_security_strategy: ENCRYPT
376 memcache_secret_key: null
377 database:
378 max_retries: -1
379 barbican_api:
380 # NOTE(portdirect): the bind port should not be defined, and is manipulated
381 # via the endpoints section.
382 bind_port: null
383 oslo_policy:
384 policy_file: /etc/barbican/policy.yaml
385 # When using the simple_crypto_plugin, a kek must be provided as:
386 # .conf.barbican.simple_crypto_plugin.kek
387 # If no kek is provided, barbican will use a well-known default.
388 # If upgrading the chart with a new kek, the old kek must be provided as:
389 # .conf.simple_crypto_plugin_rewrap.old_kek
390 # Please refer to the .conf.simple_crypto_key_rewrap section below.
391 # The barbican defaults are included here as a reference:
392 # secretstore:
393 # enabled_secretstore_plugins:
394 # - store_crypto
395 # crypto:
396 # enabled_crypto_plugins:
397 # - simple_crypto
398 # simple_crypto_plugin:
399 # # The kek should be a 32-byte value which is base64 encoded.
400 # kek: "dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg="
401 # KEK rotation for the simple_crypto plugin
402 simple_crypto_kek_rewrap:
403
404 # To allow for chart upgrades when modifying the Key Encryption Key, the
405 # db-sync job can rewrap the existing project keys with the new kek, leaving
406 # each secret’s encrypted data unchanged.
407
408 # This feature is enabled automatically, if a kek is specified at:
409 # .conf.barbican.simple_crypto_plugin.kek
410 # and the previous kek is also specified at:
411 # .conf.simple_crypto_kek_rewrap.old_kek
412
413 # The project keys are decrypted with 'old_kek' and re-encrypted with the
414 # target kek (as defined in barbican.conf).
415 # This resembles the lightweight rotation described here, which was never
416 # implemented for the simple crypto plugin:
417 # https://specs.openstack.org/openstack/barbican-specs/specs/liberty/add-crypto-mkek-rotation-support-lightweight.html
418
419 # The KEK value "dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg=" matches the
420 # plugin default, and is retained here for convenience, in case the chart was
421 # previously installed without explicitly specifying a kek.
422 old_kek: "dGhpcnR5X3R3b19ieXRlX2tleWJsYWhibGFoYmxhaGg="
423 logging:
424 loggers:
425 keys:
426 - root
427 - barbican
428 handlers:
429 keys:
430 - stdout
431 - stderr
432 - "null"
433 formatters:
434 keys:
435 - context
436 - default
437 logger_root:
438 level: WARNING
439 handlers: 'null'
440 logger_barbican:
441 level: INFO
442 handlers:
443 - stdout
444 qualname: barbican
445 logger_amqp:
446 level: WARNING
447 handlers: stderr
448 qualname: amqp
449 logger_amqplib:
450 level: WARNING
451 handlers: stderr
452 qualname: amqplib
453 logger_eventletwsgi:
454 level: WARNING
455 handlers: stderr
456 qualname: eventlet.wsgi.server
457 logger_sqlalchemy:
458 level: WARNING
459 handlers: stderr
460 qualname: sqlalchemy
461 logger_boto:
462 level: WARNING
463 handlers: stderr
464 qualname: boto
465 handler_null:
466 class: logging.NullHandler
467 formatter: default
468 args: ()
469 handler_stdout:
470 class: StreamHandler
471 args: (sys.stdout,)
472 formatter: context
473 handler_stderr:
474 class: StreamHandler
475 args: (sys.stderr,)
476 formatter: context
477 formatter_context:
478 class: oslo_log.formatters.ContextFormatter
479 datefmt: "%Y-%m-%d %H:%M:%S"
480 formatter_default:
481 format: "%(message)s"
482 datefmt: "%Y-%m-%d %H:%M:%S"
483
484# Names of secrets used by bootstrap and environmental checks
485secrets:
486 identity:
487 admin: barbican-keystone-admin
488 barbican: barbican-keystone-user
489 oslo_db:
490 admin: barbican-db-admin
491 barbican: barbican-db-user
492 oslo_messaging:
493 admin: barbican-rabbitmq-admin
494 barbican: barbican-rabbitmq-user
495 tls:
496 key_manager:
497 api:
498 public: barbican-tls-public
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100499 internal: barbican-tls-internal
500 oci_image_registry:
501 barbican: barbican-oci-image-registry
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500502
503endpoints:
504 cluster_domain_suffix: cluster.local
505 local_image_registry:
506 name: docker-registry
507 namespace: docker-registry
508 hosts:
509 default: localhost
510 internal: docker-registry
511 node: localhost
512 host_fqdn_override:
513 default: null
514 port:
515 registry:
516 node: 5000
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100517 oci_image_registry:
518 name: oci-image-registry
519 namespace: oci-image-registry
520 auth:
521 enabled: false
522 barbican:
523 username: barbican
524 password: password
525 hosts:
526 default: localhost
527 host_fqdn_override:
528 default: null
529 port:
530 registry:
531 default: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500532 identity:
533 name: keystone
534 auth:
535 admin:
536 region_name: RegionOne
537 username: admin
538 password: password
539 project_name: admin
540 user_domain_name: default
541 project_domain_name: default
542 barbican:
543 role: admin
544 region_name: RegionOne
545 username: barbican
546 password: password
547 project_name: service
548 user_domain_name: service
549 project_domain_name: service
550 hosts:
551 default: keystone
552 internal: keystone-api
553 host_fqdn_override:
554 default: null
555 path:
556 default: /v3
557 scheme:
558 default: http
559 port:
560 api:
561 default: 80
562 internal: 5000
563 key_manager:
564 name: barbican
565 hosts:
566 default: barbican-api
567 public: barbican
568 host_fqdn_override:
569 default: null
570 path:
571 default: /
572 scheme:
573 default: http
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100574 service: http
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500575 port:
576 api:
577 default: 9311
578 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100579 service: 9311
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500580 oslo_db:
581 auth:
582 admin:
583 username: root
584 password: password
585 secret:
586 tls:
587 internal: mariadb-tls-direct
588 barbican:
589 username: barbican
590 password: password
591 hosts:
592 default: mariadb
593 host_fqdn_override:
594 default: null
595 path: /barbican
596 scheme: mysql+pymysql
597 port:
598 mysql:
599 default: 3306
600 oslo_messaging:
601 auth:
602 admin:
603 username: rabbitmq
604 password: password
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100605 secret:
606 tls:
607 internal: rabbitmq-tls-direct
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500608 barbican:
609 username: barbican
610 password: password
611 statefulset:
612 replicas: 2
613 name: rabbitmq-rabbitmq
614 hosts:
615 default: rabbitmq
616 host_fqdn_override:
617 default: null
618 path: /barbican
619 scheme: rabbit
620 port:
621 amqp:
622 default: 5672
623 http:
624 default: 15672
625 oslo_cache:
626 auth:
627 # NOTE(portdirect): this is used to define the value for keystone
628 # authtoken cache encryption key, if not set it will be populated
629 # automatically with a random value, but to take advantage of
630 # this feature all services should be set to use the same key,
631 # and memcache service.
632 memcache_secret_key: null
633 hosts:
634 default: memcached
635 host_fqdn_override:
636 default: null
637 port:
638 memcache:
639 default: 11211
640 fluentd:
641 namespace: null
642 name: fluentd
643 hosts:
644 default: fluentd-logging
645 host_fqdn_override:
646 default: null
647 path:
648 default: null
649 scheme: 'http'
650 port:
651 service:
652 default: 24224
653 metrics:
654 default: 24220
655 # NOTE(tp6510): these endpoints allow for things like DNS lookups and ingress
656 # They are using to enable the Egress K8s network policy.
657 kube_dns:
658 namespace: kube-system
659 name: kubernetes-dns
660 hosts:
661 default: kube-dns
662 host_fqdn_override:
663 default: null
664 path:
665 default: null
666 scheme: http
667 port:
668 dns:
669 default: 53
670 protocol: UDP
671 ingress:
672 namespace: null
673 name: ingress
674 hosts:
675 default: ingress
676 port:
677 ingress:
678 default: 80
679
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100680tls:
681 identity: false
682 oslo_messaging: false
683 oslo_db: false
684
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500685manifests:
686 certificates: false
687 configmap_bin: true
688 configmap_etc: true
689 deployment_api: true
690 ingress_api: true
691 job_bootstrap: true
692 job_db_init: true
693 job_db_sync: true
694 job_db_drop: false
695 job_image_repo_sync: true
696 job_rabbit_init: true
697 job_ks_endpoints: true
698 job_ks_service: true
699 job_ks_user: true
700 pdb_api: true
701 pod_test: true
702 secret_db: true
703 network_policy: false
704 secret_ingress_tls: true
705 secret_keystone: true
706 secret_rabbitmq: true
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100707 secret_registry: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500708 service_ingress_api: true
709 service_api: true
710...