[bitnami/keycloak] Support 'tpl' on ingress.secrets (#22233)

* [bitnami/keycloak] Support 'tpl' on ingress.secrets

Signed-off-by: gkacskovics <gkacskovics@gmail.com>

* Bump chart yaml after merge

Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>

---------

Signed-off-by: gkacskovics <gkacskovics@gmail.com>
Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
Co-authored-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
gkacskovics
2024-01-24 10:31:00 +01:00
committed by GitHub
parent 0cc21d7bb9
commit ade53a5d3b
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -9,7 +9,7 @@ SPDX-License-Identifier: APACHE-2.0
apiVersion: v1
kind: Secret
metadata:
name: {{ .name }}
name: {{ include "common.tplvalues.render" ( dict "value" .name "context" $ ) }}
namespace: {{ include "common.names.namespace" $ | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" $.Values.commonLabels "context" $ ) | nindent 4 }}
{{- if $.Values.commonAnnotations }}
@@ -17,8 +17,8 @@ metadata:
{{- end }}
type: kubernetes.io/tls
data:
tls.crt: {{ .certificate | b64enc }}
tls.key: {{ .key | b64enc }}
tls.crt: {{ include "common.tplvalues.render" ( dict "value" .certificate "context" $ ) | b64enc }}
tls.key: {{ include "common.tplvalues.render" ( dict "value" .key "context" $ ) | b64enc }}
---
{{- end }}
{{- end }}