Documentation ¶
Index ¶
Constants ¶
View Source
const ( ControllerName = "policy-encryption-keys" // This is used for when an administrator prefers to manually generate the encryption keys // instead of letting the Policy Propagator handle it. DisableRotationAnnotation = "policy.open-cluster-management.io/disable-rotation" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptionKeysReconciler ¶
EncryptionKeysReconciler is responsible for rotating the AES encryption key in the "policy-encryption-key" Secrets for all managed clusters.
func (*EncryptionKeysReconciler) Reconcile ¶
func (r *EncryptionKeysReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile watches all "policy-encryption-key" Secrets on the Hub cluster. This periodically rotates the keys and resolves invalid modifications made to the Secret.
func (*EncryptionKeysReconciler) SetupWithManager ¶
func (r *EncryptionKeysReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrentReconciles uint) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.