apiVersion: apps/v1
kind: Deployment
metadata:
  name: flaskapp
  labels:
    app: flaskapp
    env: dev
spec:
  replicas: 1
  selector:
    matchLabels:
      app: flaskapp
      env: dev
  template:
    metadata:
      labels:
        app: flaskapp
        env: dev
    spec:
      containers:
        - name: flaskapp
          image: diptochakrabarty/flaskapp:latest
          imagePullPolicy: Always
