[Keycloak 21] k8s cluster에 helm chart로 설치하기
bitnami 에 키클락 차트가 있다.
https://artifacthub.io/packages/helm/bitnami/keycloak
keycloak 17.2.0 · bitnami/bitnami
Keycloak is a high performance Java-based identity and access management solution. It lets developers add an authentication layer to their applications with minimum effort.
artifacthub.io
# values file
auth:
adminUser: admin
adminPassword: admin
ingress:
enabled: true
ingressClassName: nginx # 사용하는 ingress class
hostname: keycloak.honglab.com # 원하는 domain
postgresql:
enabled: false # 외부 db와 연결할거면 false (true 설정 시 비밀번호도 설정 필요)
externalDatabase:
host: # postgres DB host
port: 5432
user: keycloak # DB user
database: keycloak # DB database
password: keycloak # DB password
# helm install
helm upgrade -i keycloak bitnami/keycloak -f keycloak.values.yaml --version 15.1.8
이 때, 버전을 15.1.8로 명시해야됨 (키클락 버전 21 의 제일 최신 차트임)
왜냐면 차트버전 16, 17은 키클락 버전 22인데 어드민 콘솔 페이지 이슈가 있다.
https://github.com/keycloak/keycloak/issues/14666
Admin console not loading and hostname related issues · Issue #14666 · keycloak/keycloak
Describe the bug It seems the new admin console doesn't load properly under some configurations, and this has been reported many times in different issues. This is serving as an umbrella issue to c...
github.com
뭐 환경변수를 추가로 넣는다거나 이것저것 해본다는 말이 있는데, 아직 완전히 해결되지 않은 것 같으며 그냥 키클락 버전 21 쓰면 아주 잘 돌아가므로 그냥 버전을 낮춰 사용한다.
끝