Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FilePermission is the permission to be used for the staging target path FilePermission os.FileMode = 0644 // CSIPodName is the name of the pod that the mount is created for CSIPodName = "csi.storage.k8s.io/pod.name" // CSIPodNamespace is the namespace of the pod that the mount is created for CSIPodNamespace = "csi.storage.k8s.io/pod.namespace" // CSIPodUID is the UID of the pod that the mount is created for CSIPodUID = "csi.storage.k8s.io/pod.uid" // CSIPodServiceAccountName is the name of the pod service account that the mount is created for CSIPodServiceAccountName = "csi.storage.k8s.io/serviceAccount.name" // CSIPodServiceAccountTokens is the service account tokens of the pod that the mount is created for CSIPodServiceAccountTokens = "csi.storage.k8s.io/serviceAccount.tokens" //nolint )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretSyncReconciler ¶
type SecretSyncReconciler struct { client.Client Mutex *sync.Mutex Scheme *runtime.Scheme TokenClient *k8s.TokenClient ProviderClients *provider.PluginClientBuilder TokenRequest *tokenutil.TokenRequest }
SecretSyncReconciler reconciles a SecretSync object
func (*SecretSyncReconciler) Reconcile ¶
func (r *SecretSyncReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is called for a SecretSync object
func (*SecretSyncReconciler) SetupWithManager ¶
func (r *SecretSyncReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.