kind: Service
apiVersion: v1
metadata:
  name: event-proxy-elb-tls-service
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-type: "external"
    service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: "ip"
    service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
    service.beta.kubernetes.io/aws-load-balancer-ssl-cert: <cert-arn>
    service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
  namespace: airlytics
  labels:
    app: secure-event-proxy-service
spec:
  ports:
    - name: https
      protocol: TCP
      port: 443
      targetPort: 8081
  selector:
    app: event-proxy
  type: LoadBalancer
  externalTrafficPolicy: Local