Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump vcluster chart version to 0.21.0
Browse files Browse the repository at this point in the history
johannesfrey committed Oct 16, 2024

Verified

This commit was signed with the committer’s verified signature.
johannesfrey Johannes Frey
1 parent d2059c3 commit dc53488
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ jobs:
run: |
export CLUSTER_NAME=vcluster-k3s
export CLUSTER_NAMESPACE=vcluster-k3s
export CHART_VERSION=0.20.0
export CHART_VERSION=0.21.0
export VCLUSTER_YAML=$(cat ./test/e2e/k3s-values.yaml | sed -z 's/\n/\\n/g')
kubectl create namespace ${CLUSTER_NAMESPACE}
cat templates/cluster-template.yaml | ./bin/envsubst | kubectl apply -n ${CLUSTER_NAMESPACE} -f -
@@ -129,7 +129,7 @@ jobs:
run: |
export CLUSTER_NAME=vcluster-k0s
export CLUSTER_NAMESPACE=vcluster-k0s
export CHART_VERSION=0.20.0
export CHART_VERSION=0.21.0
export CHART_NAME=vcluster
export VCLUSTER_YAML=$(cat ./test/e2e/k0s-values.yaml | sed -z 's/\n/\\n/g')
kubectl create namespace ${CLUSTER_NAMESPACE}
@@ -146,7 +146,7 @@ jobs:
run: |
export CLUSTER_NAME=vcluster-k8s
export CLUSTER_NAMESPACE=vcluster-k8s
export CHART_VERSION=0.20.0
export CHART_VERSION=0.21.0
export CHART_NAME=vcluster
export VCLUSTER_YAML=$(cat ./test/e2e/k8s-values.yaml | sed -z 's/\n/\\n/g')
kubectl create namespace ${CLUSTER_NAMESPACE}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ spec:
#
# Please refer to the vcluster Releases page for the list of the available versions:
# https://github.com/loft-sh/vcluster/releases
version: ${CHART_VERSION:=0.20.0}
version: ${CHART_VERSION:=0.21.0}

# controlPlaneEndpoint represents the endpoint used to communicate with the control plane.
# You may leave this field empty, and then CAPVC will try to fill in this information based
@@ -165,7 +165,7 @@ In the example commands below, the VCLUSTER_YAML variable will be populated with
```shell
export CLUSTER_NAME=test
export CLUSTER_NAMESPACE=test
export CHART_VERSION=0.20.0
export CHART_VERSION=0.21.0
export CHART_NAME=vcluster
export VCLUSTER_YAML=$(cat devvalues.yaml | awk '{printf "%s\\n", $0}')
kubectl create namespace ${CLUSTER_NAMESPACE}
@@ -187,7 +187,7 @@ You can specify a custom version of the vCluster Helm chart by setting the CHART
Example:

```shell
export CHART_VERSION=0.20.0
export CHART_VERSION=0.21.0
```

## Specifying custom values for virtual clusters
2 changes: 1 addition & 1 deletion templates/cluster-template.yaml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ spec:
chart:
name: ${CHART_NAME:=vcluster}
repo: ${CHART_REPO:=https://charts.loft.sh}
version: ${CHART_VERSION:=0.20.0}
version: ${CHART_VERSION:=0.21.0}
controlPlaneEndpoint:
host: ${VCLUSTER_HOST:=""}
port: ${VCLUSTER_PORT:=0}
6 changes: 3 additions & 3 deletions test/controllerstest/controllers_suite_test.go
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ var _ = ginkgo.Describe("Vcluster Controller test", func() {
Spec: v1alpha1.VClusterSpec{
HelmRelease: &v1alpha1.VirtualClusterHelmRelease{
Chart: v1alpha1.VirtualClusterHelmChart{
Version: "0.20.0",
Version: "0.21.0",
},
},
},
@@ -141,7 +141,7 @@ var _ = ginkgo.Describe("Vcluster Controller test", func() {
HelmRelease: &v1alpha1.VirtualClusterHelmRelease{
Chart: v1alpha1.VirtualClusterHelmChart{
Name: "vcluster",
Version: "0.20.0",
Version: "0.21.0",
},
Values: string(yamlBytes),
},
@@ -199,7 +199,7 @@ var _ = ginkgo.Describe("Vcluster Controller test", func() {
HelmRelease: &v1alpha1.VirtualClusterHelmRelease{
Chart: v1alpha1.VirtualClusterHelmChart{
Name: "vcluster",
Version: "0.20.0",
Version: "0.21.0",
},
Values: string(yamlBytes),
},

0 comments on commit dc53488

Please sign in to comment.