apiVersion: apps/v1
kind: Deployment
metadata:
  name: container-mom-portal-backend
spec:
  selector:
    matchLabels:
      app: container-mom-portal-backend
  template:
    metadata:
      labels:
        app: container-mom-portal-backend
    spec:
      containers:
      - name: portal-backend
        image: container-mom-portal-backend:latest
        ports:
        - containerPort: 3001
        envFrom:
        - configMapRef:
            name: portal-backend-config
        - secretRef:
            name: portal-backend-secrets
        resources:
          requests:
            cpu: 200m
            memory: 256Mi
          limits:
            cpu: 500m
            memory: 512Mi 