Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcileSFServiceInstance ¶
type ReconcileSFServiceInstance struct { client.Client Log logr.Logger // contains filtered or unexported fields }
ReconcileSFServiceInstance reconciles a SFServiceInstance object
func (*ReconcileSFServiceInstance) Reconcile ¶
func (r *ReconcileSFServiceInstance) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a SFServiceInstance object and makes changes based on the state read and what is in the SFServiceInstance.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=osb.servicefabrik.io,resources=*,verbs=* +kubebuilder:rbac:groups=deployment.servicefabrik.io,resources=*,verbs=* +kubebuilder:rbac:groups=kubernetes.sapcloud.io,resources=*,verbs=* +kubebuilder:rbac:groups=kubedb.com,resources=Postgres,verbs=* +kubebuilder:rbac:groups=,resources=configmap,verbs=* +kubebuilder:rbac:groups=apps,resources=deployments,verbs=* TODO dynamically setup rbac rules
func (*ReconcileSFServiceInstance) SetupWithManager ¶
func (r *ReconcileSFServiceInstance) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers the SFServiceInstance Controller with manager and setups the watches.