Closed 3deep5me closed 5 months ago
Great Point.
The image builder vars are based on the packer plugin, So, if we want to support the same naming, we will need to rename those, and this will be a Breaking change.
you're welcome to add this.
We should at least get documentation in for this in CAPMOX v0.4.0.
See #173 and https://github.com/ionos-cloud/cluster-api-provider-proxmox/pull/54#issuecomment-1895747271 - we decided that remaining consistent with Proxmox VE is more important than being consistent with Packer.
I created an image with image-builder, the environment variable for the "secret-key" is
PROXMOX_TOKEN
. In CAPMOX the same environment variable contains the "token-user".During the clusterctl init the environment variable is preferred over the config-file, so i ended up to have an secret like this
I would like to suggest to have the same naming as in the image-builder to save others the trouble shooting.
PROXMOX_USERNAME
&PROXMOX_TOKEN
I should be able to create a PR for that - if desired.