Merge branch 'mluds-master' into master
[arvados-k8s.git] / charts / arvados / templates / keep-proxy-service.yaml
index 79e2356931adeab1a24012aa6146be5c842e636c..e1842733b98162efb841361d8ec3ab37b05bc17c 100644 (file)
@@ -2,6 +2,7 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
+---
 apiVersion: v1
 kind: Service
 metadata:
@@ -11,9 +12,15 @@ metadata:
     chart: {{ template "arvados.chart" . }}
     release: {{ .Release.Name }}
     heritage: {{ .Release.Service }}
+  annotations:
+    {{- range $key, $value := .Values.loadBalancer.annotations }}
+      {{ $key }}: {{ $value | quote }}
+    {{- end }}
 spec:
+  type: LoadBalancer
+  loadBalancerIP: {{ required "A valid externalIP is required!" .Values.externalIP }}
   ports:
-  - name: http
+  - name: https
     port: 25107
     targetPort: 25107
     protocol: TCP