apiVersion: apps/v1
kind: Deployment
metadata:
  name: productive-cloud-native-devex
  labels:
    type: microservice
    env: local
spec:
  replicas: 1
  selector:
    matchLabels:
      type: microservice
  template:
    metadata:
      labels:
        type: microservice
        env: local
    spec:
      containers:
        - name: productive-cloud-native-devex
          image: lreimer/productive-cloud-native-devex
          envFrom:
            - configMapRef:
                name: microservice-configmap
          ports:
            - containerPort: 8080
