-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: add labels field in stream_route schema #10529
fix: add labels field in stream_route schema #10529
Conversation
Signed-off-by: Ashish Tiwari <[email protected]>
apisix/schema_def.lua
Outdated
@@ -892,6 +892,7 @@ _M.stream_route = { | |||
create_time = timestamp_def, | |||
update_time = timestamp_def, | |||
remote_addr = remote_addr_def, | |||
labels = labels_def, |
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.
Please add comment here, like
The ingress project need this field
apisix/schema_def.lua
Outdated
@@ -892,6 +892,7 @@ _M.stream_route = { | |||
create_time = timestamp_def, | |||
update_time = timestamp_def, | |||
remote_addr = remote_addr_def, | |||
labels = labels_def, |
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.
Please add a comment here, like
The ingress project need this field
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.
done
Signed-off-by: Ashish Tiwari <[email protected]>
Description
Fixes multiple issues in ingress controller where the
labels
field is expected. This makes this resource consistent with other resource schemas.Related issues:
apache/apisix-ingress-controller#2057
apache/apisix-ingress-controller#2023
Checklist