Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add image builder envrionment variable warning #173

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

65278
Copy link
Collaborator

@65278 65278 commented Apr 10, 2024

Issue #, if available:
ref: #52
Description of changes:
Documentation on environment variable differences in CAPMOX and Proxmox Image Builder VE.
Testing performed:
None at all.

Trying to use CAPMOX's variables will lead to [image building failure](https://github.com/ionos-cloud/cluster-api-provider-proxmox/issues/52).
The image builder uses `PROXMOX_USERNAME` as the token name and `PROXMOX_TOKEN` as the token's secret, whereas CAPMOX uses `PROXMOX_TOKEN` as
the token name and `PROXMOX_SECRET` as the token's secret UUID.
[Proxmox's API Token Documentation](https://pve.proxmox.com/wiki/Proxmox_VE_API#api_tokens) is closer to CAPMOX's way of implementing authentication,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would flip this sentence around, Proxmox API is the upstream standard. Capmox is closer to the upstream than Image Builder is.

Suggested change
[Proxmox's API Token Documentation](https://pve.proxmox.com/wiki/Proxmox_VE_API#api_tokens) is closer to CAPMOX's way of implementing authentication,
The CAPMOX way of implementing authentication is closer to the [Proxmox API Token Documentation](https://pve.proxmox.com/wiki/Proxmox_VE_API#api_tokens),

@wikkyk
Copy link
Collaborator

wikkyk commented Apr 11, 2024

e2e unnecessary for docs PRs

@65278 65278 force-pushed the 52_image_builder_environment_vars branch from 4c3bd83 to 406205d Compare April 15, 2024 12:11
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@wikkyk wikkyk force-pushed the 52_image_builder_environment_vars branch from 406205d to 7ee87e3 Compare April 16, 2024 13:27
@wikkyk wikkyk merged commit a5907c4 into main Apr 16, 2024
5 of 7 checks passed
@wikkyk wikkyk deleted the 52_image_builder_environment_vars branch April 16, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants