Documentation
¶
Overview ¶
Package configurationcontroller implements the logic of the Configuration Controller. It creates FirewallConfiguration resources, which apply firewall rules on each node, used to bypass the CNIs masquerade for packets that have to be redirected on the remote cluster.
Index ¶
Constants ¶
View Source
const (
// PrePostroutingChainName is the name of the chain that manage masquerade-bypass.
PrePostroutingChainName = "pre-postrouting"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationReconciler ¶
ConfigurationReconciler manage Configuration lifecycle.
func NewConfigurationReconciler ¶
func NewConfigurationReconciler(cl client.Client, s *runtime.Scheme, opts *Options) *ConfigurationReconciler
NewConfigurationReconciler returns a new ConfigurationReconciler.
func (*ConfigurationReconciler) Reconcile ¶
func (r *ConfigurationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)
Reconcile manage Configuration lifecycle.
func (*ConfigurationReconciler) SetupWithManager ¶
func (r *ConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager register the ConfigurationReconciler to the manager.
Click to show internal directories.
Click to hide internal directories.