apiVersion: apps/v1
kind: Deployment
metadata:
  name: udagram-user-api
spec:
  replicas: 1
  selector:
    matchLabels:
      app: udagram-user-api
  template:
    metadata:
      labels:
        app: udagram-user-api
    spec:
      containers:
      - name: udagram-user-api
        image: marcusholmgren/udagram-user-api
        envFrom:
          - configMapRef:
              name: udagram-config
        ports:
        - containerPort: 8080
