Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new ClusterDeployment Federation Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func AddToManager ¶
func AddToManager(mgr manager.Manager, r reconcile.Reconciler) error
AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler
func NewReconciler ¶
func NewReconciler(mgr manager.Manager) reconcile.Reconciler
NewReconciler returns a new reconcile.Reconciler
Types ¶
type ReconcileClusterDeploymentFederation ¶
type ReconcileClusterDeploymentFederation struct { client.Client // contains filtered or unexported fields }
ReconcileClusterDeploymentFederation reconciles a ClusterDeployment object
func (*ReconcileClusterDeploymentFederation) Reconcile ¶
func (r *ReconcileClusterDeploymentFederation) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a ClusterDeployment object and federates it if it's installed and federation is present in the cluster.
Automatically generate RBAC rules to allow the Controller to read and write ClusterDeployments ¶
+kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch +kubebuilder:rbac:groups=clusterregistry.k8s.io,resources=clusters,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core.federation.k8s.io,resources=federatedclusters,verbs=get;list;watch;create;update;patch;delete