apiVersion: apps/v1
kind: Deployment
metadata:
  name: config-operator
spec:
  replicas: 1
  selector:
    matchLabels:
      run: config-operator
  template:
    metadata:
      labels:
        run: config-operator
    spec:
      serviceAccountName: config-operator
      containers:
      - image: vavere/metallb-config-operator:0.0.4
        name: config-operator
        resources:
          requests:
            cpu: "10m"
            memory: "48Mi"
          limits:
            cpu: "100m"
            memory: "96Mi"
        env:
          - name: CONFIG_NAME
            value: config
          - name: CONFIG_NS
            valueFrom:
              fieldRef:
                fieldPath: metadata.namespace
