mirror of
https://github.com/bitnami/charts.git
synced 2026-04-05 00:37:12 +08:00
[bitnami/keycloak] fix: consider httpRelativePath for metrics (#36219)
* [bitnami/keycloak] fix: consider httpRelativePath for metrics When a relative path is set, this path is used as a prefix to the metrics path: https://www.keycloak.org/server/management-interface#_relative_path This issue was introduced with the recent metrics refactorings. Signed-off-by: Marius Svechla <m.svechla@gmail.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: Marius Svechla <m.svechla@gmail.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 25.2.2 (2025-09-08)
|
||||
|
||||
* [bitnami/keycloak] fix: consider httpRelativePath for metrics ([#36219](https://github.com/bitnami/charts/pull/36219))
|
||||
|
||||
## 25.2.0 (2025-08-21)
|
||||
|
||||
* [bitnami/keycloak] Add externalDatabase.extraParams for custom JDBC connection parameters ([#35770](https://github.com/bitnami/charts/pull/35770))
|
||||
* [bitnami/keycloak] Add externalDatabase.extraParams for custom JDBC connection parameters (#35770) ([d7ec0ea](https://github.com/bitnami/charts/commit/d7ec0ea7bff7264df7068ec6e51fbd3493d2c890)), closes [#35770](https://github.com/bitnami/charts/issues/35770)
|
||||
|
||||
## <small>25.1.2 (2025-08-20)</small>
|
||||
|
||||
|
||||
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: keycloak
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/keycloak
|
||||
version: 25.2.1
|
||||
version: 25.2.2
|
||||
|
||||
@@ -21,7 +21,7 @@ spec:
|
||||
jobLabel: {{ .Values.metrics.serviceMonitor.jobLabel | quote }}
|
||||
endpoints:
|
||||
- port: tcp-metrics
|
||||
path: "/metrics"
|
||||
path: "{{ trimSuffix "/" .Values.httpRelativePath }}/metrics"
|
||||
{{- if .Values.tls.enabled }}
|
||||
scheme: https
|
||||
{{- if .Values.metrics.serviceMonitor.tlsConfig }}
|
||||
|
||||
@@ -218,7 +218,7 @@ spec:
|
||||
{{- else if .Values.readinessProbe.enabled }}
|
||||
readinessProbe: {{- omit .Values.readinessProbe "enabled" | toYaml | nindent 12 }}
|
||||
httpGet:
|
||||
path: {{ .Values.httpRelativePath }}realms/{{ .Values.adminRealm | default "master" }}
|
||||
path: {{ trimSuffix "/" .Values.httpRelativePath }}/realms/{{ .Values.adminRealm | default "master" }}
|
||||
port: {{ ternary "http" "https" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
|
||||
scheme: {{ ternary "HTTP" "HTTPS" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user