Make sure that the external source IP address of requests is passed trough to
[arvados-k8s.git] / charts / arvados / templates / api-server-service.yaml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 apiVersion: v1
6 kind: Service
7 metadata:
8   name: arvados-api-server
9   labels:
10     app: {{ template "arvados.name" . }}
11     chart: {{ template "arvados.chart" . }}
12     release: {{ .Release.Name }}
13     heritage: {{ .Release.Service }}
14 spec:
15   type: LoadBalancer
16   externalTrafficPolicy: Local
17   loadBalancerIP: {{ required "A valid externalIP is required!" .Values.externalIP }}
18   ports:
19   - name: http
20     port: 444
21     targetPort: 444
22     protocol: TCP
23   selector:
24     app: arvados-api-server