mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Signed-off-by: Ernest Bursa <eb@tonik.pl>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0f85aa5df3
commit
5b685458c9
@@ -1,5 +1,5 @@
|
||||
name: keycloak
|
||||
version: 4.0.5
|
||||
version: 4.0.6
|
||||
appVersion: 4.5.0.Final
|
||||
description: Open Source Identity and Access Management For Modern Applications and Services
|
||||
keywords:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- $highAvailability := gt (int .Values.keycloak.replicas) 1 -}}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -15,6 +16,12 @@ spec:
|
||||
port: {{ .Values.keycloak.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
{{- if $highAvailability }}
|
||||
- name: jgroups
|
||||
port: {{ .Values.keycloak.service.jgroupsPort }}
|
||||
targetPort: jgroups
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ template "keycloak.name" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
|
||||
@@ -92,6 +92,11 @@ spec:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
{{- if $highAvailability }}
|
||||
- name: jgroups
|
||||
containerPort: 7600
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /{{ .Values.keycloak.basepath }}/
|
||||
|
||||
@@ -162,6 +162,9 @@ keycloak:
|
||||
|
||||
port: 80
|
||||
|
||||
# Optional: jGroups port for high availability clustering
|
||||
jgroupsPort: 7600
|
||||
|
||||
## Ingress configuration.
|
||||
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
||||
ingress:
|
||||
|
||||
Reference in New Issue
Block a user