-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Provide validation for identityId with Azure pod identity in TriggerAuthentication #4528
Comments
Empty value is the default value, so we don't have any good way to difference between empty by error or just not provided. |
Can we distinguish empty from nil? Imagine someone wants to use |
I'm not totally sure if we can, because an empty string isn't nil, is "". I'd need to check if we are using a pointer here. I'll review it later on |
Well that is my question actually, can we use |
Currently, the default value is |
That sounds like a viable thing to do allowing us to validate the input, what do you think? It's just an idea, I don't want to push this though :) |
I think that we can give a try |
Let's see if I can do this :) |
@SpiritZhou is working on this |
Thanks @SpiritZhou ! |
Provide validation for identityId with Azure pod identity in TriggerAuthentication.
I've seen a scenario where an empty application ID was specified and it was not blocked, most probably because we see it as the default?
The text was updated successfully, but these errors were encountered: