Conversation
b164bc7 to
3b4c877
Compare
|
Failed to assess the semver bump. See logs for details. |
3b4c877 to
1673576
Compare
|
Failed to assess the semver bump. See logs for details. |
1673576 to
9f8fef7
Compare
|
Failed to assess the semver bump. See logs for details. |
9f8fef7 to
6b99144
Compare
|
Failed to assess the semver bump. See logs for details. |
6b99144 to
2f6ff31
Compare
|
Failed to assess the semver bump. See logs for details. |
2f6ff31 to
480ccef
Compare
b05fcb5 to
ba588f7
Compare
mandre
left a comment
There was a problem hiding this comment.
This is a great start! There's a bit more work to do around dependency management and handling of the secret, but hopefully nothing blocking.
It's annoying that the openstack API doesn't allow retrieving an app cred directly via its UUID, forcing us to pass it a user ID as well. I don't think there's a magic solution for it, and we'll have to document the tradeoff we've made, and explain how managing app creds for other user might increase the load on OpenStack API.
Again, really good work.
| var filters []osclients.ResourceFilter[osResourceT] | ||
|
|
||
| // Add client-side filters | ||
| if resourceSpec.Description != nil { |
There was a problem hiding this comment.
Looks like the keystone API allows filtering app creds via description but this is missing from gophercloud.
Would you like to contribute this to gophercloud?
There was a problem hiding this comment.
Yeah, I could address this at some point. But I would like to get this PR merged in the foreseeable future. Would you mind, if we open a new issue for this instead?
There was a problem hiding this comment.
Clearly not something I expect you to fix in gophercloud before this PR lands :)
It was just an observation for something I noticed during review.
ac1c351 to
b991cc7
Compare
$ go run ./cmd/scaffold-controller -interactive=false \
-kind=ApplicationCredential \
-gophercloud-client=NewIdentityV3 \
-gophercloud-module=github.com/gophercloud/gophercloud/v2/openstack/identity/v3/applicationcredentials \
-gophercloud-type=ApplicationCredential \
-openstack-json-object=application_credentials \
-required-create-dependency=User \
-import-dependency=User
On-behalf-of: SAP nils.gondermann@sap.com
Register with the resource generator On-behalf-of: SAP nils.gondermann@sap.com
Add the OpenStack client to scope On-behalf-of: SAP nils.gondermann@sap.com
Register the controller On-behalf-of: SAP nils.gondermann@sap.com
3337480 to
3b6f422
Compare
On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com
3b6f422 to
9379fb5
Compare
On-behalf-of: SAP nils.gondermann@sap.com
On-behalf-of: SAP nils.gondermann@sap.com
9379fb5 to
123212f
Compare
Adds ApplicationCredential support
Due to the nature of the OpenStack API, we have to work around addressing application credentials not only by their unique ID, but also a UserRef.
Closes #670