apiVersion: apps/v1
kind: Deployment
metadata:
  name: vscode-lab-app
  labels:
    app: vscode-lab
spec:
  replicas: 1
  selector:
    matchLabels:
      app: vscode-lab
  template:
    metadata:
      labels:
        app: vscode-lab
    spec:
      containers:
      - image: eif0/vscode-py:0.1

        env:
        - name: PASSWORD
          valueFrom:
            secretKeyRef:
              name: vscode-ui-secret
              key: admin-secret
        name: vscode-lab
        ports:
        - containerPort: 8080      
