diff --git a/bitnami/keycloak/Chart.yaml b/bitnami/keycloak/Chart.yaml index 8e8325a22f91fd..f5620e3a308ed9 100644 --- a/bitnami/keycloak/Chart.yaml +++ b/bitnami/keycloak/Chart.yaml @@ -26,4 +26,4 @@ name: keycloak sources: - https://github.com/bitnami/containers/tree/main/bitnami/keycloak - https://github.com/keycloak/keycloak -version: 13.2.0 +version: 13.3.0 diff --git a/bitnami/keycloak/README.md b/bitnami/keycloak/README.md index 3bc7e7742f6278..1b0ea5ecbba950 100644 --- a/bitnami/keycloak/README.md +++ b/bitnami/keycloak/README.md @@ -200,6 +200,8 @@ The command removes all the Kubernetes components associated with the chart and | `service.annotations` | Additional custom annotations for Keycloak service | `{}` | | `service.extraPorts` | Extra port to expose on Keycloak service | `[]` | | `service.extraHeadlessPorts` | Extra ports to expose on Keycloak headless service | `[]` | +| `service.headless.annotations` | Annotations for the headless service. | `{}` | +| `service.headless.extraPorts` | Extra ports to expose on Keycloak headless service | `[]` | | `ingress.enabled` | Enable ingress record generation for Keycloak | `false` | | `ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` | | `ingress.pathType` | Ingress path type | `ImplementationSpecific` | diff --git a/bitnami/keycloak/templates/headless-service.yaml b/bitnami/keycloak/templates/headless-service.yaml index 730968e01bbf1c..1a48dbc8072cd9 100644 --- a/bitnami/keycloak/templates/headless-service.yaml +++ b/bitnami/keycloak/templates/headless-service.yaml @@ -8,8 +8,14 @@ metadata: {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} {{- end }} - {{- if .Values.commonAnnotations }} - annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- if or .Values.commonAnnotations .Values.service.headless.annotations }} + annotations: + {{- if .Values.service.headless.annotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.service.headless.annotations "context" $ ) | nindent 4 }} + {{- end }} + {{- if .Values.commonAnnotations }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} + {{- end }} {{- end }} spec: type: ClusterIP @@ -28,6 +34,9 @@ spec: {{- if .Values.service.extraHeadlessPorts }} {{- include "common.tplvalues.render" (dict "value" .Values.service.extraHeadlessPorts "context" $) | nindent 4 }} {{- end }} + {{- if .Values.service.headless.extraPorts }} + {{- include "common.tplvalues.render" (dict "value" .Values.service.headless.extraPorts "context" $) | nindent 4 }} + {{- end }} publishNotReadyAddresses: true selector: {{- include "common.labels.matchLabels" . | nindent 4 }} app.kubernetes.io/component: keycloak diff --git a/bitnami/keycloak/values.yaml b/bitnami/keycloak/values.yaml index b5064fdd8d3e26..bfb3ef7cf226af 100644 --- a/bitnami/keycloak/values.yaml +++ b/bitnami/keycloak/values.yaml @@ -510,10 +510,19 @@ service: ## @param service.extraPorts Extra port to expose on Keycloak service ## extraPorts: [] + # DEPRECATED service.extraHeadlessPorts will be removed in a future release, please use service.headless.extraPorts instead ## @param service.extraHeadlessPorts Extra ports to expose on Keycloak headless service ## extraHeadlessPorts: [] - + ## Headless service properties + ## + headless: + ## @param service.headless.annotations Annotations for the headless service. + ## + annotations: {} + ## @param service.headless.extraPorts Extra ports to expose on Keycloak headless service + ## + extraPorts: [] ## Keycloak ingress parameters ## ref: https://kubernetes.io/docs/user-guide/ingress/ ## @@ -980,7 +989,7 @@ keycloakConfigCli: postgresql: enabled: true auth: - postgresPassword: "" + postgresPassword: "" username: bn_keycloak password: "" database: bitnami_keycloak