apiVersion: apps/v1
kind: Deployment
metadata:
  name: frontend-deployment
  namespace: front
  labels:
    app : front
spec:
  selector:
    matchLabels:
      app: front
  template:
    metadata:
      labels:
        app: front
    spec:
      containers:
      - name: frontend-container
        image: 529396670287.dkr.ecr.us-west-2.amazonaws.com/sadov-ecr-frontend:latest
        resources:
          limits:
            memory: "128Mi"
            cpu: "500m"
        ports:
        - containerPort: 80
      imagePullSecrets:
        - name: front
