<p>I am pretty newbie in Helm and would like to know, if it is allowed to have multi services in service.yaml file like: </p>

<pre><code>apiVersion: v1
kind: Service
metadata:
  name: {{ include "keycloak.fullname" . }}
  labels:
    {{- include "keycloak.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    {{- include "keycloak.selectorLabels" . | nindent 4 }}

---

apiVersion: v1
kind: Service
metadata:
  name: {{ include "keycloak.fullname" . }}
  labels:
    {{- include "keycloak.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    {{- include "keycloak.selectorLabels" . | nindent 4 }}  
</code></pre>

softshipper
<p>Yes it is, are you facing any issue? </p>

<p>A cleaner way is to use two different files service-a.yaml and service-b.yaml</p>

<p><br>
Note: Better not to have both the services with the same name.</p>
