Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROTM-80: Upgrade keycloak to v22 #246

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

ROTM-80: Upgrade keycloak to v22 #246

wants to merge 12 commits into from

Conversation

ChisomOguibe11
Copy link
Contributor

@ChisomOguibe11 ChisomOguibe11 commented Nov 3, 2023

What?

Why?

  • Migrating to new notprod realm as part of upgrading keycloak to version 22

Testing?

All tests passing in branch

$kd -f kube/file-vault/file-vault-ingress.yml
$kd -f kube/configmaps/configmap.yml -f kube/app/service.yml
$kd -f kube/app/ingress-internal.yml -f kube/app/networkpolicy-internal.yml
$kd -f kube/redis -f kube/file-vault -f kube/app/deployment.yml
elif [[ ${KUBE_NAMESPACE} == ${PROD_ENV} ]]; then
export DISCOVERY_URL="https://sso.digital.homeoffice.gov.uk/auth/realms/rotm"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good idea to do your dev/test like this
but for the final solution we are going to move this to right when ACP have created a prod version for keycloak v22? hof-config

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good idea to do your dev/test like this but for the final solution we are going to move this to right when ACP have created a prod version for keycloak v22? hof-config

Yes there will be a new discovery URL for prod when acp upgrade keycloak in prod. I will add a comment in about this. Thanks

Copy link
Contributor

@sulthan-ahmed sulthan-ahmed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you amend your commits to follow the https://chris.beams.io/posts/git-commit/ format for commits?

can you also squash after it's merged

- file-vault's keycloak-proxy image was using a hardcoded discovery URL for all environments
- value set to an env variable - set correctly according to the environment
comment to let others know that the prod discovery URL for keycloak will be changed after the upgrade in prod
…workers" from keycloak-proxy

upgraded rotm realm doesn't have a role called 'caseworkers'. Removing this line should allow files to upload to filevault
…ontainers

done to match filevault configuration in ACQ and IMA
…seworkers" to keycloak proxy commands

change to match filevault configuration in ACQ and IMA
Following config used in IMA service to fix 502 error for file uploads
Following config used in IMA service to fix 502 error for file uploads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants