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** โš ๏ธ