guilhermesteinmuller | d534062 | 2023-01-24 17:57:10 +0000 | [diff] [blame] | 1 | # Copyright (c) 2023 VEXXHOST, Inc. |
Mohammed Naser | ab033e1 | 2022-03-13 21:07:28 -0400 | [diff] [blame] | 2 | # |
guilhermesteinmuller | d534062 | 2023-01-24 17:57:10 +0000 | [diff] [blame] | 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 |
okozachenko | 564a2ac | 2022-05-27 19:03:19 +1000 | [diff] [blame] | 6 | # |
guilhermesteinmuller | d534062 | 2023-01-24 17:57:10 +0000 | [diff] [blame] | 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 Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 15 | keystone_helm_release_name: keystone |
Mohammed Naser | 574d650 | 2023-03-21 23:34:48 +0000 | [diff] [blame] | 16 | keystone_helm_chart_path: "../../charts/keystone/" |
Mohammed Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 17 | keystone_helm_chart_ref: /usr/local/src/keystone |
guilhermesteinmuller | d534062 | 2023-01-24 17:57:10 +0000 | [diff] [blame] | 18 | |
Mohammed Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 19 | keystone_helm_release_namespace: openstack |
Austin Talbot | 78a774a | 2024-09-25 10:15:36 -0600 | [diff] [blame] | 20 | keystone_helm_kubeconfig: "{{ kubeconfig_path | default('/etc/kubernetes/admin.conf') }}" |
Mohammed Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 21 | keystone_helm_values: {} |
guilhermesteinmuller | d534062 | 2023-01-24 17:57:10 +0000 | [diff] [blame] | 22 | |
Mohammed Naser | c139abc | 2025-02-05 14:03:20 -0500 | [diff] [blame] | 23 | # Class name to use for the Ingress |
| 24 | keystone_ingress_class_name: "{{ atmosphere_ingress_class_name }}" |
| 25 | |
guilhermesteinmuller | d534062 | 2023-01-24 17:57:10 +0000 | [diff] [blame] | 26 | # List of annotations to apply to the Ingress |
Mohammed Naser | 2145fc3 | 2023-01-29 23:23:03 +0000 | [diff] [blame] | 27 | keystone_ingress_annotations: {} |
Oleksandr Kozachenko | b009349 | 2023-09-06 21:43:47 +0200 | [diff] [blame] | 28 | |
| 29 | # The following set of variables can be used for simple setups where you can |
| 30 | # only need a single domain and realm. You can use the `keystone_domains` |
| 31 | # variable to configure more complex setups. |
| 32 | keystone_keycloak_server_url: "https://{{ keycloak_host }}" |
| 33 | keystone_keycloak_server_internal_url: http://keycloak.auth-system.svc |
| 34 | keystone_keycloak_user_realm_name: master |
| 35 | keystone_keycloak_admin_client_id: admin-cli |
| 36 | keystone_keycloak_admin_user: admin |
| 37 | keystone_keycloak_admin_password: "{{ keycloak_admin_password }}" |
| 38 | keystone_keycloak_realm: atmosphere |
| 39 | keystone_keycloak_realm_name: Atmosphere |
Mohammed Naser | 2e5a63a | 2025-02-05 15:25:25 -0500 | [diff] [blame] | 40 | # keystone_keycloak_realm_default_password_policy: |
| 41 | # keystone_keycloak_realm_default_brute_force_protected: |
| 42 | # keystone_keycloak_realm_default_brute_force_failure_factor: |
| 43 | # keystone_keycloak_realm_default_brute_force_wait_increment_seconds: |
| 44 | # keystone_keycloak_realm_default_brute_force_max_failure_wait_seconds: |
| 45 | # keystone_keycloak_realm_default_brute_force_max_delta_time_seconds: |
| 46 | # keystone_keycloak_realm_default_minimum_quick_login_wait_seconds: |
| 47 | # keystone_keycloak_realm_default_quick_login_check_milli_seconds: |
Mohammed Naser | 99c00a7 | 2025-02-05 15:32:27 -0500 | [diff] [blame] | 48 | # keystone_keycloak_realm_default_totp_default_action: |
Mohammed Naser | 2e5a63a | 2025-02-05 15:25:25 -0500 | [diff] [blame] | 49 | |
Oleksandr Kozachenko | b009349 | 2023-09-06 21:43:47 +0200 | [diff] [blame] | 50 | keystone_keycloak_client_id: keystone |
| 51 | # keystone_keycloak_client_secret: |
| 52 | keystone_keycloak_scopes: "openid email profile" |
| 53 | |
| 54 | # This variable can be used for more complex setups that require multiple |
| 55 | # domains that are mapped to multiple realms. If you are looking to use a |
| 56 | # single domain and realm, you can skip this section. |
| 57 | keystone_domains: |
| 58 | - name: "{{ keystone_keycloak_realm }}" # Domain name |
| 59 | label: "{{ keystone_keycloak_realm_name }}" # Realm display name + Horizon label |
| 60 | keycloak_server_url: "{{ keystone_keycloak_server_url }}" # Public Keycloak URL |
| 61 | keycloak_server_internal_url: "{{ keystone_keycloak_server_internal_url }}" # Internal Keycloak URL |
| 62 | keycloak_user_realm_name: "{{ keystone_keycloak_user_realm_name }}" # Keycloak realm name |
| 63 | keycloak_admin_client_id: "{{ keystone_keycloak_admin_client_id }}" # Keycloak admin client ID |
| 64 | keycloak_admin_user: "{{ keystone_keycloak_admin_user }}" # Keycloak admin username |
| 65 | keycloak_admin_password: "{{ keystone_keycloak_admin_password }}" # Keycloak admin password |
| 66 | keycloak_realm: "{{ keystone_keycloak_realm }}" # Keycloak realm name |
| 67 | keycloak_client_id: "{{ keystone_keycloak_client_id }}" # Keycloak client ID |
| 68 | keycloak_client_secret: "{{ keystone_keycloak_client_secret }}" # Keycloak client secret |
| 69 | keycloak_scopes: "{{ keystone_keycloak_scopes }}" # Keycloak scopes |
| 70 | |
| 71 | # Keystone OpenID Connect settings (defaults to Keycloak for Atmosphere) |
| 72 | keystone_oidc_ssl_validate_server: "{{ (cluster_issuer_type == 'self-signed') | ternary('Off', 'On') }}" |
| 73 | keystone_oidc_crypto_passphrase: "{{ undef('You must specify a Keystone OIDC client secret using keystone_oidc_crypto_passphrase') }}" |
| 74 | keystone_oidc_redirect_uri: "https://{{ openstack_helm_endpoints_keystone_api_host }}/v3/auth/OS-FEDERATION/identity_providers/redirect" |
| 75 | keystone_oidc_redirect_urls_allowed: |
| 76 | - "^https://{{ openstack_helm_endpoints_keystone_api_host }}/v3/auth/OS-FEDERATION/identity_providers/({{ keystone_domains | map(attribute='name') | join('|') }})/protocols/openid/websso" # noqa: yaml[line-length] |
| 77 | - "^https://{{ openstack_helm_endpoints_horizon_api_host }}/auth/logout/$" |