Bug 2025955

Summary: Wrong indentation of the admin ack gate message
Product: OpenShift Container Platform Reporter: Tereza <tgabriel>
Component: Cluster Version OperatorAssignee: Lalatendu Mohanty <lmohanty>
Status: CLOSED ERRATA QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, lmohanty
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2026020 (view as bug list) Environment:
Last Closed: 2021-11-30 10:25:45 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:
Bug Depends On: 2026020    
Bug Blocks:    

Description Tereza 2021-11-23 13:51:11 UTC
Document URL, Section Number and Name:
https://github.com/openshift/cluster-version-operator/blob/release-4.8/install/0000_00_cluster-version-operator_01_admingate_configmap.yaml#L4-L6

Describe the issue: 
Wrong indention in admingate config message.
The original/wrong one:
---
apiVersion: v1
kind: ConfigMap
data:
  ack-4.8-kube-1.22-api-removals-in-4.9: |
      Kubernetes 1.22 and therefore OpenShift 4.9 remove several APIs which require admin consideration. Please see
      the knowledge article https://access.redhat.com/articles/6329921 for details and instructions.

Suggestions for improvement: 
---
apiVersion: v1
kind: ConfigMap
data:
  ack-4.8-kube-1.22-api-removals-in-4.9: |
    Kubernetes 1.22 and therefore OpenShift 4.9 remove several APIs which require admin consideration. Please see the knowledge article https://access.redhat.com/articles/6329921 for details and instructions.

Comment 1 Lalatendu Mohanty 2021-11-23 15:50:00 UTC
Changing the version of the bug to 4.8 as the change only exists in 4.8 and it is not applicable to 4.9 and later.

Comment 7 Johnny Liu 2021-11-24 09:33:41 UTC
Verified this bug with 4.8.0-0.nightly-2021-11-24-020113, passed.

[root@preserve-jialiu-ansible ~]# oc get cm -n openshift-config-managed admin-gates -o yaml
apiVersion: v1
data:
  ack-4.8-kube-1.22-api-removals-in-4.9: |
    Kubernetes 1.22 and therefore OpenShift 4.9 remove several APIs which require admin consideration. Please see the knowledge article https://access.redhat.com/articles/6329921 for details and instructions.
kind: ConfigMap
metadata:
  annotations:
    include.release.openshift.io/ibm-cloud-managed: "true"
    include.release.openshift.io/self-managed-high-availability: "true"
    include.release.openshift.io/single-node-developer: "true"
  creationTimestamp: "2021-11-24T07:24:22Z"
  name: admin-gates
  namespace: openshift-config-managed
  resourceVersion: "1377"
  uid: fa9b389b-dca1-4639-b391-5aca8ebeface

Comment 9 errata-xmlrpc 2021-11-30 10:25:45 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 (OpenShift Container Platform 4.8.22 bug fix 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/RHBA-2021:4830