You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
477 B
18 lines
477 B
{{- $highAvailability := gt (int .Values.replicas) 1 -}}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "keycloak.fullname" . }}-headless
|
|
labels:
|
|
{{- include "keycloak.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: headless
|
|
spec:
|
|
type: ClusterIP
|
|
clusterIP: None
|
|
ports:
|
|
- name: http
|
|
port: {{ .Values.service.httpPort }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
selector:
|
|
{{- include "keycloak.selectorLabels" . | nindent 4 }}
|
|
|