apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: cilium-portmap
  namespace: kube-system
  labels:
    app: cilium-portmap
spec:
  selector:
    matchLabels:
      name: cilium-portmap
  template:
    metadata:
      labels:
        name: cilium-portmap
    spec:
      containers:
      - name: cilium-portmap
        image: snormore/cilium-portmap:latest
        imagePullPolicy: Always
        volumeMounts:
          - mountPath: /host/etc/cni/net.d
            name: etc-cni-netd
      volumes:
        - name: etc-cni-netd
          hostPath:
            path: /etc/cni/net.d
      priorityClassName: system-node-critical
      tolerations:
      - operator: "Exists"