sigs.k8s.io/cluster-api@v1.7.1/CHANGELOG/v1.6.0-beta.0.md (about)

     1  🚨 This is a BETA release. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/kubernetes-sigs/cluster-api/issues/new).
     2  
     3  ## Highlights
     4  
     5  * MachinePools are now supported in ClusterClass Clusters
     6  * Metrics, profiling and other diagnostics are now served securely by default
     7  * Types in `ipam.cluster.x-k8s.io` have graduated to `v1beta1`
     8  
     9  ## Deprecation Warning
    10  
    11  - The API version `v1alpha4` is no longer served in this release.
    12    - [Version migration guide](https://main.cluster-api.sigs.k8s.io/developer/providers/version-migration.html)
    13    - [GitHub issue #8038](https://github.com/kubernetes-sigs/cluster-api/issues/8038)
    14    - [API deprecation details](https://main.cluster-api.sigs.k8s.io/contributing#removal-of-v1alpha3--v1alpha4-apiversions)
    15  - The API version `v1alpha3` has been completely removed in this release.
    16  - Flag `--metrics-bind-addr` is [deprecated](https://github.com/kubernetes-sigs/cluster-api/pull/9264) for all controllers
    17  
    18  <details>
    19  <summary>More details about the release</summary>
    20      
    21  :warning: **BETA RELEASE NOTES** :warning: 
    22  
    23  ## 👌 Kubernetes version support
    24  
    25  - Management Cluster: v1.25.x -> v1.28.x
    26  - Workload Cluster: v1.23.x -> v1.28.x
    27  
    28  [More information about version support can be found here](https://cluster-api.sigs.k8s.io/reference/versions.html)
    29  
    30  ## Changes since v1.5.0
    31  ## :chart_with_upwards_trend: Overview
    32  - 310 new commits merged
    33  - 6 breaking changes :warning:
    34  - 13 feature additions ✨
    35  - 28 bugs fixed 🐛
    36  
    37  ## :warning: Breaking Changes
    38  - API: Remove v1alpha3 API Version (#8997)
    39  - API: Stop serving v1alpha4 API Versions (#8996)
    40  - clusterctl: Improve Context handling in clusterctl (#8939)
    41  - Dependency: Bump to controller-runtime v0.16 (#8999)
    42  - Metrics/Logging: Implement secure diagnostics (metrics, pprof, log level changes) (#9264)
    43  - util: Remove go-vcs dependency from releaselink tool (#9288)
    44  
    45  ## :sparkles: New Features
    46  - API: Add validation to nested ObjectMeta fields (#8431)
    47  - CAPD: Add config maps to CAPD RBAC (#9528)
    48  - CAPD: Allow adding custom HA proxy config for CAPD load balancer (#8785)
    49  - CAPD: Initialize configmap object before getting it (#9529)
    50  - ClusterClass: Add topology-owned label to MachineHealthChecks. (#9191)
    51  - ClusterClass: Introduce NamingStrategy and allow generating names using go templates (#9340)
    52  - ClusterClass: Update API with ClusterClass MachinePool support (#8820)
    53  - clusterctl: Block move with annotation (#8690)
    54  - IPAM: Promote IPAM types to v1beta1 (#9525)
    55  - MachinePool: Add MachinePool workers support in ClusterClass (#9016)
    56  - MachineSet: Adjust preflight check to allow kubelet version skew of 3 for clusters running v1.28 and above (#9222)
    57  - Release: Add automation to create release branch and tags (#9111)
    58  - Testing/documentation: V1.28: Prepare quickstart, capd and tests for the new release including kind bump (#9160)
    59  
    60  ## :bug: Bug Fixes
    61  - CAPBK: Certificate paths in cloud-init scripts should not use a platform-dependent path separator (#9167)
    62  - CAPD: Delete container after failed start to work around port allocation issues (#9125)
    63  - ClusterClass: Fix ClusterClass enqueue for ExtensionConfig (#9133)
    64  - ClusterClass: Topology: fix namingstrategy webhook to not use uppercase characters for testing the template and align unit test to e2e test (#9425)
    65  - Dependency: Bump golang.org/x/net to v0.13.0 (#9121)
    66  - Dependency: Bump to docker v24.0.5-0.20230714235725-36e9e796c6fc (#9038)
    67  - Devtools: Adding metrics container port in tilt-prepare only if it's missing (#9308)
    68  - Devtools: Allow duplicate objects in Tiltfile (#9302)
    69  - Devtools: Change tilt debug base image to golang (#9070)
    70  - Devtools: Fix tilt-prepare leader-elect setting (#9315)
    71  - Devtools: Pin Plantuml version (#9424)
    72  - Devtools: Tilt: ensure .tiltbuild/bin directory is created early enough, add tilt troubleshooting guide (#9165)
    73  - e2e: Drop MachinePools from Dualstack tests (#9477)
    74  - e2e: Fix autoscaler image repo (#9353)
    75  - e2e: Test: pin conformance image to a version which includes a fix for the dualstack tests (#9252)
    76  - KCP: Allow to drop useExperimentalRetryJoin field from KubeadmControlPlane.kubeadmConfigSpec (#9170)
    77  - KCP: Fix KCP Controller reconcile always return error when workload cluster is unreachable (#9342)
    78  - KCP: Requeue KCP object if ControlPlaneComponentsHealthyCondition is not yet true (#9032)
    79  - Machine: Retry Node delete when CCT is locked (#9570)
    80  - MachineDeployment: MD controller: use regular random suffix for MachineSets, ensure max length 63 (#9298)
    81  - MachineHealthCheck: Fix excessive trace logging in the machine health check controller (#9419)
    82  - Release: Alphabetically sorting release tool output (#9055)
    83  - Release: Deduplicating area in pr title in release notes (#9186)
    84  - Release: Fix go install path for kpromo v4.0.4 (#9336)
    85  - Release: Generate warning when release notes can not be generated (#9163)
    86  - Release: Hack/release-notes: ensure relase notes tool can be used for external projects again (#9018)
    87  - Release: Reverts pull request from cahillsf/improve-release-speed (#9465)
    88  - util: Fix AddAnnotations for unstructured.Unstructured (#9164)
    89  
    90  ## :seedling: Others
    91  - API: Add ClusterClass column to Cluster CRD (#9120)
    92  - API: Add verify-import-restrictions to enforce import restrictions (#9407)
    93  - API: Enforce import restrictions in all API packages (#9461)
    94  - API: Move API v1beta1 webhooks to a separate package (#9047)
    95  - API: Move docker  infrastructure experimental API v1beta1 webhooks to sepa… (#9460)
    96  - API: Move docker infrastructure API v1beta1 webhooks to separate package (#9458)
    97  - API: Move experimental addons API v1beta1 webhooks to separate package (#9438)
    98  - API: Move experimental API v1beta1 webhooks to separate package (#9417)
    99  - API: Move inmemory infrastructure API v1beta1 webhooks to separate package (#9459)
   100  - API: Move Kubeadm API v1beta1 webhooks to separate package (#9410)
   101  - API: Remove files and markers for Kubebuilder (#9344)
   102  - API: Remove reliance on controller-runtime scheme builder (#9045)
   103  - API: Remove reliance on controller-runtime scheme builder for experimental APIs (#9185)
   104  - API: Remove reliance on controller-runtime scheme builder for remaining API groups (#9266)
   105  - API: Remove the dependency on cluster-api/utils from addons API (#9482)
   106  - API: Test and document controller ownerReferences (#9153)
   107  - CAPBK: Remove Kubeadm upstream v1beta1 types (#9345)
   108  - CAPD: Fix multi error handling in RunContainer (#9139)
   109  - CI: Add colored-line-number output for golangci-lint action (#9147)
   110  - CI: Add dependabot for test and hack/tools module (#9041)
   111  - CI: Add exclude for Kustomize API to dependabot config (#9059)
   112  - CI: Add licence-scan for pull requests (#9184)
   113  - CI: Add loggercheck linter and fix findings (#9446)
   114  - CI: Add verify-govulncheck and verify-vulnerabilities targets and integrate to scan action (#9144)
   115  - CI: Bump actions/cache from 3.3.1 to 3.3.2 (#9395)
   116  - CI: Bump actions/checkout from 4.1.0 to 4.1.1 (#9611)
   117  - CI: Bump actions/setup-go from 4.0.1 to 4.1.0 (#9187)
   118  - CI: Bump apidiff to v0.7.0 (#9472)
   119  - CI: Bump golangci-lint to v1.54.1 (#9174)
   120  - CI: Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 (#9261)
   121  - CI: Bump tj-actions/changed-files from 39.2.2 to 39.2.4 (#9610)
   122  - CI: Bump Trivy to v0.45.1 (#9445)
   123  - CI: Fix .golangci.yml comments (#9499)
   124  - CI: Ginkgolinter: forbid focus container (#9320)
   125  - CI: Github: add edited and reopened as triggers for the GH workflow approval (#9259)
   126  - CI: Github: add workflow to auto-approve golangci-lint if ok-to-test label is set (#9244)
   127  - CI: Go.mod reformat to have only two require blocks (#9192)
   128  - CI: Golangci-lint: replace deprecated local-prefixes setting for gci (#9339)
   129  - CI: Make GO_ARCH explicit in verify_containter script (#9341)
   130  - CI: Update actions for 1.5 and make names consistent (#9115)
   131  - CI: Verify plantuml image generation in CI (#9363)
   132  - ClusterCacheTracker: Add separate concurrency flag for cluster cache tracker (#9116)
   133  - ClusterCacheTracker: Ensure Get/List calls are not getting stuck when apiserver is unreachable (#9028)
   134  - ClusterCacheTracker: Fix accessor deletion on health check failure (#9025)
   135  - ClusterClass: Add ownerRefs to BootstrapConfig/InfraMachinePool in classy Clusters (#9389)
   136  - ClusterClass: Embed ssa.FilterObjectInput into HelperOption to remove duplication (#9512)
   137  - ClusterClass: Fix some nits in Cluster topology engine tests (#9464)
   138  - ClusterClass: Improve Cluster variable defaulting/validation errors (#9452)
   139  - ClusterClass: Improve message for TopologyReconciledCondition (#9400)
   140  - ClusterClass: Make ClusterClass generated object names consistent (#9254)
   141  - ClusterClass: Minor fixes for CC+MP implementation (#9318)
   142  - clusterctl: Check resource blocking clusterctl move during discovery (#9246)
   143  - clusterctl: Use goproxy to check version in clusterctl (#9237)
   144  - clusterctl: Use http get to download files from GitHub in clusterctl (#9236)
   145  - Dependency: Bump cert-manager to v1.13.1 (#9505)
   146  - Dependency: Bump cloud.google.com/go/storage from 1.32.0 to 1.33.0 in /hack/tools (#9423)
   147  - Dependency: Bump controller tools to v1.13.0 (#9221)
   148  - Dependency: Bump controller-runtime to v0.16.3 (#9592)
   149  - Dependency: Bump conversion-gen to v0.28 (#9267)
   150  - Dependency: Bump corefile-migration library to v1.0.21 (#9307)
   151  - Dependency: Bump docker to v24.0.5 (#9064)
   152  - Dependency: Bump envtest binaries to 1.28 (#9268)
   153  - Dependency: Bump github.com/blang/semver to v4 (#9189)
   154  - Dependency: Bump github.com/docker/distribution (#9544)
   155  - Dependency: Bump github.com/docker/docker from 24.0.5+incompatible to 24.0.6+incompatible in /test (#9377)
   156  - Dependency: Bump github.com/emicklei/go-restful/v3 from 3.10.2 to 3.11.0 in /test (#9272)
   157  - Dependency: Bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.7.0 (#9397)
   158  - Dependency: Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (#9562)
   159  - Dependency: Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 (#9533)
   160  - Dependency: Bump github.com/onsi/gomega from 1.28.0 to 1.28.1 (#9608)
   161  - Dependency: Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 (#9517)
   162  - Dependency: Bump github.com/spf13/viper from 1.16.0 to 1.17.0 (#9561)
   163  - Dependency: Bump Go to v1.20.10 (#9551)
   164  - Dependency: Bump go-github dependency to version v53 (#8995)
   165  - Dependency: Bump go.opentelemetry.io/* dependencies (#9598)
   166  - Dependency: Bump golang.org/x/net from 0.15.0 to 0.17.0 in /test (#9537)
   167  - Dependency: Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#9534)
   168  - Dependency: Bump golang.org/x/text from 0.12.0 to 0.13.0 (#9370)
   169  - Dependency: Bump gomodules.xyz/jsonpatch/v2 from 2.3.0 to 2.4.0 (#9188)
   170  - Dependency: Bump google.golang.org/api from 0.146.0 to 0.148.0 in /hack/tools (#9581)
   171  - Dependency: Bump google.golang.org/grpc from 1.58.2 to 1.58.3 (#9607)
   172  - Dependency: Bump kpromo to v4.0.4 (#9241)
   173  - Dependency: Bump some dependencies in Makefile (#9549)
   174  - Dependency: Bump the kubernetes group in /hack/tools with 2 updates (#9420)
   175  - Dependency: Bump the kubernetes group in /hack/tools with 2 updates (#9574)
   176  - Dependency: Bump the kubernetes group with 2 updates (#9606)
   177  - Dependency: Bump the kubernetes group with 4 updates (#9326)
   178  - Dependency: Bump the kubernetes group with 4 updates (#9455)
   179  - Dependency: Bump to Go 1.20.8 (#9381)
   180  - Dependency: Bump trivy to v0.46.0 (#9558)
   181  - Dependency: Replace hashicorp/go-multierror with kerrors (#9175)
   182  - Dependency: Update ensure-kubectl.sh to 1.28 (#9275)
   183  - Devtools: Add .PHONY for doctoc target (#9148)
   184  - Devtools: Bump CAPI visualizer to v1.2.0 (#9195)
   185  - Devtools: Drop duplicate pprof and unused linter excludes (#9156)
   186  - Devtools: Improve Performance dashboard (#9387)
   187  - Devtools: Make dev cluster networking configurable (#9183)
   188  - Devtools: Makefile: run doctoc only once (#9182)
   189  - Devtools: Move tilt-prepare and log-push to tools/internal (#9020)
   190  - Devtools: Observability: move metrics to config and use sidecar in kube-state-metrics (#9390)
   191  - Devtools: Refactor docker-push* Makefile targets so users can control with ALL_DOCKER_BUILD which images are pushed (#8586)
   192  - Devtools: Tiltfile: rename deploy_kustomizations to additional_kustomizations (#9439)
   193  - e2e: Add back flavor to Waiter interface (#9166)
   194  - e2e: Add CRS re-reconcile to ownerReference test (#9296)
   195  - e2e: Add log level for kube components patch to ClusterClass (#9493)
   196  - e2e: Add MachinePools to Topology Quickstart E2E Templates (#9393)
   197  - e2e: Add test for ownerReference apiVersion update (#9269)
   198  - e2e: Add test for scale testing machinery (#9510)
   199  - e2e: Bump autoscaler to v1.28.0 (#9349)
   200  - e2e: Drop PR-Informing test tag and job description (#9362)
   201  - e2e: Dump all pods in e2e test clusters (#9441)
   202  - e2e: Dump all resource information for self-hosted tests (#9547)
   203  - e2e: Ensure finalizers are resilient on reconciliation (#9471)
   204  - e2e: Fail tests if test env version check fails (#9388)
   205  - e2e: Fix broken e2e test clusterclass (#9506)
   206  - e2e: Improve labels/annotations in CAPD test ClusterClass (#9469)
   207  - e2e: Refactor e2e ownerRef test utils (#9313)
   208  - e2e: Test/e2e: structure resources by namespace/kind again (#9462)
   209  - e2e: Use existing value of `SKIP_RESOURCE_CLEANUP` if set in environment (#9152)
   210  - IPAM: Add age column to kubectl output (#9521)
   211  - KCP: Controlplane: add a test case for syncMachines where the InfraMachine does not exist. (#8992)
   212  - KCP: Remove disableInPlacePropagation field in KCP controller (#9099)
   213  - KCP: Remove redundant GetRESTConfig in KCP Management.GetWorkloadCluster (#9448)
   214  - Logging: Change default log level to 2 (#9093)
   215  - Logging: Fix patch errors not being logged (#9224)
   216  - Logging: Set controller-runtime logger for clusterctl (#9107)
   217  - MachinePool: Add MachinePool Builders (#9346)
   218  - MachinePool: Add util function to get MachinePool by label (#9219)
   219  - Metrics: Hack/observability: add capi_machine_status_certificatesexpirydate metric (#9084)
   220  - Metrics: Hack: bump kube-state-metrics and prometheus charts (#9352)
   221  - Release: Add additional blocks to release note generation (#9247)
   222  - Release: Add Release Team OWNERS file to docs/release folder (#9294)
   223  - Release: Capitalized title in release notes (#9086)
   224  - Release: Clarify release team vs k8s/k8s-SIGs org membership (#9089)
   225  - Release: Exclude release trigger PRs from release notes (#9444)
   226  - Release: Format MachineHealthCheck area in release notes (#9500)
   227  - Release: Improve multiple areas PRs with user friendly subs (#9071)
   228  - Release: Improve release notes formatting (#9337)
   229  - Release: Improve release speed (#9392)
   230  - Release: Improve release staging build speed (#9536)
   231  - Release: Prepare main branch for v1.6 development (#9097)
   232  - Release: Remove auto-labelling for clusterctl (#8990)
   233  - Release: Remove extra separator after title in release notes (#9605)
   234  - Release: Update instructions checklist to generate release notes (#9443)
   235  - Release: Update kubebuilder-release-tools to v0.4.0 (#9531)
   236  - Release: Update release-notes make target + corresponding doc (#9573)
   237  - Runtime SDK: Improve ClusterClass watch for ExtensionConfigs (#9338)
   238  - Testing: Add MachinePool test cases (#9474)
   239  - Testing: Add MachinePool test cases to engine tests (#9373)
   240  - Testing: Add MachinePool test cases to variables tests (#9372)
   241  - Testing: Add MachinePools to topology upgrade test (#9502)
   242  - Testing: Add test for required properties in clusterclass variables (#9113)
   243  - Testing: Add unit tests for CC MP blueprint, current_state, & desired_state (#9348)
   244  - Testing: Add unit tests for reconcile_state, cluster_controller, & conditions (#9380)
   245  - Testing: Extend test/framework to collect workload cluster nodes (#9416)
   246  - Testing: Replacing gomega.Equal with gomega.BeComparableTo (#9015)
   247  - util: Adjust naming in SortForCreate implementation (#9311)
   248  - util: Move `internal.labels` to `format` package for use by providers (#9002)
   249  - util: Refactor SortForCreate to use sort.Slice (#9251)
   250  - util: Remove previously deprecated code (#9136)
   251  
   252  :book: Additionally, there have been 46 contributions to our documentation and book. (#8260, #8678, #8819, #8988, #9001, #9013, #9014, #9024, #9029, #9080, #9081, #9087, #9112, #9119, #9141, #9146, #9150, #9161, #9173, #9208, #9209, #9213, #9214, #9232, #9270, #9286, #9291, #9305, #9328, #9364, #9386, #9403, #9415, #9429, #9433, #9463, #9487, #9488, #9490, #9511, #9513, #9514, #9527, #9550, #9572, #9593) 
   253  
   254  </details>
   255  <br/>
   256  
   257  _Thanks to all our contributors!_ 😊