cloud-provider-openstack
cloud-provider-openstack copied to clipboard
[manila-csi-plugin] Cannot set `os-applicationCredentialSecret` and `os-applicationCredentialID` at the same time
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
PR #1857 changed the dependsOn validation for application credentials. With these constraints it is no longer possible to set os-applicationCredentialSecret and os-applicationCredentialID at the same time which is required for authentication. Mounts fail with the following error message:
invalid OpenStack secrets: parameter 'os-authURL' requires exactly one of [os-password os-trustID os-applicationCredentialSecret os-applicationCredentialID os-applicationCredentialName os-clientCertPath] parameters
What you expected to happen:
(os-applicationCredentialSecret and os-applicationCredentialID) or (os-applicationCredentialSecret and os-applicationCredentialName) can be set at the same time.
How to reproduce it:
Configure application credentials using os-applicationCredentialSecret and os-applicationCredentialID.
Anything else we need to know?:
The PR #1857 probably meant to add constraints to ApplicationCredentialID, ApplicationCredentialName and ApplicationCredentialSecret themselves.