Skip to content

Implement e2e test for ingress2gateway #234

@rikatz

Description

@rikatz

What would you like to be added:
Implement e2e test for ingress2gateway

We don't have as of today any sort of e2e that can get some Ingress resource and turn into a GatewayAPI resource, to later apply on a cluster and test its behavior.

This can cause situations where an implementation is not correct, or doesn't reflect the real user experience

As a proposal, we can implement some e2e tests that:

  • Bootstrap a KinD cluster
  • Install some GatewayAPI controller - Suggestion is to use envoy gateway
  • Has a set of tests for the desired providers that represent an ingress resource. As an example, we can have yaml manifests that represents Ingress NGINX with its features (server-alias, canary, etc).
  • Run ingress2gateway on these files, convert to GatewayAPI manifests and apply to cluster
  • Run a simple "curl" to guarantee that the expected behavior is working

As this is a cli, we want to reproduce the user behavior, so my suggestion is to use bats for these tests.

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions