We need to create a Secret resource with the fleet-agent install command invocation for the cluster.
Secret needs to be named as <cluster-name>-fleet-agent to allow usage of built-ins in the ClusterClass jsonPatch.
The content of the Secret would consist of 2 fields:
pod: Static pod definition with the CAAPF subcommand invocation.
values: chart data, such as token content, which would be stored alongside with static pod, and mounted in the pod using hostPath volume to allow direct access.
Both fields would serve as a source for files content. Static pod can be created in the /etc/kubernetes/manifests folder, together with the token file.