Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 1 | # 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 magnum. |
| 14 | # This is a YAML-formatted file. |
| 15 | # Declare name/value pairs to be passed into your templates. |
| 16 | # name: value |
| 17 | |
| 18 | --- |
| 19 | release_group: null |
| 20 | |
| 21 | labels: |
| 22 | api: |
| 23 | node_selector_key: openstack-control-plane |
| 24 | node_selector_value: enabled |
| 25 | conductor: |
| 26 | node_selector_key: openstack-control-plane |
| 27 | node_selector_value: enabled |
| 28 | job: |
| 29 | node_selector_key: openstack-control-plane |
| 30 | node_selector_value: enabled |
| 31 | |
| 32 | images: |
| 33 | tags: |
| 34 | bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal |
| 35 | db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal |
| 36 | magnum_db_sync: docker.io/openstackhelm/magnum:wallaby-ubuntu_focal |
| 37 | db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal |
| 38 | rabbit_init: docker.io/rabbitmq:3.7-management |
| 39 | ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal |
| 40 | ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal |
| 41 | ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal |
| 42 | magnum_api: docker.io/openstackhelm/magnum:wallaby-ubuntu_focal |
| 43 | magnum_conductor: docker.io/openstackhelm/magnum:wallaby-ubuntu_focal |
| 44 | dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0 |
| 45 | image_repo_sync: docker.io/docker:17.07.0 |
| 46 | pull_policy: "IfNotPresent" |
| 47 | local_registry: |
| 48 | active: false |
| 49 | exclude: |
| 50 | - dep_check |
| 51 | - image_repo_sync |
| 52 | |
| 53 | conf: |
okozachenko1203 | 5aa4849 | 2023-09-05 19:47:07 +1000 | [diff] [blame] | 54 | paste: |
| 55 | pipeline:main: |
| 56 | pipeline: cors healthcheck request_id authtoken api_v1 |
| 57 | app:api_v1: |
| 58 | paste.app_factory: magnum.api.app:app_factory |
| 59 | filter:authtoken: |
| 60 | acl_public_routes: /, /v1 |
| 61 | paste.filter_factory: magnum.api.middleware.auth_token:AuthTokenMiddleware.factory |
| 62 | filter:request_id: |
| 63 | paste.filter_factory: oslo_middleware:RequestId.factory |
| 64 | filter:cors: |
| 65 | paste.filter_factory: oslo_middleware.cors:filter_factory |
| 66 | oslo_config_project: magnum |
| 67 | filter:healthcheck: |
| 68 | paste.filter_factory: oslo_middleware:Healthcheck.factory |
| 69 | backends: disable_by_file |
| 70 | disable_by_file_path: /etc/magnum/healthcheck_disable |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 71 | policy: {} |
| 72 | magnum: |
| 73 | DEFAULT: |
| 74 | log_config_append: /etc/magnum/logging.conf |
| 75 | transport_url: null |
| 76 | cluster: |
| 77 | temp_cache_dir: /var/lib/magnum/certificate-cache |
| 78 | oslo_messaging_notifications: |
| 79 | driver: messaging |
| 80 | oslo_concurrency: |
| 81 | lock_path: /var/lib/magnum/tmp |
| 82 | oslo_policy: |
| 83 | policy_file: /etc/magnum/policy.yaml |
| 84 | certificates: |
| 85 | cert_manager_type: barbican |
| 86 | database: |
| 87 | max_retries: -1 |
| 88 | trust: |
| 89 | trustee_domain_name: null |
| 90 | keystone_authtoken: |
| 91 | auth_type: password |
| 92 | auth_version: v3 |
| 93 | memcache_security_strategy: ENCRYPT |
Oleksandr Kozachenko | c0022be | 2023-05-23 20:36:21 +0200 | [diff] [blame] | 94 | service_type: container-infra |
Mohammed Naser | f3f59a7 | 2023-01-15 21:02:04 -0500 | [diff] [blame] | 95 | api: |
| 96 | # NOTE(portdirect): the bind port should not be defined, and is manipulated |
| 97 | # via the endpoints section. |
| 98 | port: null |
| 99 | host: 0.0.0.0 |
| 100 | logging: |
| 101 | loggers: |
| 102 | keys: |
| 103 | - root |
| 104 | - magnum |
| 105 | handlers: |
| 106 | keys: |
| 107 | - stdout |
| 108 | - stderr |
| 109 | - "null" |
| 110 | formatters: |
| 111 | keys: |
| 112 | - context |
| 113 | - default |
| 114 | logger_root: |
| 115 | level: WARNING |
| 116 | handlers: 'null' |
| 117 | logger_magnum: |
| 118 | level: INFO |
| 119 | handlers: |
| 120 | - stdout |
| 121 | qualname: magnum |
| 122 | logger_amqp: |
| 123 | level: WARNING |
| 124 | handlers: stderr |
| 125 | qualname: amqp |
| 126 | logger_amqplib: |
| 127 | level: WARNING |
| 128 | handlers: stderr |
| 129 | qualname: amqplib |
| 130 | logger_eventletwsgi: |
| 131 | level: WARNING |
| 132 | handlers: stderr |
| 133 | qualname: eventlet.wsgi.server |
| 134 | logger_sqlalchemy: |
| 135 | level: WARNING |
| 136 | handlers: stderr |
| 137 | qualname: sqlalchemy |
| 138 | logger_boto: |
| 139 | level: WARNING |
| 140 | handlers: stderr |
| 141 | qualname: boto |
| 142 | handler_null: |
| 143 | class: logging.NullHandler |
| 144 | formatter: default |
| 145 | args: () |
| 146 | handler_stdout: |
| 147 | class: StreamHandler |
| 148 | args: (sys.stdout,) |
| 149 | formatter: context |
| 150 | handler_stderr: |
| 151 | class: StreamHandler |
| 152 | args: (sys.stderr,) |
| 153 | formatter: context |
| 154 | formatter_context: |
| 155 | class: oslo_log.formatters.ContextFormatter |
| 156 | datefmt: "%Y-%m-%d %H:%M:%S" |
| 157 | formatter_default: |
| 158 | format: "%(message)s" |
| 159 | datefmt: "%Y-%m-%d %H:%M:%S" |
| 160 | |
| 161 | network: |
| 162 | api: |
| 163 | ingress: |
| 164 | public: true |
| 165 | classes: |
| 166 | namespace: "nginx" |
| 167 | cluster: "nginx-cluster" |
| 168 | annotations: |
| 169 | nginx.ingress.kubernetes.io/rewrite-target: / |
| 170 | external_policy_local: false |
| 171 | node_port: |
| 172 | enabled: false |
| 173 | port: 30511 |
| 174 | |
| 175 | bootstrap: |
| 176 | enabled: false |
| 177 | ks_user: magnum |
| 178 | script: | |
| 179 | openstack token issue |
| 180 | |
| 181 | dependencies: |
| 182 | dynamic: |
| 183 | common: |
| 184 | local_image_registry: |
| 185 | jobs: |
| 186 | - magnum-image-repo-sync |
| 187 | services: |
| 188 | - endpoint: node |
| 189 | service: local_image_registry |
| 190 | static: |
| 191 | api: |
| 192 | jobs: |
| 193 | - magnum-db-sync |
| 194 | - magnum-ks-user |
| 195 | - magnum-domain-ks-user |
| 196 | - magnum-ks-endpoints |
| 197 | - magnum-rabbit-init |
| 198 | services: |
| 199 | - endpoint: internal |
| 200 | service: oslo_db |
| 201 | - endpoint: internal |
| 202 | service: identity |
| 203 | - endpoint: internal |
| 204 | service: oslo_messaging |
| 205 | - endpoint: internal |
| 206 | service: key_manager |
| 207 | - endpoint: internal |
| 208 | service: orchestration |
| 209 | conductor: |
| 210 | jobs: |
| 211 | - magnum-db-sync |
| 212 | - magnum-ks-user |
| 213 | - magnum-domain-ks-user |
| 214 | - magnum-ks-endpoints |
| 215 | - magnum-rabbit-init |
| 216 | services: |
| 217 | - endpoint: internal |
| 218 | service: oslo_db |
| 219 | - endpoint: internal |
| 220 | service: identity |
| 221 | - endpoint: internal |
| 222 | service: oslo_messaging |
| 223 | - endpoint: internal |
| 224 | service: key_manager |
| 225 | - endpoint: internal |
| 226 | service: orchestration |
| 227 | db_drop: |
| 228 | services: |
| 229 | - endpoint: internal |
| 230 | service: oslo_db |
| 231 | db_init: |
| 232 | services: |
| 233 | - endpoint: internal |
| 234 | service: oslo_db |
| 235 | db_sync: |
| 236 | jobs: |
| 237 | - magnum-db-init |
| 238 | services: |
| 239 | - endpoint: internal |
| 240 | service: oslo_db |
| 241 | ks_endpoints: |
| 242 | jobs: |
| 243 | - magnum-ks-service |
| 244 | services: |
| 245 | - endpoint: internal |
| 246 | service: identity |
| 247 | ks_service: |
| 248 | services: |
| 249 | - endpoint: internal |
| 250 | service: identity |
| 251 | ks_user: |
| 252 | services: |
| 253 | - endpoint: internal |
| 254 | service: identity |
| 255 | rabbit_init: |
| 256 | services: |
| 257 | - endpoint: internal |
| 258 | service: oslo_messaging |
| 259 | image_repo_sync: |
| 260 | services: |
| 261 | - endpoint: internal |
| 262 | service: local_image_registry |
| 263 | |
| 264 | # Names of secrets used by bootstrap and environmental checks |
| 265 | secrets: |
| 266 | identity: |
| 267 | admin: magnum-keystone-admin |
| 268 | magnum: magnum-keystone-user |
| 269 | magnum_stack_user: magnum-keystone-stack-user |
| 270 | oslo_db: |
| 271 | admin: magnum-db-admin |
| 272 | magnum: magnum-db-user |
| 273 | oslo_messaging: |
| 274 | admin: magnum-rabbitmq-admin |
| 275 | magnum: magnum-rabbitmq-user |
| 276 | oci_image_registry: |
| 277 | magnum: magnum-oci-image-registry |
| 278 | |
| 279 | # typically overridden by environmental |
| 280 | # values, but should include all endpoints |
| 281 | # required by this chart |
| 282 | endpoints: |
| 283 | cluster_domain_suffix: cluster.local |
| 284 | local_image_registry: |
| 285 | name: docker-registry |
| 286 | namespace: docker-registry |
| 287 | hosts: |
| 288 | default: localhost |
| 289 | internal: docker-registry |
| 290 | node: localhost |
| 291 | host_fqdn_override: |
| 292 | default: null |
| 293 | port: |
| 294 | registry: |
| 295 | node: 5000 |
| 296 | oci_image_registry: |
| 297 | name: oci-image-registry |
| 298 | namespace: oci-image-registry |
| 299 | auth: |
| 300 | enabled: false |
| 301 | magnum: |
| 302 | username: magnum |
| 303 | password: password |
| 304 | hosts: |
| 305 | default: localhost |
| 306 | host_fqdn_override: |
| 307 | default: null |
| 308 | port: |
| 309 | registry: |
| 310 | default: null |
| 311 | identity: |
| 312 | name: keystone |
| 313 | auth: |
| 314 | admin: |
| 315 | region_name: RegionOne |
| 316 | username: admin |
| 317 | password: password |
| 318 | project_name: admin |
| 319 | user_domain_name: default |
| 320 | project_domain_name: default |
| 321 | magnum: |
| 322 | role: admin |
| 323 | region_name: RegionOne |
| 324 | username: magnum |
| 325 | password: password |
| 326 | project_name: service |
| 327 | user_domain_name: service |
| 328 | project_domain_name: service |
| 329 | magnum_stack_user: |
| 330 | role: admin |
| 331 | region_name: RegionOne |
| 332 | username: magnum-domain |
| 333 | password: password |
| 334 | domain_name: magnum |
| 335 | hosts: |
| 336 | default: keystone |
| 337 | internal: keystone-api |
| 338 | host_fqdn_override: |
| 339 | default: null |
| 340 | path: |
| 341 | default: /v3 |
| 342 | scheme: |
| 343 | default: http |
| 344 | port: |
| 345 | api: |
| 346 | default: 80 |
| 347 | internal: 5000 |
| 348 | container_infra: |
| 349 | name: magnum |
| 350 | hosts: |
| 351 | default: magnum-api |
| 352 | public: magnum |
| 353 | host_fqdn_override: |
| 354 | default: null |
| 355 | path: |
| 356 | default: /v1 |
| 357 | scheme: |
| 358 | default: http |
| 359 | port: |
| 360 | api: |
| 361 | default: 9511 |
| 362 | public: 80 |
| 363 | key_manager: |
| 364 | name: barbican |
| 365 | hosts: |
| 366 | default: barbican-api |
| 367 | public: barbican |
| 368 | host_fqdn_override: |
| 369 | default: null |
| 370 | path: |
| 371 | default: /v1 |
| 372 | scheme: |
| 373 | default: http |
| 374 | port: |
| 375 | api: |
| 376 | default: 9311 |
| 377 | public: 80 |
| 378 | orchestration: |
| 379 | name: heat |
| 380 | hosts: |
| 381 | default: heat-api |
| 382 | public: heat |
| 383 | host_fqdn_override: |
| 384 | default: null |
| 385 | path: |
| 386 | default: '/v1/%(project_id)s' |
| 387 | scheme: |
| 388 | default: 'http' |
| 389 | port: |
| 390 | api: |
| 391 | default: 8004 |
| 392 | public: 80 |
| 393 | oslo_db: |
| 394 | auth: |
| 395 | admin: |
| 396 | username: root |
| 397 | password: password |
| 398 | magnum: |
| 399 | username: magnum |
| 400 | password: password |
| 401 | hosts: |
| 402 | default: mariadb |
| 403 | host_fqdn_override: |
| 404 | default: null |
| 405 | path: /magnum |
| 406 | scheme: mysql+pymysql |
| 407 | port: |
| 408 | mysql: |
| 409 | default: 3306 |
| 410 | oslo_cache: |
| 411 | auth: |
| 412 | # NOTE(portdirect): this is used to define the value for keystone |
| 413 | # authtoken cache encryption key, if not set it will be populated |
| 414 | # automatically with a random value, but to take advantage of |
| 415 | # this feature all services should be set to use the same key, |
| 416 | # and memcache service. |
| 417 | memcache_secret_key: null |
| 418 | hosts: |
| 419 | default: memcached |
| 420 | host_fqdn_override: |
| 421 | default: null |
| 422 | port: |
| 423 | memcache: |
| 424 | default: 11211 |
| 425 | oslo_messaging: |
| 426 | auth: |
| 427 | admin: |
| 428 | username: rabbitmq |
| 429 | password: password |
| 430 | magnum: |
| 431 | username: magnum |
| 432 | password: password |
| 433 | statefulset: |
| 434 | replicas: 2 |
| 435 | name: rabbitmq-rabbitmq |
| 436 | hosts: |
| 437 | default: rabbitmq |
| 438 | host_fqdn_override: |
| 439 | default: null |
| 440 | path: /magnum |
| 441 | scheme: rabbit |
| 442 | port: |
| 443 | amqp: |
| 444 | default: 5672 |
| 445 | http: |
| 446 | default: 15672 |
| 447 | fluentd: |
| 448 | namespace: null |
| 449 | name: fluentd |
| 450 | hosts: |
| 451 | default: fluentd-logging |
| 452 | host_fqdn_override: |
| 453 | default: null |
| 454 | path: |
| 455 | default: null |
| 456 | scheme: 'http' |
| 457 | port: |
| 458 | service: |
| 459 | default: 24224 |
| 460 | metrics: |
| 461 | default: 24220 |
| 462 | |
| 463 | pod: |
| 464 | user: |
| 465 | magnum: |
| 466 | uid: 42424 |
| 467 | affinity: |
| 468 | anti: |
| 469 | type: |
| 470 | default: preferredDuringSchedulingIgnoredDuringExecution |
| 471 | topologyKey: |
| 472 | default: kubernetes.io/hostname |
| 473 | weight: |
| 474 | default: 10 |
| 475 | mounts: |
| 476 | magnum_api: |
| 477 | init_container: null |
| 478 | magnum_api: |
| 479 | volumeMounts: |
| 480 | volumes: |
| 481 | magnum_conductor: |
| 482 | init_container: null |
| 483 | magnum_conductor: |
| 484 | volumeMounts: |
| 485 | volumes: |
| 486 | magnum_bootstrap: |
| 487 | init_container: null |
| 488 | magnum_bootstrap: |
| 489 | volumeMounts: |
| 490 | volumes: |
| 491 | magnum_db_sync: |
| 492 | magnum_db_sync: |
| 493 | volumeMounts: |
| 494 | volumes: |
| 495 | replicas: |
| 496 | api: 1 |
| 497 | conductor: 1 |
| 498 | lifecycle: |
| 499 | upgrades: |
| 500 | deployments: |
| 501 | revision_history: 3 |
| 502 | pod_replacement_strategy: RollingUpdate |
| 503 | rolling_update: |
| 504 | max_unavailable: 1 |
| 505 | max_surge: 3 |
| 506 | disruption_budget: |
| 507 | api: |
| 508 | min_available: 0 |
| 509 | termination_grace_period: |
| 510 | api: |
| 511 | timeout: 30 |
| 512 | resources: |
| 513 | enabled: false |
| 514 | api: |
| 515 | requests: |
| 516 | memory: "128Mi" |
| 517 | cpu: "100m" |
| 518 | limits: |
| 519 | memory: "1024Mi" |
| 520 | cpu: "2000m" |
| 521 | conductor: |
| 522 | requests: |
| 523 | memory: "128Mi" |
| 524 | cpu: "100m" |
| 525 | limits: |
| 526 | memory: "1024Mi" |
| 527 | cpu: "2000m" |
| 528 | jobs: |
| 529 | bootstrap: |
| 530 | requests: |
| 531 | memory: "128Mi" |
| 532 | cpu: "100m" |
| 533 | limits: |
| 534 | memory: "1024Mi" |
| 535 | cpu: "2000m" |
| 536 | db_init: |
| 537 | requests: |
| 538 | memory: "128Mi" |
| 539 | cpu: "100m" |
| 540 | limits: |
| 541 | memory: "1024Mi" |
| 542 | cpu: "2000m" |
| 543 | db_sync: |
| 544 | requests: |
| 545 | memory: "128Mi" |
| 546 | cpu: "100m" |
| 547 | limits: |
| 548 | memory: "1024Mi" |
| 549 | cpu: "2000m" |
| 550 | db_drop: |
| 551 | requests: |
| 552 | memory: "128Mi" |
| 553 | cpu: "100m" |
| 554 | limits: |
| 555 | memory: "1024Mi" |
| 556 | cpu: "2000m" |
| 557 | ks_endpoints: |
| 558 | requests: |
| 559 | memory: "128Mi" |
| 560 | cpu: "100m" |
| 561 | limits: |
| 562 | memory: "1024Mi" |
| 563 | cpu: "2000m" |
| 564 | ks_service: |
| 565 | requests: |
| 566 | memory: "128Mi" |
| 567 | cpu: "100m" |
| 568 | limits: |
| 569 | memory: "1024Mi" |
| 570 | cpu: "2000m" |
| 571 | ks_user: |
| 572 | requests: |
| 573 | memory: "128Mi" |
| 574 | cpu: "100m" |
| 575 | limits: |
| 576 | memory: "1024Mi" |
| 577 | cpu: "2000m" |
| 578 | rabbit_init: |
| 579 | requests: |
| 580 | memory: "128Mi" |
| 581 | cpu: "100m" |
| 582 | limits: |
| 583 | memory: "1024Mi" |
| 584 | cpu: "2000m" |
| 585 | tests: |
| 586 | requests: |
| 587 | memory: "128Mi" |
| 588 | cpu: "100m" |
| 589 | limits: |
| 590 | memory: "1024Mi" |
| 591 | cpu: "2000m" |
| 592 | image_repo_sync: |
| 593 | requests: |
| 594 | memory: "128Mi" |
| 595 | cpu: "100m" |
| 596 | limits: |
| 597 | memory: "1024Mi" |
| 598 | cpu: "2000m" |
| 599 | |
| 600 | |
| 601 | network_policy: |
| 602 | magnum: |
| 603 | ingress: |
| 604 | - {} |
| 605 | egress: |
| 606 | - {} |
| 607 | |
| 608 | manifests: |
| 609 | configmap_bin: true |
| 610 | configmap_etc: true |
| 611 | deployment_api: true |
| 612 | ingress_api: true |
| 613 | job_bootstrap: true |
| 614 | job_db_init: true |
| 615 | job_db_sync: true |
| 616 | job_db_drop: false |
| 617 | job_image_repo_sync: true |
| 618 | job_ks_endpoints: true |
| 619 | job_ks_service: true |
| 620 | job_ks_user_domain: true |
| 621 | job_ks_user: true |
| 622 | job_rabbit_init: true |
| 623 | pdb_api: true |
| 624 | network_policy: false |
| 625 | secret_db: true |
| 626 | secret_keystone: true |
| 627 | secret_rabbitmq: true |
| 628 | secret_registry: true |
| 629 | service_api: true |
| 630 | service_ingress_api: true |
| 631 | statefulset_conductor: true |
| 632 | ... |