blob: f71c59f6a304762c2216339eb9f88c34b19482d6 [file] [log] [blame]
guilhermesteinmullerd5340622023-01-24 17:57:10 +00001# Copyright (c) 2023 VEXXHOST, Inc.
Mohammed Naserab033e12022-03-13 21:07:28 -04002#
guilhermesteinmullerd5340622023-01-24 17:57:10 +00003# 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
okozachenko564a2ac2022-05-27 19:03:19 +10006#
guilhermesteinmullerd5340622023-01-24 17:57:10 +00007# 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 +000015keystone_helm_release_name: keystone
Mohammed Naser574d6502023-03-21 23:34:48 +000016keystone_helm_chart_path: "../../charts/keystone/"
Mohammed Naser2145fc32023-01-29 23:23:03 +000017keystone_helm_chart_ref: /usr/local/src/keystone
guilhermesteinmullerd5340622023-01-24 17:57:10 +000018
Mohammed Naser2145fc32023-01-29 23:23:03 +000019keystone_helm_release_namespace: openstack
vexxhost-bot30018912024-09-27 11:09:29 -040020keystone_helm_kubeconfig: "{{ kubeconfig_path | default('/etc/kubernetes/admin.conf') }}"
Mohammed Naser2145fc32023-01-29 23:23:03 +000021keystone_helm_values: {}
guilhermesteinmullerd5340622023-01-24 17:57:10 +000022
23# List of annotations to apply to the Ingress
Mohammed Naser2145fc32023-01-29 23:23:03 +000024keystone_ingress_annotations: {}
Oleksandr Kozachenkob0093492023-09-06 21:43:47 +020025
26# The following set of variables can be used for simple setups where you can
27# only need a single domain and realm. You can use the `keystone_domains`
28# variable to configure more complex setups.
29keystone_keycloak_server_url: "https://{{ keycloak_host }}"
30keystone_keycloak_server_internal_url: http://keycloak.auth-system.svc
31keystone_keycloak_user_realm_name: master
32keystone_keycloak_admin_client_id: admin-cli
33keystone_keycloak_admin_user: admin
34keystone_keycloak_admin_password: "{{ keycloak_admin_password }}"
35keystone_keycloak_realm: atmosphere
36keystone_keycloak_realm_name: Atmosphere
37keystone_keycloak_client_id: keystone
38# keystone_keycloak_client_secret:
39keystone_keycloak_scopes: "openid email profile"
40
41# This variable can be used for more complex setups that require multiple
42# domains that are mapped to multiple realms. If you are looking to use a
43# single domain and realm, you can skip this section.
44keystone_domains:
45 - name: "{{ keystone_keycloak_realm }}" # Domain name
46 label: "{{ keystone_keycloak_realm_name }}" # Realm display name + Horizon label
47 keycloak_server_url: "{{ keystone_keycloak_server_url }}" # Public Keycloak URL
48 keycloak_server_internal_url: "{{ keystone_keycloak_server_internal_url }}" # Internal Keycloak URL
49 keycloak_user_realm_name: "{{ keystone_keycloak_user_realm_name }}" # Keycloak realm name
50 keycloak_admin_client_id: "{{ keystone_keycloak_admin_client_id }}" # Keycloak admin client ID
51 keycloak_admin_user: "{{ keystone_keycloak_admin_user }}" # Keycloak admin username
52 keycloak_admin_password: "{{ keystone_keycloak_admin_password }}" # Keycloak admin password
53 keycloak_realm: "{{ keystone_keycloak_realm }}" # Keycloak realm name
54 keycloak_client_id: "{{ keystone_keycloak_client_id }}" # Keycloak client ID
55 keycloak_client_secret: "{{ keystone_keycloak_client_secret }}" # Keycloak client secret
56 keycloak_scopes: "{{ keystone_keycloak_scopes }}" # Keycloak scopes
57
58# Keystone OpenID Connect settings (defaults to Keycloak for Atmosphere)
59keystone_oidc_ssl_validate_server: "{{ (cluster_issuer_type == 'self-signed') | ternary('Off', 'On') }}"
60keystone_oidc_crypto_passphrase: "{{ undef('You must specify a Keystone OIDC client secret using keystone_oidc_crypto_passphrase') }}"
61keystone_oidc_redirect_uri: "https://{{ openstack_helm_endpoints_keystone_api_host }}/v3/auth/OS-FEDERATION/identity_providers/redirect"
62keystone_oidc_redirect_urls_allowed:
63 - "^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]
64 - "^https://{{ openstack_helm_endpoints_horizon_api_host }}/auth/logout/$"