Skip to content

Commit 6b417ed

Browse files
sbueringerk8s-infra-cherrypick-robot
authored andcommitted
Fix review findings
1 parent e0cb9d5 commit 6b417ed

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

test/e2e/data/infrastructure-docker/main/cluster-template-topology-runtimesdk-v1beta1/cluster-runtimesdk.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Note: This file is intentionally using v1beta1 for v1beta1 test coverage.
12
apiVersion: cluster.x-k8s.io/v1beta1
23
kind: Cluster
34
metadata:

test/e2e/data/infrastructure-docker/main/clusterclass-quick-start-runtimesdk-v1beta1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Note: This file is intentionally using v1beta1 for v1beta1 test coverage.
12
apiVersion: cluster.x-k8s.io/v1beta1
23
kind: ClusterClass
34
metadata:

test/extension/handlers/topologymutation/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func patchKubeadmConfigTemplate(_ context.Context, obj runtime.Object, _ map[str
263263
}
264264
obj.Spec.Template.Spec.JoinConfiguration.NodeRegistration.KubeletExtraArgs["v"] = "2"
265265
case *bootstrapv1.KubeadmConfigTemplate:
266-
obj.Spec.Template.Spec.JoinConfiguration.NodeRegistration.KubeletExtraArgs = append(obj.Spec.Template.Spec.InitConfiguration.NodeRegistration.KubeletExtraArgs, bootstrapv1.Arg{Name: "v", Value: ptr.To("2")})
266+
obj.Spec.Template.Spec.JoinConfiguration.NodeRegistration.KubeletExtraArgs = append(obj.Spec.Template.Spec.JoinConfiguration.NodeRegistration.KubeletExtraArgs, bootstrapv1.Arg{Name: "v", Value: ptr.To("2")})
267267
}
268268
}
269269

0 commit comments

Comments
 (0)