mirror of
https://github.com/resf/distro-tools.git
synced 2024-12-28 21:40:55 +00:00
15 lines
379 B
YAML
15 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 }}
|