Skip to content

add envoy gateway e2e#372

Merged
k8s-ci-robot merged 5 commits intokubernetes-sigs:mainfrom
kkk777-7:e2e-eg
Mar 6, 2026
Merged

add envoy gateway e2e#372
k8s-ci-robot merged 5 commits intokubernetes-sigs:mainfrom
kkk777-7:e2e-eg

Conversation

@kkk777-7
Copy link
Copy Markdown
Member

@kkk777-7 kkk777-7 commented Feb 28, 2026

What type of PR is this?

/kind test

What this PR does / why we need it:
Add Envoy Gateway E2E test.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 28, 2026
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 28, 2026
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 28, 2026
@kkk777-7 kkk777-7 marked this pull request as ready for review February 28, 2026 11:37
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 28, 2026
@k8s-ci-robot k8s-ci-robot requested a review from rikatz February 28, 2026 11:37
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@Stevenjin8
Copy link
Copy Markdown
Contributor

/approve

cc @johananl

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 2, 2026
Comment thread e2e/gwapi_envoygateway.go Outdated
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kkk777-7, Stevenjin8

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [Stevenjin8,kkk777-7]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Stevenjin8
Copy link
Copy Markdown
Contributor

c @johananl could you take alook

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
Copy link
Copy Markdown
Contributor

@Stevenjin8 Stevenjin8 left a comment

Choose a reason for hiding this comment

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

/lgtm
/hold

In case you want to change how crds work and to give @johananl a chance to take a look

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 3, 2026
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 3, 2026
Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 3, 2026
@Stevenjin8 Stevenjin8 mentioned this pull request Mar 3, 2026
Copy link
Copy Markdown
Member

@johananl johananl left a comment

Choose a reason for hiding this comment

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

Thanks!

Other than the comment about the GWAPI CRD consts this looks great.

Comment thread e2e/crd.go
func deployCRDs(ctx context.Context, l logger, client *apiextensionsclientset.Clientset, skipCleanup bool) (func(), error) {
l.Logf("Fetching manifests from %s", gatewayAPIInstallURL)
yamlData, err := fetchManifests(ctx, l)
func deployCRDs(ctx context.Context, l logger, client *apiextensionsclientset.Clientset, url string, skipCleanup bool) (func(), error) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I understand this change, there is a subtlety here: Before the change, this function was meant to be a helper fro installing the GWAPI CRDs specifically whereas now it's a generic helper for installing arbitrary CRDs.

What I suggest we do is move the gatewayAPIVersion and gatewayAPIInstallURL consts to gwapi.go. This way we turn crd.go into a truly generic helper file while keeping GWAPI-specific stuff in one place.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks, that makes sense! I've fixed.

Comment thread e2e/gwapi_envoygateway.go
_, err = gwClient.GatewayV1().GatewayClasses().Update(ctx, gc, metav1.UpdateOptions{})
}
if err != nil {
cleanupCRDs()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We're leaking the Helm chart here. This isn't a huge deal since we seem to have a general problem with this pattern (see #386) so please treat this comment as an FYI.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks, good catch!
After #366 merged, I'll tackle this issue when I have time.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'll tackle this issue when I have time

Does "this issue" mean #386? Can we merge this (#372) PR?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah, I meant #386. I’d appreciate it if we could merge PR #372 first.

Signed-off-by: kkk777-7 <kota.kimura0725@gmail.com>
@johananl
Copy link
Copy Markdown
Member

johananl commented Mar 6, 2026

/lgtm
/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 6, 2026
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 6, 2026
@k8s-ci-robot k8s-ci-robot merged commit d6206db into kubernetes-sigs:main Mar 6, 2026
6 checks passed
@johananl
Copy link
Copy Markdown
Member

johananl commented Mar 6, 2026

Merged! Thanks for the contribution @kkk777-7 🙏

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants