[keycloak] /auth does not exist since V18
The values.yml contains references to the old /auth/ path.
This is no longer required in Keycloak 18.
It should be as easy as that (for all occurences of /auth/) :
livenessProbe: |
httpGet:
- path: /auth/
+ path: /
port: http
initialDelaySeconds: 0
timeoutSeconds: 5
I support your suggestion, but the default value (values.yaml) for the relative path should be changed too:
http:
# For backwards compatibility reasons we set this to the value used by previous Keycloak versions.
- relativePath: "/auth"
+ relativePath: "/"
In the keycloakx helm chart the trimSuffix must be removed. Otherwise the variable is empty.
diff --git a/charts/keycloakx/templates/statefulset.yaml b/charts/keycloakx/templates/statefulset.yaml
index d71cdc0..4de1d3f 100644
--- a/charts/keycloakx/templates/statefulset.yaml
+++ b/charts/keycloakx/templates/statefulset.yaml
@@ -88,7 +88,7 @@ spec:
env:
{{- if .Values.http.relativePath }}
- name: KC_HTTP_RELATIVE_PATH
- value: {{ tpl .Values.http.relativePath $ | trimSuffix "/" }}
+ value: {{ tpl .Values.http.relativePath $ }}
{{- end }}
{{- if eq .Values.cache.stack "default" }}
- name: KC_CACHE
FYI the PR resolving the issue with relative path (#635) is merged.
.. nvm, we're all talking about different charts here.
The relative path issue was related to keycloakx, but the issue is quoting from keycloak-chart.
This issue has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs.