blob: e0499bbc38f80274f1f2cf91e6da8f05e0f85907 [file] [log] [blame]
Mohammed Naserb7b97d62022-03-12 16:30:00 -05001# Copyright (c) 2022 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Mohammed Naser2145fc32023-01-29 23:23:03 +000015_horizon_helm_values:
Mohammed Naserb7b97d62022-03-12 16:30:00 -050016 endpoints: "{{ openstack_helm_endpoints }}"
17 images:
Michiel Piscaer60d09f92023-01-20 18:58:55 +010018 tags: "{{ atmosphere_images | vexxhost.atmosphere.openstack_helm_image_tags('horizon') }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050019 pod:
Mohammed Naser1b396e32025-02-05 14:07:02 -050020 security_context:
21 horizon:
22 pod:
23 fsGroup: 42424
24 db_sync:
25 pod:
26 fsGroup: 42424
27 tests:
28 pod:
29 fsGroup: 42424
Mohammed Naserb7b97d62022-03-12 16:30:00 -050030 replicas:
31 server: 3
32 conf:
33 horizon:
34 local_settings:
35 config:
Mohammed Naser876cb212023-02-24 15:27:00 -050036 disallow_iframe_embed: "True"
Mohammed Naser1b396e32025-02-05 14:07:02 -050037 allowed_hosts:
38 - "{{ openstack_helm_endpoints_horizon_api_host }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050039 secure_proxy_ssl_header: "True"
40 horizon_images_upload_mode: direct
41 openstack_enable_password_retrieve: "True"
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +020042 auth:
43 sso:
44 enabled: true
45 initial_choice: "{{ (keystone_domains is defined) | ternary(keystone_domains[0].name, 'atmosphere') }}"
Rico Lind13b6a62024-07-05 01:23:22 +080046 idp_mapping: "{{ keystone_domains | default([{'name': (keystone_keycloak_realm | default('atmosphere')), 'label': (keystone_keycloak_realm_name | default('Atmosphere'))}]) | vexxhost.atmosphere.keystone_domains_to_idp_mappings }}" # noqa: yaml[line-length]
Mohammed Naserb7b97d62022-03-12 16:30:00 -050047 raw:
Mohammed Nasera0b1eb82023-10-04 23:06:52 -040048 OPENSTACK_SSL_NO_VERIFY: "{{ ((cluster_issuer_type | default('self-signed')) == 'self-signed') | ternary('True', 'False') | string }}"
Mohammed Naser511c3fa2022-03-17 17:54:10 -040049 WEBSSO_KEYSTONE_URL: https://{{ openstack_helm_endpoints['identity']['host_fqdn_override']['public']['host'] }}/v3
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +020050 # yamllint disable-line rule:line-length
51 LOGOUT_URL: https://{{ openstack_helm_endpoints['identity']['host_fqdn_override']['public']['host'] }}/v3/auth/OS-FEDERATION/identity_providers/redirect?logout=https://{{ openstack_helm_endpoints_horizon_api_host }}/auth/logout/
Giovanni Tirlonia4cdb012024-07-25 17:16:33 -030052 openstack_cinder_features:
53 enable_backup: "{{ cinder_helm_values.manifests.deployment_backup | default(True) | ternary('True', 'False') | string }}"
Mohammed Naserb7b97d62022-03-12 16:30:00 -050054 extra_panels:
55 - designatedashboard
56 - heat_dashboard
57 - ironic_ui
58 - magnum_ui
okozachenko12034d68d312023-03-24 23:54:30 +110059 - manila_ui
Mohammed Naserb7b97d62022-03-12 16:30:00 -050060 - monitoring
61 - neutron_vpnaas_dashboard
62 - octavia_dashboard
Mohammed Naserb7b97d62022-03-12 16:30:00 -050063 manifests:
64 ingress_api: false
65 service_ingress_api: false
Mohammed Naser66a446c2023-02-21 03:11:56 +000066
67_horizon_ingress_annotations:
68 nginx.ingress.kubernetes.io/proxy-body-size: "5000m"
69 nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
Mohammed Naser1b396e32025-02-05 14:07:02 -050070 nginx.ingress.kubernetes.io/enable-cors: "true"
71 nginx.ingress.kubernetes.io/cors-allow-origin: "{{ openstack_helm_endpoints_horizon_api_host }}"