Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "secret-sync" // #nosec G101 SecretName = "policy-encryption-key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretReconciler ¶
func (*SecretReconciler) Reconcile ¶
func (r *SecretReconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile handles updates to the "policy-encryption-key" Secret in the managed cluster namespace on the Hub. The method is responsible for synchronizing the Secret to the managed cluster namespace on the managed cluster.
func (*SecretReconciler) SetupWithManager ¶
func (r *SecretReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.