chore(peers): remove headless svc

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-04-14 15:02:55 +02:00
parent 02067df36b
commit 0b16448e41

View file

@ -15,23 +15,3 @@ spec:
{{- end}}
selector:
{{- include "peers.selectorLabels" . | nindent 4 }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "peers.fullname" . }}-headless
labels:
{{- include "peers.labels" . | nindent 4 }}
spec:
type: ClusterIP
clusterIP: None
ports:
{{- range $key, $val := .Values.service.ports }}
- port: {{ $val }}
targetPort: {{ $key }}
protocol: TCP
name: {{ $key }}
{{- end}}
selector:
{{- include "peers.selectorLabels" . | nindent 4 }}