add-keycloakx/7.2.2: keycloakx 7.2.2 추가, keycloak/18.4.0 제거 (이슈 #1)

codecentric/keycloak(18.4.0, WildFly 기반, appVersion 17.0.1-legacy)이
bitnami/postgresql 서브차트를 조건부 의존성으로 포함해 bitnami 무료 배포
정책 변경 문제가 그대로 전이됐다. codecentric은 이 WildFly 차트를 더 이상
갱신하지 않고 Quarkus 기반 Keycloak(17+)용 별도 차트 keycloakx를 제공하며,
keycloakx는 서브차트 의존성이 전혀 없어(Chart.yaml에 dependencies 없음)
문제가 근본적으로 해소된다.

실제 소비자가 없어(문서 예시 표 한 줄 외 참조 없음) phased 전환 없이
keycloak/18.4.0을 같은 커밋에서 제거했다.

custom-values.yaml 작성 시 확인한 핵심 사항 — 이 차트의 http.relativePath
기본값이 구버전 WildFly Keycloak 호환용 "/auth"라, 명시적으로 "/"로
오버라이드해야 한다(안 하면 OIDC issuer/admin API 경로가 소비 앱들의
경로 접미사 없음 가정과 어긋난다). database.existingSecret/existingSecretKey
로 kubernetes.io/basic-auth 시크릿을 그대로 참조 가능함도 helm template로
확인했다.

Closes #1

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
wbsong111
2026-08-06 16:09:51 +09:00
parent e527131fd0
commit 611e971295
99 changed files with 1805 additions and 7432 deletions
@@ -0,0 +1,99 @@
{{- $httpRoute := .Values.httpRoute -}}
{{- if $httpRoute.enabled -}}
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ include "keycloak.fullname" . }}
namespace: {{ include "keycloak.namespace" . }}
labels:
{{- include "keycloak.labels" . | nindent 4 }}
{{- range $key, $value := $httpRoute.labels }}
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
{{- end }}
{{- with $httpRoute.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
parentRefs:
{{- with $httpRoute.parentRefs }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with $httpRoute.hostnames }}
hostnames:
{{- toYaml . | nindent 4 }}
{{- end }}
rules:
{{- range $httpRoute.rules }}
{{- with .matches }}
- matches:
{{- range . }}
{{- if .path }}
- path:
type: {{ .path.type }}
value: {{ tpl .path.value $ }}
{{- end }}
{{- else }}
{{ . | toYaml | nindent 8 }}
{{- end }}
{{- end }}
{{- with .filters }}
filters:
{{- toYaml . | nindent 8 }}
{{- end }}
backendRefs:
- name: {{ include "keycloak.fullname" $ }}-http
port: {{ $httpRoute.servicePort }}
{{- end }}
{{- end }}
---
{{- if $httpRoute.console.enabled }}
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ include "keycloak.fullname" . }}-console
namespace: {{ include "keycloak.namespace" . }}
labels:
{{- include "keycloak.labels" . | nindent 4 }}
{{- range $key, $value := $httpRoute.labels }}
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
{{- end }}
{{- range $key, $value := $httpRoute.console.labels }}
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
{{- end }}
{{- with $httpRoute.console.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
parentRefs:
{{- with pluck "parentRefs" $httpRoute.console $httpRoute | first }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with pluck "hostnames" $httpRoute.console $httpRoute | first }}
hostnames:
{{- toYaml . | nindent 4 }}
{{- end }}
rules:
{{- range $httpRoute.console.rules }}
{{- with .matches }}
- matches:
{{- range . }}
{{- if .path }}
- path:
type: {{ .path.type }}
value: {{ tpl .path.value $ }}
{{- end }}
{{- else }}
{{ . | toYaml | nindent 8 }}
{{- end }}
{{- end }}
{{- with .filters }}
filters:
{{- toYaml . | nindent 8 }}
{{- end }}
backendRefs:
- name: {{ include "keycloak.fullname" $ }}-http
port: {{ $httpRoute.servicePort }}
{{- end }}
{{- end }}