Documentation ¶
Overview ¶
Package constrainttemplatecontroller contains a controller that is responsible for ensuring that the kubermatic constraint templates are synced to the user cluster.
Index ¶
Constants ¶
View Source
const (
// This controller syncs the kubermatic constraint templates to gatekeeper constraint templates on the user cluster.
ControllerName = "kkp-constraint-template-controller"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( mgr manager.Manager, clientProvider UserClusterClientProvider, log *zap.SugaredLogger, workerName string, numWorkers int, ) error
Types ¶
type UserClusterClientProvider ¶
type UserClusterClientProvider interface {
GetClient(ctx context.Context, c *kubermaticv1.Cluster, options ...clusterclient.ConfigOption) (ctrlruntimeclient.Client, error)
}
UserClusterClientProvider provides functionality to get a user cluster client.
Click to show internal directories.
Click to hide internal directories.