Documentation ¶
Overview ¶
Package usersshkeysagent contains the usersshkeysagent controller, which is deployed as a DaemonSet on all usercluster nodes and responsible for synchronizing the `$HOME/.ssh/authorized_keys` file for all users we know about (root, core, ubuntu, centos) and that exist with the content of a secret.
This secret in turn is synchronized based on a secret in the seed namespace via a controller running in the usercluster controller manager and that seed namespace secret is synchronized based on the usersshkeys custom resources in the master cluster via a controller running in the master controller manager.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheFunc ¶ added in v2.19.0
func NewCacheFunc() cache.NewCacheFunc
NewCacheFunc returns a user-ssh-keys-agent specific cache.NewCacheFunc that limits the cache to the Secret object that is needed by the controller. This is done so we can limit the RBAC assignment for this controller to the bare minimum (the resource name).
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }