apiVersion: apps/v1
kind: Deployment
metadata:
  name: centraldashboard
  namespace: kubeflow
spec:
  template:
    spec:
      containers:
      - name: centraldashboard
        env:
        # This successfully logs out the user but the user is not redirected to
        # the home page.
        # https://github.com/kubeflow/kubeflow/blob/c6c4492/components/centraldashboard/public/components/logout-button.js#L50
        # Please refresh the page after logging out.
        - name: LOGOUT_URL
          value: /oauth2/sign_out
