From 3ca24a0fc50c830a25a04d6e4d9d2e76f10bd81d Mon Sep 17 00:00:00 2001 From: Christian Schlotter Date: Fri, 5 Jul 2024 09:38:28 +0200 Subject: [PATCH] fix supservisor templates --- .../main/clusterclass-runtimesdk/kustomization.yaml | 3 +++ .../main/clusterclass-runtimesdk/name.yaml | 3 +++ .../main/topology-runtimesdk/clusterclass.yaml | 3 +++ .../main/topology-runtimesdk/kustomization.yaml | 4 ++++ 4 files changed, 13 insertions(+) create mode 100644 test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/name.yaml create mode 100644 test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/clusterclass.yaml diff --git a/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/kustomization.yaml b/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/kustomization.yaml index 4d603d359e..dfaf3aa974 100644 --- a/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/kustomization.yaml +++ b/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/kustomization.yaml @@ -6,3 +6,6 @@ patches: - target: kind: ClusterClass path: ./patch-test-extension.yaml + - target: + kind: ClusterClass + path: ./name.yaml diff --git a/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/name.yaml b/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/name.yaml new file mode 100644 index 0000000000..53324626ff --- /dev/null +++ b/test/e2e/data/infrastructure-vsphere-supervisor/main/clusterclass-runtimesdk/name.yaml @@ -0,0 +1,3 @@ +- op: replace + path: /metadata/name + value: quick-start-runtimesdk \ No newline at end of file diff --git a/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/clusterclass.yaml b/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/clusterclass.yaml new file mode 100644 index 0000000000..3da8f52ef0 --- /dev/null +++ b/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/clusterclass.yaml @@ -0,0 +1,3 @@ +- op: replace + path: /spec/topology/class + value: ${CLUSTER_CLASS_NAME}-runtimesdk \ No newline at end of file diff --git a/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/kustomization.yaml b/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/kustomization.yaml index 0aecb2500d..7e1977951b 100644 --- a/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/kustomization.yaml +++ b/test/e2e/data/infrastructure-vsphere-supervisor/main/topology-runtimesdk/kustomization.yaml @@ -2,3 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../topology +patches: + - target: + kind: Cluster + path: ./clusterclass.yaml