Skip to content

Commit 9f1f091

Browse files
committed
Add a network definition to v1alpha6 e2e templates
This ensures an API transformation is required when upgrading.
1 parent d70962e commit 9f1f091

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/e2e/data/kustomize/v1alpha6/kustomization.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,17 @@ components:
66
- ../common-patches/cni
77
- ../common-patches/containerd
88
- ../common-patches/ccm
9+
10+
patches:
11+
- target:
12+
kind: OpenStackMachineTemplate
13+
patch: |-
14+
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha6
15+
kind: OpenStackMachineTemplate
16+
metadata:
17+
name: ignored
18+
spec:
19+
template:
20+
spec:
21+
networks:
22+
- {}

0 commit comments

Comments
 (0)