Skip to content

Commit

Permalink
Adding ability to specify overrides back into keycloak configuration
Browse files Browse the repository at this point in the history
See the docs on keycloak.md that specifify how this can be done.
  • Loading branch information
costrouc committed Feb 11, 2022
1 parent fa89caf commit 0f7ca1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qhub/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from subprocess import CalledProcessError
from typing import Dict
import tempfile
import json

from qhub.provider import terraform
from qhub.utils import (
Expand Down Expand Up @@ -540,6 +541,9 @@ def provision_05_kubernetes_keycloak(stage_outputs, config, check=True):
"initial-root-password": config["security"]["keycloak"][
"initial_root_password"
],
"overrides": [
json.dumps(config['security']['keycloak'].get("overrides", {}))
],
"node-group": calculate_note_groups(config)["general"],
},
)
Expand Down

0 comments on commit 0f7ca1c

Please sign in to comment.