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(dataplane): don't populate replicas when scaling defined #79

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Apr 8, 2024

What this PR does / why we need it:

If GatewayConfiguration specifies a non-empty deployment.scaling field in DataPlaneOptions, the Gateway controller should not populate the replicas field in DataPlane specification, even if it's nil in GatewayConfiguration.

Which issue this PR fixes

Fixes #78.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect significant changes

@czeslavo czeslavo requested a review from a team as a code owner April 8, 2024 13:31
@czeslavo czeslavo self-assigned this Apr 8, 2024
@czeslavo czeslavo force-pushed the fix/dp-replicas-with-scaling branch from 165a09d to 57529d9 Compare April 8, 2024 13:33
@czeslavo czeslavo force-pushed the fix/dp-replicas-with-scaling branch from 57529d9 to a432afb Compare April 8, 2024 14:05
test/integration/test_gateway.go Outdated Show resolved Hide resolved
@czeslavo czeslavo requested a review from pmalek April 8, 2024 17:11
@czeslavo czeslavo merged commit 2160448 into main Apr 9, 2024
13 checks passed
@czeslavo czeslavo deleted the fix/dp-replicas-with-scaling branch April 9, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataPlane replicas should not be set by Gateway controller when scaling is enabled
2 participants