Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/dictionary/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ rsa
rsync
runtime
RHCOS
RHSSO
scansettingbinding
scap
scp
Expand Down
1 change: 1 addition & 0 deletions roles/federation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ This role supports testing all OIDC authentication methods available in keystone

| Variable | Default | Description |
|----------|---------|-------------|
| `cifmw_federation_operator_namespace` | `keycloak-operators` | Kubernetes namespace for the RHSSO operator |
| `cifmw_federation_keycloak_namespace` | `openstack` | Kubernetes namespace for Keycloak |
| `cifmw_federation_run_osp_cmd_namespace` | `openstack` | Kubernetes namespace for openstackclient |
| `cifmw_federation_domain` | - | Base domain for service URLs |
Expand Down
2 changes: 1 addition & 1 deletion roles/federation/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Basic namespace and domain settings for the federation deployment

# Kubernetes namespaces
cifmw_federation_operator_namespace: openstack-operators
cifmw_federation_operator_namespace: keycloak-operators
cifmw_federation_keycloak_namespace: openstack
cifmw_federation_run_osp_cmd_namespace: openstack

Expand Down
9 changes: 8 additions & 1 deletion roles/federation/tasks/run_keycloak_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,20 @@
mode: "0640"
when: cifmw_federation_deploy_type == "crc"

- name: Create namespace
- name: Create keycloak namespace
kubernetes.core.k8s:
name: "{{ cifmw_federation_keycloak_namespace }}"
api_version: v1
kind: Namespace
state: present

- name: Create operator namespace
kubernetes.core.k8s:
name: "{{ cifmw_federation_operator_namespace }}"
api_version: v1
kind: Namespace
state: present

- name: Read federation rhsso operator template
ansible.builtin.template:
src: rhsso-operator-olm.yaml.j2
Expand Down
Loading