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

Create integration test to check KongUpstreamPolicy status gets properly set #5292

Closed
1 task
Tracked by #5291
mlavacca opened this issue Dec 5, 2023 · 1 comment · Fixed by #5450
Closed
1 task
Tracked by #5291

Create integration test to check KongUpstreamPolicy status gets properly set #5292

mlavacca opened this issue Dec 5, 2023 · 1 comment · Fixed by #5450
Assignees
Milestone

Comments

@mlavacca
Copy link
Member

mlavacca commented Dec 5, 2023

Problem Statement

The KongUpstreamPolicy controller builds and enforce the status in the KongUpstreamPolicy resources. We need to add an integration test that checks the following

  • an HTTPRoute references two services: both services reference the same policy. The Policy Status must reflect this situation by setting proper ancestors conditions
  • an HTTPRoute references two services: service A references policy A and service B references policy B. The Policy Status must reflect this situation by setting proper ancestors conditions
  • an Ingress references two services: both services reference the same policy. The Policy Status must reflect this situation by setting proper ancestors conditions
  • an Ingress references two services: service A references policy A and service B references policy B. The Policy Status must reflect this situation by setting proper ancestors conditions
  • The programmed condition must be checked as well, to ensure the kongUpstreamPolicy has been properly applied in the dataplane.

Acceptance Criteria

  • the above tests are added
@mlavacca
Copy link
Member Author

mlavacca commented Dec 5, 2023

Blocked by #4932, #5293, #5249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants