Skip to content
Snippets Groups Projects
Verified Commit 869b2b87 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(keycloak): Fix usage of headless services

It's the clusterIP field, not the type field, that has to be set to
`None`.

References:
https://kubernetes.io/docs/concepts/services-networking/service/#headless-services
parent de9eb9ae
No related branches found
Tags 34.109.1
No related merge requests found
# keycloak # keycloak
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 19.0.2](https://img.shields.io/badge/AppVersion-19.0.2-informational?style=flat-square) ![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 19.0.2](https://img.shields.io/badge/AppVersion-19.0.2-informational?style=flat-square)
(Alpha) A Helm chart for Keycloak on Kubernetes (Alpha) A Helm chart for Keycloak on Kubernetes
......
...@@ -21,6 +21,11 @@ metadata: ...@@ -21,6 +21,11 @@ metadata:
labels: labels:
{{- include "keycloak.labels" . | nindent 4 }} {{- include "keycloak.labels" . | nindent 4 }}
spec: spec:
type: None clusterIP: None
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector: selector:
{{- include "keycloak.selectorLabels" . | nindent 4 }} {{- include "keycloak.selectorLabels" . | nindent 4 }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment