Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziopandini committed Dec 12, 2024
1 parent cffcd1c commit 04f25db
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
10 changes: 5 additions & 5 deletions test/e2e/scale_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ var _ = Describe("When testing the machinery for scale testing FP [vcsim] [super
BootstrapClusterProxy: bootstrapClusterProxy,
ArtifactFolder: artifactFolder,
DeployClusterInSeparateNamespaces: true,
ClusterCount: ptr.To[int64](10),
Concurrency: ptr.To[int64](5),
ClusterCount: ptr.To[int64](100),
Concurrency: ptr.To[int64](20),
ControlPlaneMachineCount: ptr.To[int64](1),
MachineDeploymentCount: ptr.To[int64](1),
WorkerMachineCount: ptr.To[int64](3),
Flavor: ptr.To("topology"),
WorkerMachineCount: ptr.To[int64](1),
Flavor: ptr.To("topology-runtimesdk"),
SkipUpgrade: true,
SkipCleanup: skipCleanup,
}
Expand Down Expand Up @@ -686,7 +686,7 @@ func createClusterWorker(ctx context.Context, clusterProxy framework.ClusterProx
IgnoreAlreadyExists: true,
}, "40s", "10s")

logf("Setup VMOperator and VCSim dependencies in namespace %", namespaceName)
logf("Setup VMOperator and VCSim dependencies in namespace %s", namespaceName)
setupNamespaceWithVMOperatorDependenciesVCSim(clusterProxy, namespaceName)
}

Expand Down
8 changes: 1 addition & 7 deletions test/extension/config/tilt/extensionconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@ kind: ExtensionConfig
metadata:
annotations:
runtime.cluster.x-k8s.io/inject-ca-from-secret: capv-test-extension/capv-test-extension-webhook-service-cert
name: capv-test-extension
name: k8s-upgrade-with-runtimesdk # Note: used the same name used by E2E tests, so it possible to debug them with tilt
spec:
clientConfig:
service:
name: capv-test-extension-webhook-service
namespace: capv-test-extension # Note: this assumes the test extension get deployed in the default namespace defined in its own runtime-extensions-components.yaml
port: 443
namespaceSelector:
matchExpressions:
- key: kubernetes.io/metadata.name
operator: In
values:
- default # Note: this assumes the test extension is used by Cluster in the default namespace only
2 changes: 2 additions & 0 deletions test/extension/tilt-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
label: CAPV_EXTENSION
additional_resources:
- config/tilt/extensionconfig.yaml
resource_deps:
- "capi_controller"

0 comments on commit 04f25db

Please sign in to comment.