v1.8.0
Highlights
- New reviewers and approvers have been added to the project 🎉
- Based on Cluster API v1.5.0
- Support for guest shutdown during VM deletion (via VMware tools)
- Improved session handling
- Improved release automation
Changes since v1.7
📈 Overview
- 92 new commits merged
- 4 breaking changes
⚠️ - 6 feature additions ✨
- 13 bugs fixed 🐛
⚠️ Breaking Changes
- Introduce concurrency flags per controller (#2106)
- Treating VSphereVM wasNotFoundByBIOSUUID as transient error (#2136)
- Webhook: prevent changes to an already set VSphereVM.spec.biosUUID (#2146)
🌱 Deprecations & Removals
- Deprecate AutoConfigure functionality (#2103)
- Deprecate v1alpha3 and v1alpha4 apiVersions (#2166)
- Remove haproxy (#2031)
- Remove NodeLabeling feature gate (#2032)
✨ New Features
- Align flags with CAPI (#2104)
- Automate GitHub release creation (#2050)
- Bump CAPI to v1.5.0 (#1970 #1996 #2029 #2091)
- Disable vAppConfig during VM creation (#2014)
- Improve session handling with a secure session key (#2154)
- Perform guest shutdown if VMware tools are installed when deleting VM (#1982)
- Support bare IPv6 vCenter server addresses (#1998)
🐛 Bug Fixes
- APIs: fix missing categories marker for VShpereVM in v1alpha3 and v1alpha4 (#1973)
- CAPV CSI driver isn't passing TLS thumbprint (#1819)
- clustermodules: prevent creation of new modules if DoesExist returns an error (#2185)
- Don't call session logout for keepAliveHandler (#1949)
- Fix datastore selection based on StoragePolicy (#1937)
- pkg/session fix used RoundTripper inside anonymous func for KeepAliveHandler (#2033)
- Refine finalizer handling (#2099)
- Return error on session creation if VCentre client not used (#2023)
- Use same check when checking cluster is paused or not in the handler (#1946)
🌱 Others
- Updates CI template to k8s 1.27.3 (#2016)
- Add args to golangci-lint to show lines number (#2180)
- Add powerOffMode to templates (#2149)
- Add release-1.7 to Trivy scan (#1978)
- Align github actions with upstream CAPI (#2167)
- Also add release notes to pre releases (#2138)
- Bump version to v1.8 in clusterctl-settings (#2121)
- CI: Removes hardcoded thumbprint (#2186)
- CI: Retry getting ipaddress object name (#2041)
- Cleanup deleteFunc in VmopMachineService (#2057)
- Drop redundant list webhook registrations (#2015)
- Drop remediation tests (#1976)
- envtest: Dynamically load CRDs using golang resolvers (#1931)
- Fixups after Makefile refactoring (#2109)
- flavorgen generates all flavors by default (#2172)
- go.mod: pin cluster-api version to prevent dependabot from downgrading sigs.k8s.io/cluster-api/test (#2021)
- hack/tools: use go-install.sh for installing controller-gen (#2005)
- Implement image promotion sync Makefile with core CAPI (#2101)
- Improve fd selection logic (#1944)
- Introduce watch-filter flag as predicate filter + filter out paused objects (#2105)
- Makefile: refactor how govc is built to workaround dependency issues building govc (#1986)
- OWNERS: Refresh of owners as per meeting of 2023/06/22 (#2082)
- Prepare metadata.yaml for v1.8 release series (#2097)
- Refactor how tools are built to align with CAPI and get rid of tools go.mod (#2080)
- Rename findVMPre7 to findVSphereVM (#2036)
- test/e2e: add check at anti-affinity test to ensure enough hosts exist (#1974)
- test: generate junit result for test-integration and add test-junit target (#2140)
- Use pointer receiver consistently in vspheremachine controller (#2055)
- Using ClusterCacheTracker instead of remote.NewClusterClient (#2132)
🌱 Dependencies
- Bump setup-envtest (#2093)
- Bump actions/checkout from 3.5.2 to 3.5.3 (#2077)
- Bump actions/setup-go from 3.5.0 to 4.1.0 (#1953 #2196)
- Bump controller-runtime to v0.15.1 (#2169)
- Bump controller-tools to v0.12.1 (#2004)
- Bump docker to v24.0.5 (#2081)
- Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.11.0 in /hack/tools (#1954)
- Bump github.com/onsi/gomega from 1.27.8 to 1.27.10 (#2079)
- Bump github.com/vmware/govmomi from 0.30.4 to 0.30.7 in /hack/tools (#1968 #2020 #2178)
- Bump golang.org/x/net to v0.13.0 (#2161)
- Bump golang.org/x/tools from 0.9.3 to 0.12.0 (#2018 #2127 #2176)
- Bump golangci-lint to v1.53.3 and adapt installation from core CAPI (#2028)
- Bump golangci/golangci-lint-action from 3.4.0 to 3.6.0 (#1940)
- Bump k8s.io/apiextensions-apiserver from 0.27.2 to 0.27.4 (#2200)
- Bump k8s.io/client-go from 0.27.2 to 0.27.4 (#2197)
- Bump k8s.io/cluster-bootstrap from 0.27.2 to 0.27.4 (#2201)
- Bump k8s.io/code-generator from 0.26.4 to 0.27.4 in /hack/tools (#1956 #2017 #2078)
- Bump kpromo to v4.0.4 (#2139)
- Bump to Go 1.20.7 (#2022 #2142)
- Bump to vm-operator/api v1.8.2 (#2160)
📖 Additionally, there have been 6 contributions to our documentation and book. (#2168, #2083, #2108, #2100, #2030, #1966 #2141 #2147)
Thanks to all our contributors! 😊