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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃敟 Add external credentials #215

Merged
merged 7 commits into from
Jun 3, 2024
Merged

馃敟 Add external credentials #215

merged 7 commits into from
Jun 3, 2024

Conversation

mcbenjemaa
Copy link
Member

@mcbenjemaa mcbenjemaa commented May 17, 2024

This PR adds external credentials to the Cluster.
To make it able to use multiple Proxmox data centers

Close #210

@mcbenjemaa mcbenjemaa self-assigned this May 17, 2024
@mcbenjemaa mcbenjemaa requested a review from wikkyk as a code owner May 17, 2024 11:12
@mcbenjemaa mcbenjemaa marked this pull request as draft May 17, 2024 11:12
@mcbenjemaa mcbenjemaa changed the title Add external credentials 馃敟 Add external credentials May 17, 2024
@mcbenjemaa mcbenjemaa marked this pull request as ready for review May 23, 2024 08:54
// CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this cluster. If not
// supplied then the credentials of the controller will be used.
// +optional
CredentialsRef *corev1.ObjectReference `json:"credentialsRef,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe SecretReference or if you expect the secret to be in the same namespace LocalObjectReference would be sufficient?

Copy link
Member Author

Choose a reason for hiding this comment

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

SecretReference is okay,

Copy link
Collaborator

@wikkyk wikkyk left a comment

Choose a reason for hiding this comment

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

The code is good to go in but this PR needs to update the documentation to explain how to use external credentials instead of PROXMOX_{URL,TOKEN,SECRET}.

@mcbenjemaa
Copy link
Member Author

Please check the added docs.

Copy link

sonarcloud bot commented Jun 3, 2024

@mcbenjemaa mcbenjemaa merged commit 74cf293 into main Jun 3, 2024
8 checks passed
@mcbenjemaa mcbenjemaa deleted the external-creds branch June 3, 2024 14:39
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.

Allow Multiple Proxmox Clusters
3 participants