Xdev's customized keycloak image to use with bitnami's helm chart
Add it as dependency in your Chart.yml
dependencies:
- name: keycloak
version: "2.4.3"
repository: "oci://registry.gitlab.com/the-blockchain-xdev/xdev-product/enterprise-business-network/keycloak/helm"and configure it in values.yaml to get the image from this gitlab repository
image:
registry: registry.gitlab.com
repository: the-blockchain-xdev/xdev-product/enterprise-business-network/keycloak/keycloak
tag: develop
pullSecrets:
- gitlab-registrymake sure the pull secret is configured with a gitlab access token with the read_registry scope
kubectl create secret docker-registry gitlab-registry \
--docker-server=registry.gitlab.com \
--docker-username=your_user \
--docker-password=your_tokenSet the environment variable EXPORT_REALM to true on the keycloak pod:
extraEnvVars:
- name: EXPORT_REALM
value: "true"The export is available in /tmp/realm-export in the keycloak pod. The content can be retrieved with
kubectl exec keycloak-0 -- tar cv /tmp/realm-export > /tmp/realm-export.tgz