apiVersion: apps/v1
kind: Deployment
metadata:
  name: container-mom-operator
  namespace: container-mom-system
spec:
  replicas: 1
  selector:
    matchLabels:
      app: container-mom-operator
  template:
    metadata:
      labels:
        app: container-mom-operator
    spec:
      serviceAccountName: container-mom-operator
      containers:
      - name: manager
        image: container-mom-operator:latest
        args:
        - --config=/etc/container-mom/config.yaml
        resources:
          limits:
            cpu: 500m
            memory: 512Mi
          requests:
            cpu: 100m
            memory: 128Mi
        volumeMounts:
        - name: config
          mountPath: /etc/container-mom
      volumes:
      - name: config
        configMap:
          name: container-mom-config 