apiVersion: apps/v1
kind: Deployment
metadata:
  name: metallb-controller
spec:
  selector:
    matchLabels:
      app: metallb-controller
  replicas: 1
  template:
    metadata:
      labels:
        app: metallb-controller
    spec:
      containers:
      - name: metallb
        image: metallb/controller:latest
        imagePullPolicy: IfNotPresent
        securityContext:
          privileged: true

