Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "networkpolicy"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watching the endpoints resource "kubernetes" of the Seeds's kube-apiserver in the default namespace to keep the NetworkPolicy "allow-to-seed-apiserver" in sync.
func NewController ¶
func NewController( ctx context.Context, log logr.Logger, seedCluster cluster.Cluster, seedName string, ) ( *Controller, error, )
NewController instantiates a new networkpolicy controller.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.