apiVersion: v1
kind: Service
metadata:
  labels:
    app: auth
  name: auth
  annotations:
    service.beta.kubernetes.io/do-loadbalancer-protocol: "https"
    service.beta.kubernetes.io/do-loadbalancer-certificate-id: "c0595d38-ebf4-455d-8b6f-2d9bb7f0cdb0"
    service.beta.kubernetes.io/do-loadbalancer-tls-ports: "443,4001"
  namespace: default
spec:
  selector:
    app: auth
  ports:
  - name: https
    port: 443
    targetPort: 4000
  - name: http
    port: 80
    targetPort: 4000
  - name: ws
    port: 4001
    targetPort: 4001

  type: LoadBalancer
