apiVersion: v1
kind: Service
metadata:
  annotations:
    getambassador.io/config: |-
      ---
      apiVersion: ambassador/v0
      kind:  Mapping
      name: kflogin-mapping
      prefix: /kflogin
      rewrite: /kflogin
      timeout_ms: 300000
      service: basic-auth-login.kubeflow
      use_websocket: true
  labels:
    app: basic-auth-login
    kustomize.component: basic-auth
  name: basic-auth-login
  namespace: kubeflow
spec:
  ports:
  - port: 80
    targetPort: 5000
  selector:
    app: basic-auth-login
    kustomize.component: basic-auth
  type: ClusterIP
