Bug 1736813

Summary: openshift-kube-apiserver-operator pod is using alpha api
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: kube-apiserverAssignee: Stefan Schimanski <sttts>
Status: CLOSED ERRATA QA Contact: Liang Xia <lxia>
Severity: low Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:34:29 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 Liang Xia 2019-08-02 06:25:17 UTC
Description of problem:
openshift-kube-apiserver-operator pod is using alpha api


Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-07-28-222114
Client Version: version.Info{Major:"4", Minor:"2+", GitVersion:"v4.2.0", GitCommit:"1cca013db", GitTreeState:"clean", BuildDate:"2019-08-01T18:56:59Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.0+1682e38", GitCommit:"1682e38", GitTreeState:"clean", BuildDate:"2019-07-28T20:08:40Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}
OpenShift Version: 4.2.0-0.nightly-2019-07-28-222114


How reproducible:
Always

Steps to Reproduce:
1.oc project openshift-kube-apiserver-operator
2.oc get pods
3.oc rsh $above_pod
4.find . -name config.yaml -exec cat {} \;

Actual results:
apiVersion: operator.openshift.io/v1alpha1
kind: GenericOperatorConfig


Expected results:
alpha api should not be used for prod cluster.

Additional info:

Comment 2 Xingxing Xia 2019-08-07 07:09:13 UTC
Verified in 4.2.0-0.nightly-2019-08-06-195545:
oc get cm -n openshift-kube-apiserver-operator kube-apiserver-operator-config -o yaml
apiVersion: v1
data:
  config.yaml: |
    apiVersion: operator.openshift.io/v1
    kind: GenericOperatorConfig
kind: ConfigMap
metadata:
  creationTimestamp: "2019-08-07T05:50:45Z"
  name: kube-apiserver-operator-config
  namespace: openshift-kube-apiserver-operator
  resourceVersion: "1129"
  selfLink: /api/v1/namespaces/openshift-kube-apiserver-operator/configmaps/kube-apiserver-operator-config
  uid: 4c6cbdc8-b8d7-11e9-97f4-42010a000002

Comment 3 errata-xmlrpc 2019-10-16 06:34:29 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, 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-2019:2922