• Michal Rostecki's avatar
    netpol: Use kube-router as a library · 9de183fb
    Michal Rostecki authored
    Before this change, we were copying a part of kube-router code to
    pkg/agent/netpol directory with modifications, from which the biggest
    one was consumption of k3s node config instead of kube-router config.
    
    However, that approach made it hard to follow new upstream versions.
    It's possible to use kube-router as a library, so it seems like a better
    way to do that.
    
    Instead of modifying kube-router network policy controller to comsume
    k3s configuration, this change just converts k3s node config into
    kube-router config. All the functionality of kube-router except netpol
    is still disabled.
    Signed-off-by: 's avatarMichal Rostecki <mrostecki@opensuse.org>
    Signed-off-by: 's avatarManuel Buil <mbuil@suse.com>
    9de183fb