Bug 1914287

Summary: Bring back selfLink
Product: OpenShift Container Platform Reporter: Maciej Szulik <maszulik>
Component: kube-apiserverAssignee: David Eads <deads>
Status: CLOSED ERRATA QA Contact: Ke Wang <kewang>
Severity: high Docs Contact:
Priority: high    
Version: 4.7CC: aos-bugs, mfojtik, xxia
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:51:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Maciej Szulik 2021-01-08 14:33:45 UTC
k8s 1.20 removed support for selfLinks, but we need it for one more release.

Comment 2 Ke Wang 2021-01-11 09:18:18 UTC
$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.7.0-0.nightly-2021-01-10-070949   True        False         5m39s   Cluster version is 4.7.0-0.nightly-2021-01-10-070949

$ oc get pod kube-apiserver-operator-6867c9c6b6-kpp9s -n openshift-kube-apiserver-operator -o yaml | grep -B1 '1.20'
    - name: OPERAND_IMAGE_VERSION
      value: 1.20.0-beta.2

$ oc get pod kube-apiserver-operator-6867c9c6b6-kpp9s -n openshift-kube-apiserver-operator -o yaml | grep -i selflink
  selfLink: /api/v1/namespaces/openshift-kube-apiserver-operator/pods/kube-apiserver-operator-6867c9c6b6-kpp9s

We can see the selfLink is reserved, move the bug VERIFIED.

Comment 5 errata-xmlrpc 2021-02-24 15:51:25 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633