-
Notifications
You must be signed in to change notification settings - Fork 296
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
🌱 vcsim: implement cluster proxy to allow more e2e tests to be compatible to vcsim #3072
🌱 vcsim: implement cluster proxy to allow more e2e tests to be compatible to vcsim #3072
Conversation
/test help |
@chrischdi: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
a576bc7
to
c68832b
Compare
/retest |
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
/retest |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
c68832b
to
0ff9e6f
Compare
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
Enabled vcsim on following tests to see where it fails. Disclamer: might not make sense for all of these tests to enable it.
|
0ff9e6f
to
3718351
Compare
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
3718351
to
22e8a98
Compare
22e8a98
to
e63c227
Compare
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
@@ -272,7 +272,11 @@ var _ = SynchronizedBeforeSuite(func() []byte { | |||
Finder: vsphereFinder, | |||
})) | |||
} | |||
bootstrapClusterProxy = framework.NewClusterProxy("bootstrap", kubeconfigPath, initScheme(), clusterProxyOptions...) | |||
if testTarget == VCSimTestTarget { | |||
bootstrapClusterProxy = vspherevcsim.NewClusterProxy("bootstrap", kubeconfigPath, initScheme(), clusterProxyOptions...) |
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 will add a comment about why we need this
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
/retest flake |
@chrischdi: The
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
/test pull-cluster-api-provider-vsphere-test-main flake |
bce6d36
to
3675277
Compare
Bumped to CAPI main and rebased /test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
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 one!
|
||
// Create a dialer which proxies through the kube-apiserver to the vcsim pod's port where the simulated kube-apiserver | ||
// is running. | ||
proxyDialer, err := inmemoryproxy.NewDialer(inmemoryproxy.Proxy{ |
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.
Really elegant that we can reuse this here. Nice!
3675277
to
67bfc48
Compare
Forgot to run /test pull-cluster-api-provider-vsphere-e2e-vcsim-govmomi-main |
/lgtm |
LGTM label has been added. Git tree hash: 060160103faca54ec86dee6f12a1c45edf0c4163
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #