Description of problem: The current version of openshift/cluster-dns-operator vendors Kubernetes 1.23 packages. OpenShift 4.11 is based on Kubernetes 1.24. OpenShift release version: 4.11. Steps to Reproduce (in detail): 1. Check <https://github.com/openshift/cluster-dns-operator/blob/release-4.11/go.mod>. Actual results: Kubernetes packages (k8s.io/api, k8s.io/apimachinery, and k8s.io/client-go) are at version v0.23.0 or v0.23.5. Expected results: Kubernetes packages are at version v0.24.0 or later. Impact of the problem: Using old Kubernetes API and client packages brings risk of API compatibility issues.
melvinjoseph@mjoseph-mac Downloads % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.nightly-2022-06-25-081133 True False 41m Cluster version is 4.11.0-0.nightly-2022-06-25-081133 melvinjoseph@mjoseph-mac Downloads % oc get pods -n openshift-dns-operator NAME READY STATUS RESTARTS AGE dns-operator-759b99c5cd-qjl82 2/2 Running 0 85m melvinjoseph@mjoseph-mac Downloads % oc rsync -n openshift-dns-operator dns-operator-759b99c5cd-qjl82:/usr/bin/dns-operator . receiving file list ... done dns-operator sent 38 bytes received 48135601 bytes 3850851.12 bytes/sec total size is 48123760 speedup is 1.00 Defaulted container "dns-operator" out of: dns-operator, kube-rbac-proxy melvinjoseph@mjoseph-mac Downloads % strings ./dns-operator >> forbug.txt melvinjoseph@mjoseph-mac Downloads % grep -B1 "v0.24" forbug.txt k8s.io/api v0.24.1 <-- k8s.io/apimachinery v0.24.1 <-- k8s.io/client-go v0.24.1 <-- k8s.io/component-base v0.24.1 -- k8s.io/kubectl v0.24.1 <-- -- k8s.io/api v0.24.1 k8s.io/apimachinery v0.24.1 k8s.io/client-go v0.24.1 k8s.io/component-base v0.24.1 -- k8s.io/kubectl v0.24.1 Hence verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069