helm keycloak - choisungwook/portfolio GitHub Wiki

개요

helm keycloak 설치


helm repo 추가

helm repo add codecentric https://codecentric.github.io/helm-charts
helm repo update

override_values.yaml 파일 생성

  • ingress 활성화
    • tls는 cert-manager 사용
  • admin 계정을 생성하기 위해 extraEnv사용

참고자료: https://github.com/codecentric/helm-charts/tree/master/charts/keycloak#creating-a-keycloak-admin-user

ingress:
  enabled: true
  annotations:
    nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
    cert-manager.io/issuer: "keycloak-prodissuser"
  rules:
    - host: 'keycloak.choilab.xyz'
      paths:
        - /
  tls:
    - hosts:
        - keycloak.choilab.xyz
      secretName: "keycloak-ingress-tls"
extraEnv: |
  - name: KEYCLOAK_USER
    value: keycloak
  - name: KEYCLOAK_PASSWORD
    value: password
  - name: PROXY_ADDRESS_FORWARDING
    value: "true"
postgresql:
  postgresqlUsername: keycloak
  postgresqlPassword: password

helm instll

helm install -n ldap -f keycloak_override_values.yaml keycloak codecentric/keycloak

참고자료

⚠️ **GitHub.com Fallback** ⚠️