-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(test): creating local cluster for e2e #250
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
Take a look at what already exists in /pkg/test
namely env.go
. This is what we need to use and leverage to be able to easily switch between contexts:
- env-test
- local kind
- remote greenhouse cluster
It provides a lot of tooling that we do not need to duplicate, mainly providing a client, config and kubeconfig when testing for example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like how this looks now.
go: sigs.k8s.io/e2e-framework@v0.4.0 requires go >= 1.22.3; switching to go1.22.4
@uwe-mayer @IvoGoman fyi |
@IvoGoman @onuryilmaz Totally agree on changing the kubeconfig env var to run remote tests against. |
Creating a local cluster: