mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-14 01:01:26 +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 }}
|