[bitnami/keycloak] Fix broken theme assets by append the httpRelativeURL to the KC-HOSTNAME (#28176)

* Fix broken theme assets by append the ingress path to the KC-HOSTNAME variable.
That defaults to the httpRelativePath

Signed-off-by: Gregor Tudan <gregor.tudan@adesso.de>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: Gregor Tudan <gregor.tudan@adesso.de>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
Gregor Tudan
2024-07-24 12:09:34 +02:00
committed by GitHub
parent 5eda2ca676
commit 2b15502a03
3 changed files with 15 additions and 5 deletions

View File

@@ -1,8 +1,12 @@
# Changelog
## 21.7.3 (2024-07-24)
## 21.7.4 (2024-07-24)
* [bitnami/keycloak] Release 21.7.3 ([#28299](https://github.com/bitnami/charts/pull/28299))
* Fix broken theme assets by append the httpRelativeURL to the KC-HOSTNAME ([#28176](https://github.com/bitnami/charts/pull/28176))
## <small>21.7.3 (2024-07-24)</small>
* [bitnami/keycloak] Release 21.7.3 (#28299) ([06e9a9d](https://github.com/bitnami/charts/commit/06e9a9dfb2dc0bd10089947810fdf8867b2ffa37)), closes [#28299](https://github.com/bitnami/charts/issues/28299)
## <small>21.7.2 (2024-07-24)</small>

View File

@@ -33,4 +33,4 @@ maintainers:
name: keycloak
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/keycloak
version: 21.7.3
version: 21.7.4

View File

@@ -217,11 +217,17 @@ spec:
{{- end }}
{{- if and .Values.adminIngress.enabled .Values.adminIngress.hostname }}
- name: KC_HOSTNAME_ADMIN_URL
value: "http{{ if or .Values.adminIngress.tls (eq .Values.proxy "edge") (not (empty .Values.proxyHeaders)) }}s{{ end }}://{{ include "common.tplvalues.render" (dict "value" .Values.adminIngress.hostname "context" $) }}"
value: |-
{{ ternary "https://" "http://" ( or .Values.adminIngress.tls (eq .Values.proxy "edge") (not (empty .Values.proxyHeaders)) ) -}}
{{- include "common.tplvalues.render" (dict "value" .Values.adminIngress.hostname "context" $) -}}
{{- include "common.tplvalues.render" (dict "value" .Values.adminIngress.path "context" $) }}
{{- end }}
{{- if and .Values.ingress.enabled .Values.ingress.hostname }}
- name: KC_HOSTNAME_URL
value: "http{{ if or .Values.ingress.tls (eq .Values.proxy "edge") (not (empty .Values.proxyHeaders)) }}s{{ end }}://{{ include "common.tplvalues.render" (dict "value" .Values.ingress.hostname "context" $) }}"
value: |-
{{ ternary "https://" "http://" ( or .Values.ingress.tls (eq .Values.proxy "edge") (not (empty .Values.proxyHeaders)) ) -}}
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.hostname "context" $) -}}
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.path "context" $) }}
{{- end }}
{{- if .Values.adminRealm }}
- name: KC_SPI_ADMIN_REALM