apiVersion: apps/v1
kind: Deployment
metadata:
  name: container-mom-portal
spec:
  selector:
    matchLabels:
      app: container-mom-portal
  template:
    metadata:
      labels:
        app: container-mom-portal
    spec:
      serviceAccountName: container-mom
      containers:
      - name: portal
        image: ghcr.io/pfeifferj/container-mom-portal:latest
        ports:
        - containerPort: 80
        envFrom:
        - configMapRef:
            name: portal-config
        resources:
          requests:
            cpu: 100m
            memory: 128Mi
          limits:
            cpu: 200m
            memory: 256Mi 