You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Upgrade Kubernetes dependencies from `1.28` to `1.29`.
6
+
7
+
# kind is one of:
8
+
# - addition
9
+
# - change
10
+
# - deprecation
11
+
# - removal
12
+
# - bugfix
13
+
kind: "change"
14
+
15
+
# Is this a breaking change?
16
+
breaking: false
17
+
18
+
# NOTE: ONLY USE `pull_request_override` WHEN ADDING THIS
19
+
# FILE FOR A PREVIOUSLY MERGED PULL_REQUEST!
20
+
#
21
+
# The generator auto-detects the PR number from the commit
22
+
# message in which this file was originally added.
23
+
#
24
+
# What is the pull request number (without the "#")?
25
+
# pull_request_override: 0
26
+
27
+
# Migration can be defined to automatically add a section to
28
+
# the migration guide. This is required for breaking changes.
29
+
migration:
30
+
header: Upgrade K8s versions to use 1.29
31
+
body: >
32
+
Regarding the upcoming major changes in the plugin, please note that `go/v3` is being deprecated by Kubebuilder hence Operator SDK would also be migrating to `go/v4` soon.
33
+
Following are the changes to be addressed in your project structure, `Makefile` and `go.mod` files:
34
+
1) [go/v4] Update your `go.mod` file to upgrade the dependencies and run `go mod tidy` to download them
35
+
```go
36
+
k8s.io/api v0.29.2
37
+
k8s.io/apimachinery v0.29.2
38
+
k8s.io/client-go v0.29.2
39
+
sigs.k8s.io/controller-runtime v0.17.3
40
+
```
41
+
2) [go/v4, helm/v1] The projects are now scaffolded with 0.16.0 version of kube-rbac-proxy. Modify the version of kube-rbac-proxy in the following scaffolded files:
42
+
- config/default/manager_auth_proxy_patch.yaml
43
+
```diff
44
+
- gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0
45
+
+ gcr.io/kubebuilder/kube-rbac-proxy:v0.16.0
46
+
```
47
+
3) [go/v4] You can now generate a file that contains all the resources built with Kustomize, which are necessary to install this project without its dependencies. Update your Makefile by adding:
48
+
```diff
49
+
+ .PHONY: build-installer
50
+
+ build-installer: manifests generate kustomize ## Generate a consolidated YAML with CRDs and deployment.
51
+
+ mkdir -p dist
52
+
+ cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
0 commit comments