Skip to content

Commit

Permalink
create v2 release of cluster stacks
Browse files Browse the repository at this point in the history
this commit updates everything for v2 release.

Signed-off-by: Anurag <[email protected]>
  • Loading branch information
kranurag7 committed Nov 28, 2023
1 parent bb5713a commit 60c1fa9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ release-docker: clean-release $(HELM) ## Builds and push container images using
# git checkout "${RELEASE_TAG}"
@./hack/ensure-env-variables.sh RELEASE_CLUSTER_CLASS RELEASE_KUBERNETES_VERSION
@mkdir -p .release
cp providers/docker/$(RELEASE_CLUSTER_CLASS)/$(RELEASE_KUBERNETES_VERSION)/cluster-addon-values.yaml .release/
cp providers/docker/$(RELEASE_CLUSTER_CLASS)/$(RELEASE_KUBERNETES_VERSION)/node-images.yaml .release/
cp providers/docker/$(RELEASE_CLUSTER_CLASS)/$(RELEASE_KUBERNETES_VERSION)/metadata.yaml .release/
cp providers/docker/$(RELEASE_CLUSTER_CLASS)/$(RELEASE_KUBERNETES_VERSION)/topology-* .release/
$(HELM) package providers/docker/$(RELEASE_CLUSTER_CLASS)/$(RELEASE_KUBERNETES_VERSION)/cluster-addon -d .release/
$(HELM) package providers/docker/$(RELEASE_CLUSTER_CLASS)/$(RELEASE_KUBERNETES_VERSION)/cluster-class -d .release/
5 changes: 5 additions & 0 deletions providers/docker/ferrol/1-27/cluster-addon-values.yaml
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"
2 changes: 1 addition & 1 deletion providers/docker/ferrol/1-27/cluster-addon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: |
This chart installs and configures:
* Docker Ferrol Cluster Class
name: docker-ferrol-1-27-cluster-addon
version: "v1"
version: "v2"
maintainers:
- name: Syself
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion providers/docker/ferrol/1-27/cluster-class/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ maintainers:
url: https://github.com/syself
name: docker-ferrol-1-27-cluster-class
type: application
version: "v1"
version: "v2"
6 changes: 3 additions & 3 deletions providers/docker/ferrol/1-27/metadata.yaml
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: v2
2 changes: 1 addition & 1 deletion providers/docker/ferrol/1-27/topology-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
cidrBlocks: ["192.168.0.0/16"]
serviceDomain: "cluster.local"
topology:
class: docker-ferrol-1-27-v1
class: docker-ferrol-1-27-v2
controlPlane:
metadata: {}
replicas: 1
Expand Down

0 comments on commit 60c1fa9

Please sign in to comment.