apiVersion: apps/v1
kind: Deployment
metadata:
  name: deployment
spec:
  replicas: 1
  template:
    spec:
      containers:
      - name: volumes-web-app
        image: docker.io/kubeflownotebookswg/volumes-web-app
        ports:
        - containerPort: 5000
        env:
        - name: APP_PREFIX
          value: $(VWA_PREFIX)
        - name: USERID_HEADER
          value: $(VWA_USERID_HEADER)
        - name: USERID_PREFIX
          value: $(VWA_USERID_PREFIX)
        - name: APP_SECURE_COOKIES
          value: $(VWA_APP_SECURE_COOKIES)
      serviceAccountName: service-account
