mirror of
https://github.com/resf/distro-tools.git
synced 2024-12-30 22:30:56 +00:00
16 lines
379 B
YAML
16 lines
379 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ include "apollo-server.fullname" . }}
|
||
|
labels:
|
||
|
{{- include "apollo-server.labels" . | nindent 4 }}
|
||
|
spec:
|
||
|
type: {{ .Values.service.type }}
|
||
|
ports:
|
||
|
- port: {{ .Values.service.port }}
|
||
|
targetPort: http
|
||
|
protocol: TCP
|
||
|
name: http
|
||
|
selector:
|
||
|
{{- include "apollo-server.selectorLabels" . | nindent 4 }}
|