e2e,acceptance: Cover enterprise runners (#1124)

Adds various code and changes I have used while testing #1062
This commit is contained in:
Yusuke Kuoka
2022-02-17 09:16:28 +09:00
committed by GitHub
parent 5b92c412a4
commit ba4bd7c0db
10 changed files with 198 additions and 15 deletions

View File

@@ -323,6 +323,11 @@ func (k *Kind) Start(ctx context.Context) error {
kindConfig := []byte(fmt.Sprintf(`kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: %s
networking:
apiServerAddress: 0.0.0.0
nodes:
- role: control-plane
- role: worker
`, k.Name))
if err := os.WriteFile(f.Name(), kindConfig, 0644); err != nil {