aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/00-init/gloo/templates/4-gloo-service.yaml
blob: ab49ea3fbd19b986a41e6a6fb9d720267dac9961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
apiVersion: v1
kind: Service
metadata:
  labels:
    app: gloo
    gloo: gloo
  name: gloo
  namespace: {{ .Release.Namespace }}
spec:
{{ if .Values.gloo.deployment.externalTrafficPolicy }}
  externalTrafficPolicy: {{ .Values.gloo.deployment.externalTrafficPolicy }}
{{- end }}
  ports:
  - name: grpc
    port: {{ .Values.gloo.deployment.xdsPort }}
    protocol: TCP
  selector:
    gloo: gloo