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
This commit unpins the version of `github.com/openshift/api` to depend
on the latest version. To continue supporting older OpenShift versions
which require the Console v1alpha1 API (removed since 2024), we fork the
`github.com/openshift/api` under `github.com/rhobs/openshift-api` and
pinned to the same version that was used before this change.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
**Why Pinned:** The observability-operator needs to support both OpenShift console API `v1` and `v1alpha1` for backward compatibility:
12
-
- OpenShift >= 4.17 uses `console/v1` API
11
+
**Why Forked:** The observability-operator needs to support both OpenShift console API `v1` and `v1alpha1` for backward compatibility:
12
+
- OpenShift >= 4.17 uses `console/v1` API
13
13
- OpenShift < 4.17 uses `console/v1alpha1` API
14
14
15
-
Newer versions of `github.com/openshift/api` (after April 2024) have removed the `console/v1alpha1` API, breaking compatibility with older OpenShift versions.
15
+
Newer versions of `github.com/openshift/api` (after April 2024) have removed the `console/v1alpha1` API, breaking compatibility with older OpenShift versions. To continue supporting older versions, we forked the library under (https://github.com/rhobs/openshift-api) using the last commit including the `v1alpha1` API and renaming the Go module in `go.mod` to `github.com/rhobs/openshift-api`.
16
16
17
17
**Impact:** The codebase maintains dual API support with runtime version detection to create the appropriate Console Plugin resources.
18
18
@@ -23,37 +23,14 @@ Newer versions of `github.com/openshift/api` (after April 2024) have removed the
23
23
-`pkg/operator/scheme.go` - API scheme registration
24
24
- All uiplugin package files using `osv1alpha1` imports
0 commit comments