-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
UI: k8s auth openapi update #25218
UI: k8s auth openapi update #25218
Conversation
@@ -605,6 +605,14 @@ const kubernetes = { | |||
label: 'Token Reviewer JWT', | |||
type: 'string', | |||
}, | |||
useAnnotationsAsAliasMetadata: { | |||
editType: 'boolean', | |||
fieldGroup: 'default', |
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.
It looks like the fieldGroup above is Kubernetes Options
. I can't remember how this openAPI test is setup, does this need to match above?
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.
Good catch -- the fieldGroup is coming from the OpenAPI response, so if it's default from there maybe that means the checkmark needs to be in the main fields instead. I'll check with eco
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.
Confirmed that the option should be in this section -- the kubernetes plugin authors probably don't know that the fieldgroup value is for organizing the options in the form
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.
Thanks for confirming and following up!
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.
Thanks for the quick fix! So great to see these openAPI tests you added doing their job 🤩
I'm sure you did since the openAPI attr is added below, but looks like you ran enterprise tests locally - just double checking!
Build Results: |
This PR adds a new Kubernetes config param,
use_annotations_as_alias_metadata
. This was caught via one of the OpenAPI tests.The new param was added in this PR and Vault is updated to consume the new version in this PR
Config form has param: