apiVersion: apps/v1
kind: Deployment
metadata:
  name: gke-flask-app
spec:
  selector:
    matchLabels:
      app: gke-flask-app
  replicas: 1
  template:
    metadata:
      labels:
        app: gke-flask-app
    spec:
      containers:
      - name: gke-flask-app
        image: gcr.io/kenthua-core/gke-flask-app
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 5000
        env:
        - name: ENABLE_ALPHA
          valueFrom:
            configMapKeyRef:
              name: alpha-features
              key: ENABLE_ALPHA