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