-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add support to define application credentials #1230
Add support to define application credentials #1230
Conversation
@NotTheEvilOne Thank you for your contribution. |
Thank you @NotTheEvilOne for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below. |
@grolu, @holgerkoser You have pull request review open invite, please check |
@NotTheEvilOne Thank you for your contribution.
Let's discuss the open questions here. After that you can improve your implementation or I can take care of it if you want. |
Thanks for your review.
I don't think so.
Looks like I read the code here wrong.
Here I'm not sure and need to check again. As far as I can see, domain and tenant are always required code wise. Could be that they are prefilled automatically somewhere else.
|
@MartinWeindel maybe you can clarify the open questions |
No, this makes no sense and it is also not allowed to provide both password and applicationCredentialSecret. Either you provide username/password or application credentials
With the current implementation, domain and tenant name need to be provided always. There are too much combinations which may be valid, but are not tested. |
@NotTheEvilOne I will incorporate the required changes and make a new PR based on this one if this is ok for you |
d5292d8
to
0920ad3
Compare
I've changed the PR based on the feedback given. If you find any further mistakes please go ahead as you suggested. |
0920ad3
to
41c6e0f
Compare
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.
/lgtm
There is still a minor glitch but most of the PR is fine . As I want to do some validation logic cleanup anyway. Let's merge it now. I will add a separate PR later
What this PR does / why we need it:
This change implements support to enter application credentials for OpenStack as an alternative for the use of a technical user with password.
Which issue(s) this PR fixes:
Closes #1049
Special notes for your reviewer:
Error messages should reflect required inputs taking precedence of the underlying
gardener-extension-provider-openstack
implementation.