[stable/keycloak] Expose JGROUPS port (#9849) (#9850)

Signed-off-by: Ernest Bursa <eb@tonik.pl>
This commit is contained in:
Ernest Bursa
2018-12-10 06:02:51 -08:00
committed by Kubernetes Prow Robot
parent 0f85aa5df3
commit 5b685458c9
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -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 }}/
+3
View File
@@ -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: