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

NET-4992- Kitchen sink gateway test #3196

Merged
merged 7 commits into from
Nov 10, 2023
Merged

Conversation

sarahalsmiller
Copy link
Member

Changes proposed in this PR:

  • Added acceptance test to utilize several API GW features at once. Potentially as time goes on we will need to add additional asserts, feature flags to this test to keep it up to date

How I've tested this PR:

  • Run the acceptance test locally

How I expect reviewers to test this PR:

  • CI test pass

Checklist:

@sarahalsmiller sarahalsmiller added pr/no-changelog PR does not need a corresponding .changelog entry backport/1.3.x labels Nov 9, 2023
@sarahalsmiller sarahalsmiller marked this pull request as ready for review November 10, 2023 15:52
gwv1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1"
)

// Enabled everything possible, see if anything breaks.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥


// Create gateway class referencing gateway-class-config.
logger.Log(t, "creating controlled gateway class")
createGatewayClass(t, k8sClient, gatewayClassName, gatewayClassControllerName, gatewayParametersRef)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need to create the gatewayclass and all that manually?

Copy link
Contributor

@missylbytes missylbytes Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think managedGatewayClass defaults to true so we should be able to skip these steps if there isn't anything special about the kitchen-sink-gateway-class-config.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could swap it over to kustomize before I merge it in for sure. I can't remember why it was split out this way.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kitchen-sink-gateway-class-config does have configuration that utilities the min/max deployment config.

Copy link
Member

@jm96441n jm96441n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comment but overall LGTM

@sarahalsmiller sarahalsmiller enabled auto-merge (squash) November 10, 2023 20:55
@sarahalsmiller sarahalsmiller merged commit a4813e9 into main Nov 10, 2023
24 of 48 checks passed
@sarahalsmiller sarahalsmiller deleted the kitchen-sink-gateway-test branch November 10, 2023 22:21
davidsow pushed a commit to davidsow/consul-k8s that referenced this pull request Nov 13, 2023
* checkpoint

* checkpoint, passing test

* kitchen sink, NET-4992

* lint issue

* clean up unneeded calls

---------

Co-authored-by: Sarah Alsmiller <sarah.alsmiller@sarah.alsmiller-RQQ26PQ2L5>
jjti pushed a commit that referenced this pull request Nov 14, 2023
* checkpoint

* checkpoint, passing test

* kitchen sink, NET-4992

* lint issue

* clean up unneeded calls

---------

Co-authored-by: Sarah Alsmiller <sarah.alsmiller@sarah.alsmiller-RQQ26PQ2L5>
sarahalsmiller added a commit that referenced this pull request Jan 5, 2024
* checkpoint

* checkpoint, passing test

* kitchen sink, NET-4992

* lint issue

* clean up unneeded calls

---------

Co-authored-by: Sarah Alsmiller <sarah.alsmiller@sarah.alsmiller-RQQ26PQ2L5>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants