Merge branch 'mluds-master' into master
[arvados-k8s.git] / charts / arvados / templates / ws-service.yaml
index 0930ffbba9927b8e5de43bfa634de9b8f16a1a63..f6978b444870dc911fd5744a120feb234e1d642a 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: 9003
     targetPort: 9003
     protocol: TCP