Closed thomas-chauvet closed 7 months ago
Hello, thanks for your issue
I agree on the naming replacement from EXOSCALE_API_URL
to EXOSCALE_API_ENDPOINT
We'll make a PR.
In the CSI, the EXOSCALE_API_ENDPOINT
is not necessary, that why it's not documented inside the README.md, it's only for internal use.
What you only need is the key
and the secret
, the CSI will discover the right endpoint for you depending on your node zone.
exoscale-csi-credentials
was a reason for not conflicting with cloud-controller-manager secret one during our internal use, but yes now it's no longer the case, let's align it with the CCM, and user can change on their own the secret name in the manifest if it's needed.
Thank you
Your request
In exoscale-cloud-controller-manager secrets contain:
In CSI driver, secrets contain:
Furthermore, secrets are passed as environment variables like this:
But as I suggest to rename secrets, they could be passed like this:
Finally, I suggest to rename secrets' name
exoscale-csi-credentials
toexoscale-credentials
. Thus, the two components will be coherent which will facilitate the deployment.Happy to make a PR if ok for you.
Cheers,
Thomas