Skip to content

Commit

Permalink
✨ Add test releases for local testing (#43)
Browse files Browse the repository at this point in the history
Adding test releases that can be used for local unit and integration
tests.

Signed-off-by: Anurag <81210977+kranurag7@users.noreply.github.com>

Author:    Anurag <anurag.kumar@syself.com>
  • Loading branch information
kranurag7 authored Dec 19, 2023
1 parent 4c4f906 commit 7ecd28c
Show file tree
Hide file tree
Showing 15 changed files with 104 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
values: |
metrics-server:
commonLabels:
domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}"
clusterAddonVersion: "v1"
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ versions:
kubernetes: v1.27.3
components:
clusterAddon: v1
nodeImage: v1
nodeImage: v1
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
values: |
metrics-server:
commonLabels:
domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}"
clusterAddonVersion: "v2"
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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
clusterAddon: v2
nodeImage: v1
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
values: |
metrics-server:
commonLabels:
domain: "{{ .Cluster.spec.controlPlaneEndpoint.host }}"
clusterAddonVersion: "v2"
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: metadata.clusterstack.x-k8s.io/v1alpha1
versions:
clusterStack: v3
kubernetes: v1.27.3
components:
clusterAddon: v2
nodeImage: v2
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7ecd28c

Please sign in to comment.