apiVersion: apps/v1
kind: Deployment
metadata:
  name: cart-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: cart
  template:
    metadata:
      labels:
        app: cart
    spec:
      containers:
        - name: cart
          image: myshop/cart
          imagePullPolicy: Never
          envFrom:
            - secretRef:
                name: cart.env
            - secretRef:
                name: jwt-keys
      restartPolicy: Always
