Skip to content
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

Merged

Conversation

Revolyssup
Copy link
Contributor

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

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@@ -892,6 +892,7 @@ _M.stream_route = {
create_time = timestamp_def,
update_time = timestamp_def,
remote_addr = remote_addr_def,
labels = labels_def,
Copy link
Contributor

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

@@ -892,6 +892,7 @@ _M.stream_route = {
create_time = timestamp_def,
update_time = timestamp_def,
remote_addr = remote_addr_def,
labels = labels_def,
Copy link
Contributor

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

Copy link
Contributor Author

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants