orange-lawyer-91870
09/05/2023, 9:10 PMkind: Cluster
and kind: HarvesterConfig
) for both clusters as deployed and can’t spot a delta.
The only resource I’ve been able to determine that’s different is a Secret that gets created in the fleet-default
namespace instantly after you click “Create” in the Rancher Cluster Management UI: harvesterconfigXXXXX
(last 5 are dynamic)
This secret contains a service account and token information of the Harvester cluster needed for the CSI driver to work from the downstream cluster. (it also provisions the service account on the Harvester cluster)
How can I replicate the Harvester CSI behavior from the UI via the cluster-template Helm charts? Does anyone know what creates that harvesterconfig secret and what additional resource I need to define in the Helm templates to initiate those resource creations?
I’m assuming the UI process is kicking off this script (https://raw.githubusercontent.com/harvester/harvester-csi-driver/master/deploy/generate_addon_csi.sh) but how and what can I do to make that happen via the Helm workflow?
If there’s a better room, let me know and I’ll repost in there. Thanks in advance!