diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/cluster-addon-values.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/cluster-addon-values.yaml new file mode 100644 index 000000000..17171abe0 --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/cluster-addon-values.yaml @@ -0,0 +1,5 @@ +values: | + metrics-server: + commonLabels: + domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}" + clusterAddonVersion: "v1" diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-addon-v1.tgz b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-addon-v1.tgz index 8be581f0f..22727489b 100644 Binary files a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-addon-v1.tgz and b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-addon-v1.tgz differ diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-class-v1.tgz b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-class-v1.tgz index b68e08bd0..995c95646 100644 Binary files a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-class-v1.tgz and b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/docker-ferrol-1-27-cluster-class-v1.tgz differ diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/metadata.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/metadata.yaml index 99af1587b..cdbdc1cfd 100644 --- a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/metadata.yaml +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/metadata.yaml @@ -4,4 +4,4 @@ versions: kubernetes: v1.27.3 components: clusterAddon: v1 - nodeImage: v1 \ No newline at end of file + nodeImage: v1 diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v1/topology-docker.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/topology-docker.yaml new file mode 100644 index 000000000..c629f448f --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v1/topology-docker.yaml @@ -0,0 +1,26 @@ +apiVersion: cluster.x-k8s.io/v1beta1 +kind: Cluster +metadata: + name: "${CLUSTER_NAME}" + namespace: "cluster" +spec: + clusterNetwork: + services: + cidrBlocks: ["10.128.0.0/12"] + pods: + cidrBlocks: ["192.168.0.0/16"] + serviceDomain: "cluster.local" + topology: + class: docker-ferrol-1-27-v1 + controlPlane: + metadata: {} + replicas: 1 + variables: + - name: imageRepository + value: "" + version: v1.27.3 + workers: + machineDeployments: + - class: workeramd64 + name: md-0 + replicas: 1 diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/cluster-addon-values.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/cluster-addon-values.yaml new file mode 100644 index 000000000..e0033983a --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/cluster-addon-values.yaml @@ -0,0 +1,5 @@ +values: | + metrics-server: + commonLabels: + domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}" + clusterAddonVersion: "v2" diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-addon-v2.tgz b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-addon-v2.tgz index 8be581f0f..e0feb436d 100644 Binary files a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-addon-v2.tgz and b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-addon-v2.tgz differ diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-class-v2.tgz b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-class-v2.tgz index b68e08bd0..91d82e1d6 100644 Binary files a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-class-v2.tgz and b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/docker-ferrol-1-27-cluster-class-v2.tgz differ diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/metadata.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/metadata.yaml index 99af1587b..47ce43f1a 100644 --- a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/metadata.yaml +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/metadata.yaml @@ -1,7 +1,7 @@ apiVersion: metadata.clusterstack.x-k8s.io/v1alpha1 versions: - clusterStack: v1 + clusterStack: v2 kubernetes: v1.27.3 components: - clusterAddon: v1 - nodeImage: v1 \ No newline at end of file + clusterAddon: v2 + nodeImage: v1 diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v2/topology-docker.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/topology-docker.yaml new file mode 100644 index 000000000..ec1f970c7 --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v2/topology-docker.yaml @@ -0,0 +1,26 @@ +apiVersion: cluster.x-k8s.io/v1beta1 +kind: Cluster +metadata: + name: "${CLUSTER_NAME}" + namespace: "cluster" +spec: + clusterNetwork: + services: + cidrBlocks: ["10.128.0.0/12"] + pods: + cidrBlocks: ["192.168.0.0/16"] + serviceDomain: "cluster.local" + topology: + class: docker-ferrol-1-27-v2 + controlPlane: + metadata: {} + replicas: 1 + variables: + - name: imageRepository + value: "" + version: v1.27.3 + workers: + machineDeployments: + - class: workeramd64 + name: md-0 + replicas: 1 diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v3/cluster-addon-values.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/cluster-addon-values.yaml new file mode 100644 index 000000000..e0033983a --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/cluster-addon-values.yaml @@ -0,0 +1,5 @@ +values: | + metrics-server: + commonLabels: + domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}" + clusterAddonVersion: "v2" diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v3/docker-ferrol-1-27-cluster-addon-v2.tgz b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/docker-ferrol-1-27-cluster-addon-v2.tgz new file mode 100644 index 000000000..5b0933f5b Binary files /dev/null and b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/docker-ferrol-1-27-cluster-addon-v2.tgz differ diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v3/docker-ferrol-1-27-cluster-class-v3.tgz b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/docker-ferrol-1-27-cluster-class-v3.tgz new file mode 100644 index 000000000..209be4e73 Binary files /dev/null and b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/docker-ferrol-1-27-cluster-class-v3.tgz differ diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v3/metadata.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/metadata.yaml new file mode 100644 index 000000000..58950cca3 --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/metadata.yaml @@ -0,0 +1,7 @@ +apiVersion: metadata.clusterstack.x-k8s.io/v1alpha1 +versions: + clusterStack: v3 + kubernetes: v1.27.3 + components: + clusterAddon: v2 + nodeImage: v2 diff --git a/test/releases/cluster-stacks/docker-ferrol-1-27-v3/topology-docker.yaml b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/topology-docker.yaml new file mode 100644 index 000000000..f47dd0c27 --- /dev/null +++ b/test/releases/cluster-stacks/docker-ferrol-1-27-v3/topology-docker.yaml @@ -0,0 +1,26 @@ +apiVersion: cluster.x-k8s.io/v1beta1 +kind: Cluster +metadata: + name: "${CLUSTER_NAME}" + namespace: "cluster" +spec: + clusterNetwork: + services: + cidrBlocks: ["10.128.0.0/12"] + pods: + cidrBlocks: ["192.168.0.0/16"] + serviceDomain: "cluster.local" + topology: + class: docker-ferrol-1-27-v3 + controlPlane: + metadata: {} + replicas: 1 + variables: + - name: imageRepository + value: "" + version: v1.27.3 + workers: + machineDeployments: + - class: workeramd64 + name: md-0 + replicas: 1