Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a service account import controller and adds it to a manager (mgr). It is implemented by the service-account-import-controller command, via controller-runtime. The src argument is a map of client-go rest.Configs and namespaces by service account import name or kubeconfig context. The controller watches service account imports in the manager's cluster, and ensures secrets exist for each of them, created from the corresponding remote service account secrets data and cluster URL, fetched with the source client whose name matches the service account import clusterName spec field. TODO... import into multiple clusters with multicluster-controller
Types ¶
This section is empty.