controllers

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const ReconcileTime = 30 * time.Second

ReconcileTime is the delay between reconciliations

Variables

This section is empty.

Functions

func GetClientConfig added in v1.10.0

func GetClientConfig() (*rest.Config, error)

Types

type HostDefinerReconciler added in v1.10.0

type HostDefinerReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

func (*HostDefinerReconciler) Reconcile added in v1.10.0

func (*HostDefinerReconciler) SetupWithManager added in v1.10.0

func (r *HostDefinerReconciler) SetupWithManager(mgr ctrl.Manager) error

type IBMBlockCSIReconciler

type IBMBlockCSIReconciler struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	client.Client
	Scheme           *runtime.Scheme
	Namespace        string
	Recorder         record.EventRecorder
	ServerVersion    string
	ControllerHelper *common.ControllerHelper
}

IBMBlockCSIReconciler reconciles a IBMBlockCSI object

func (*IBMBlockCSIReconciler) Reconcile

the rbac rule requires an empty row at the end to render +kubebuilder:rbac:groups="",resources=pods,verbs=get;delete;list;watch +kubebuilder:rbac:groups="",resources=configmaps,verbs=get;create;delete +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch +kubebuilder:rbac:groups="",resources=persistentvolumeclaims,verbs=get;list;watch;update;patch +kubebuilder:rbac:groups="",resources=persistentvolumeclaims/status,verbs=get;update;patch +kubebuilder:rbac:groups="",resources=persistentvolumeclaims/finalizers,verbs=update +kubebuilder:rbac:groups="",resources=persistentvolumes,verbs=get;delete;list;watch;update;create;patch +kubebuilder:rbac:groups="",resources=events,verbs=* +kubebuilder:rbac:groups="",resources=nodes,verbs=get;list;watch +kubebuilder:rbac:groups=apps,resources=deployments;daemonsets;statefulsets,verbs=get;list;watch;update;create;delete +kubebuilder:rbac:groups="",resources=serviceaccounts,verbs=create;delete;get;watch;list +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles;clusterrolebindings,verbs=create;delete;get;watch;list;update +kubebuilder:rbac:groups=storage.k8s.io,resources=volumeattachments,verbs=get;list;watch;update;patch +kubebuilder:rbac:groups=storage.k8s.io,resources=volumeattachments/status,verbs=patch +kubebuilder:rbac:groups=storage.k8s.io,resources=storageclasses,verbs=get;list;watch +kubebuilder:rbac:groups=monitoring.coreos.com,resources=servicemonitors,verbs=get;create +kubebuilder:rbac:groups=apps,resourceNames=ibm-block-csi-operator,resources=deployments/finalizers,verbs=update +kubebuilder:rbac:groups=storage.k8s.io,resources=csidrivers,verbs=create;delete;get;watch;list +kubebuilder:rbac:groups=storage.k8s.io,resources=csinodes,verbs=get;list;watch +kubebuilder:rbac:groups=security.openshift.io,resourceNames=anyuid;privileged,resources=securitycontextconstraints,verbs=use +kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=create;list;watch;delete +kubebuilder:rbac:groups=csi.ibm.com,resources=*,verbs=* +kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshotclasses,verbs=get;watch;list +kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshotcontents,verbs=get;watch;list;create;update;delete +kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshotcontents/status,verbs=update +kubebuilder:rbac:groups=snapshot.storage.k8s.io,resources=volumesnapshots,verbs=get;watch;list;update +kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplicationclasses,verbs=get;list;watch +kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplications,verbs=create;delete;get;list;patch;update;watch +kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplications/finalizers,verbs=update +kubebuilder:rbac:groups=replication.storage.openshift.io,resources=volumereplications/status,verbs=get;patch;update

func (*IBMBlockCSIReconciler) SetupWithManager

func (r *IBMBlockCSIReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL