replicas: 1 nodeSelector: homelab.hexor.cy/pool: core homelab.hexor.cy/exposure: external image: repository: quay.io/keycloak/keycloak tag: "26.5.6" command: - "/opt/keycloak/bin/kc.sh" - "start" - "--http-port=8080" - "--hostname-strict=false" - "--proxy-headers=xforwarded" extraEnvFrom: | - secretRef: name: keycloak-creds - secretRef: name: keycloak-bootstrap extraEnv: | - name: KC_HOSTNAME value: auth.hexor.cy - name: JAVA_OPTS_APPEND value: "-Djgroups.dns.query=keycloak-keycloakx-headless.keycloak.svc" extraVolumes: | - name: hexor-lab-theme configMap: name: keycloak-hexor-lab-theme items: - key: theme.properties path: theme.properties - key: template.ftl path: template.ftl - key: hexor.css path: resources/css/hexor.css - key: keycloak.css path: resources/css/keycloak.css - key: background.js path: resources/js/background.js - key: favicon.svg path: resources/img/favicon.svg extraVolumeMounts: | - name: hexor-lab-theme mountPath: /opt/keycloak/themes/hexor-lab/login readOnly: true dbchecker: enabled: true database: vendor: postgres hostname: main-rw.psql.svc port: 5432 database: keycloak existingSecret: keycloak-creds existingSecretKey: KC_DB_PASSWORD service: type: ClusterIP # HTTP is redirected to HTTPS by the cluster-wide Traefik default (core/traefik-config). ingress: enabled: true ingressClassName: traefik annotations: cert-manager.io/cluster-issuer: letsencrypt rules: - host: auth.hexor.cy paths: - path: / pathType: Prefix tls: - secretName: keycloak-tls hosts: - auth.hexor.cy resources: requests: cpu: 500m memory: 1Gi limits: cpu: "3" memory: 2Gi