-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
None
-
False
-
NEW
-
NEW
-
-
On every release we need to take care to stay compatible on available Golang Builder and Kubernetes/OpenShift Go Modules. This card is dedicated to the hygiene tasks being executed once per release. Upgrades to consider:
Golang Upgrades | Go Modules Upgrades | SDK upgrades |
---|---|---|
|
|
|
The table above provides a matching of the required repositories to upgrade separately (See sub-tasks). Instructions to consider:
- For Golang upgrades, the selected Golang version is the one used to build and release the kubernetes version used in the next OpenShift release (e.g. go1.20 used for k8s 1.26 and OpenShift 4.13)
- For all repositories spanning multiple releases (e.g. operands) we should consider keeping the go-directive in the go mod file to the previous Golang release (e.g. go 1.19). Sometimes it happens that the newest Golang compiler for the next OpenShift release is not officially released yet. Leaving the directive to the previous Golang release enables building active z-streams with their respective production golang compiler.
- For Go Modules upgrades:
- The client-go, api-machinery, apiserver modules should match the same k8s dependency used in the next OpenShift release (e.g. k8s 1.26 used for OpenShift 4.13)
- The openshift/api module should match the next OpenShift release branch (e.g. release-4.13)
- The controller-runtime module should match the operator-sdk recommendation. (See operator-sdk upgrade docs)
- For SDK upgrades:
- The Operator-SDK mandates a comprehensive upgrade documentation
Developer Notes
- Link all Pull and Merge requests for accomplishing the upgrades in this single task and NOT on the subtasks.
- Consider that changing golang builders require changes on upstream repositories, the OpenShift release repository and midstream repositories
- is cloned by
-
LOG-3694 [k8s 1.26 and ocp 4.13] Upgrade LokiStack Log Storage Dependencies
- Closed
-
LOG-4793 [k8s 1.27 and ocp 4.14] Upgrade LokiStack Log Storage Dependencies
- Closed
-
LOG-5088 [k8s 1.28 and ocp 4.15] Upgrade LokiStack Log Storage Dependencies
- Closed
-
LOG-6169 [k8s 1.30 and ocp 4.17] Upgrade LokiStack Log Storage Dependencies
- Closed
1.
|
[observatorium-api]: Upgrade golang builder | To Do | Unassigned | ||
2.
|
[observatorium-api]: Upgrade k8s dependencies | To Do | Unassigned | ||
3.
|
[opa-openshift]: Upgrade golang builder | To Do | Unassigned | ||
4.
|
[opa-openshift]: Upgrade k8s dependencies | To Do | Unassigned | ||
5.
|
[opa-openshift]: Upgrade openshift dependencies | To Do | Unassigned | ||
6.
|
[loki-operator]: Upgrade golang builder | To Do | Unassigned | ||
7.
|
[loki-operator]: Upgrade k8s dependencies | To Do | Unassigned | ||
8.
|
[loki-operator]: Upgrade openshift dependencies | To Do | Unassigned | ||
9.
|
[loki-operator]: Upgrade operator-sdk and controller-runtime deps | To Do | Unassigned | ||
10.
|
[loki-operator]: Upgrade golang builder in openshift/release CI config | To Do | Unassigned |