Bug 2025955 - Wrong indentation of the admin ack gate message
Summary: Wrong indentation of the admin ack gate message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.8.z
Assignee: Lalatendu Mohanty
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On: 2026020
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-23 13:51 UTC by Tereza
Modified: 2021-11-30 10:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2026020 (view as bug list)
Environment:
Last Closed: 2021-11-30 10:25:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 696 0 None open Bug 2025955: Removing the extra indentation 2021-11-23 17:04:18 UTC
Red Hat Product Errata RHBA-2021:4830 0 None None None 2021-11-30 10:26:09 UTC

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


Note You need to log in before you can comment on or make changes to this bug.