-
Notifications
You must be signed in to change notification settings - Fork 157
fix(docs): missing export env vars in capi proxmox sample #971
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
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for kamaji-documentation ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
```bash | ||
# The Proxmox VE host | ||
export PROXMOX_URL="https://pve.example:8006" | ||
export PROXMOX_URL='https://pve.example:8006 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export PROXMOX_URL='https://pve.example:8006 | |
export PROXMOX_URL="https://pve.example:8006" |
# The Proxmox VE TokenID for authentication | ||
export PROXMOX_TOKEN="clastix@pam\!capi" | ||
export PROXMOX_TOKEN='clastix@pam\!capi' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export PROXMOX_TOKEN='clastix@pam\!capi' | |
export PROXMOX_TOKEN="clastix@pam\!capi" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In bash, with double quotes ("), the backslash escapes the exclamation mark, so the value would be clastix@pam!capi
without the backslash. However, clusterctl
traslates it as clastix@pam\!capi
resulting in wrong token. So the correct is use single quote (') to preserve the entire string and without backslash export PROXMOX_TOKEN='clastix@pam!capi'
.
# The secret associated with the TokenID | ||
export PROXMOX_SECRET="REDACTED" | ||
export PROXMOX_SECRET='REDACTED' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export PROXMOX_SECRET='REDACTED' | |
export PROXMOX_SECRET="REDACTED" |
close #970