Skip to content

Commit

Permalink
Sync main with release/v2.x (#728)
Browse files Browse the repository at this point in the history
Signed-off-by: abarreiro <abarreiro@vmware.com>
  • Loading branch information
adambarreiro authored Dec 10, 2024
1 parent f55d142 commit 88a3664
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changes/v2.26.1/723-improvements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Added CSE 4.2.2 and 4.2.3 support [GH-723]
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Changes in progress for v3.0.0 are available at [.changes/v3.0.0](https://github.com/vmware/go-vcloud-director/tree/main/.changes/v3.0.0) until the release.

## 2.26.1 (December 5, 2024)

### IMPROVEMENTS
* Added CSE 4.2.2 and 4.2.3 support ([#723](https://github.com/vmware/go-vcloud-director/pull/723))

## 2.26.0 (September 17, 2024)

### FEATURES
Expand Down
31 changes: 31 additions & 0 deletions govcd/cse/tkg_versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
{
"v1.30.2+vmware.1-tkg.1-00b380629c7a9c10afaaa9df46ba2283": {
"tkg": "v2.5.2",
"tkr": "v1.30.2---vmware.1-tkg.1",
"etcd": "v3.5.12_vmware.5",
"coreDns": "v1.11.1_vmware.10"
},
"v1.29.6+vmware.1-tkg.3-c6934e3c00b6ca9a7c3e56acb773ce3a": {
"tkg": "v2.5.2",
"tkr": "v1.29.6---vmware.1-tkg.3",
"etcd": "v3.5.12_vmware.5",
"coreDns": "v1.10.1_vmware.23"
},
"v1.28.11+vmware.2-tkg.2-7820f47053de95b5aaf7e33a17511e47": {
"tkg": "v2.5.2",
"tkr": "v1.28.11---vmware.2-tkg.2",
"etcd": "v3.5.12_vmware.5",
"coreDns": "v1.10.1_vmware.21"
},
"v1.27.15+vmware.1-tkg.2-138e363d8ee0f5eeda35a0de81a33f9f": {
"tkg": "v2.5.2",
"tkr": "v1.27.15---vmware.1-tkg.2",
"etcd": "v3.5.12_vmware.5",
"coreDns": "v1.10.1_vmware.20"
},
"v1.26.14+vmware.1-tkg.2-6378700fb9360ffd64bebc53dbde5bb9": {
"tkg": "v2.5.2",
"tkr": "v1.26.14---vmware.1-tkg.4",
"etcd": "v3.5.12_vmware.5",
"coreDns": "v1.9.3_vmware.22"
},
"v1.28.4+vmware.1-tkg.1-1e7baa840b8869c8bdce0cafff0da59d": {
"tkg": "v2.5.0",
"tkr": "v1.28.4---vmware.1-tkg.1-rc.5",
Expand Down Expand Up @@ -126,3 +156,4 @@
"coreDns": "v1.7.0_vmware.15"
}
}

12 changes: 12 additions & 0 deletions govcd/cse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ func requireCseConfig(check *C, testConfig TestConfig) {
func (vcd *TestVCD) Test_Cse(check *C) {
requireCseConfig(check, vcd.config)

if vcd.config.Cse.Version == "4.2.2" || vcd.config.Cse.Version == "4.2.3" {
check.Skip("CSE versions 4.2.2 and 4.2.3 do not work with System Administrator")
}

// Prerequisites: We need to read several items before creating the cluster.
org, err := vcd.client.GetOrgByName(vcd.config.Cse.TenantOrg)
check.Assert(err, IsNil)
Expand Down Expand Up @@ -288,6 +292,10 @@ func (vcd *TestVCD) Test_Cse(check *C) {
func (vcd *TestVCD) Test_CseWithAutoscaler(check *C) {
requireCseConfig(check, vcd.config)

if vcd.config.Cse.Version == "4.2.2" || vcd.config.Cse.Version == "4.2.3" {
check.Skip("CSE versions 4.2.2 and 4.2.3 do not work with System Administrator")
}

// Prerequisites: We need to read several items before creating the cluster.
org, err := vcd.client.GetOrgByName(vcd.config.Cse.TenantOrg)
check.Assert(err, IsNil)
Expand Down Expand Up @@ -429,6 +437,10 @@ func (vcd *TestVCD) Test_CseWithAutoscaler(check *C) {
func (vcd *TestVCD) Test_CseFailure(check *C) {
requireCseConfig(check, vcd.config)

if vcd.config.Cse.Version == "4.2.2" || vcd.config.Cse.Version == "4.2.3" {
check.Skip("CSE versions 4.2.2 and 4.2.3 do not work with System Administrator")
}

// Prerequisites: We need to read several items before creating the cluster.
org, err := vcd.client.GetOrgByName(vcd.config.Cse.TenantOrg)
check.Assert(err, IsNil)
Expand Down

0 comments on commit 88a3664

Please sign in to comment.