Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1717638 fix(olm): report name and group for related objects #1012

Conversation

jpeeler
Copy link

@jpeeler jpeeler commented Aug 27, 2019

This builds off 6bfe15f.

This is what cluster operator output looks like for all three OLM resources. Note that the group for namespaces (and all core resources) is the empty string "".

apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: 2019-08-27T22:17:05Z
  generation: 1
  name: operator-lifecycle-manager
  resourceVersion: "28943"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/operator-lifecycle-manager
  uid: 671e451a-c918-11e9-908b-12dfa945673a
spec: {}
status:
  conditions:
  - lastTransitionTime: 2019-08-27T22:17:05Z
    status: "False"
    type: Degraded
  - lastTransitionTime: 2019-08-27T22:17:05Z
    message: Deployed 0.11.0
    status: "True"
    type: Progressing
  - lastTransitionTime: 2019-08-27T22:17:05Z
    status: "True"
    type: Available
  - lastTransitionTime: 2019-08-27T22:17:05Z
    status: "True"
    type: Upgradeable
  extension: null
  relatedObjects:
  - group: operators.coreos.com
    name: operator-lifecycle-manager
    namespace: openshift-operator-lifecycle-manager
    resource: OperatorGroup
  - group: operators.coreos.com
    name: operator-lifecycle-manager
    namespace: openshift-operator-lifecycle-manager
    resource: ClusterServiceVersion
  - group: ""
    name: openshift-operator-lifecycle-manager
    resource: namespaces
  versions:
  - name: operator
    version: 4.2.0-0.ci-2019-08-27-181227
  - name: operator-lifecycle-manager
    version: 0.11.0
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: 2019-08-27T22:17:06Z
  generation: 1
  name: operator-lifecycle-manager-catalog
  resourceVersion: "28963"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/operator-lifecycle-manager-catalog
  uid: 673dd84c-c918-11e9-b880-0a40fa8dec70
spec: {}
status:
  conditions:
  - lastTransitionTime: 2019-08-27T22:17:06Z
    status: "False"
    type: Degraded
  - lastTransitionTime: 2019-08-27T22:17:06Z
    message: Deployed 0.11.0
    status: "True"
    type: Progressing
  - lastTransitionTime: 2019-08-27T22:17:06Z
    status: "True"
    type: Available
  - lastTransitionTime: 2019-08-27T22:17:06Z
    status: "True"
    type: Upgradeable
  extension: null
  relatedObjects:
  - group: operators.coreos.com
    name: operator-lifecycle-manager-catalog
    namespace: openshift-marketplace
    resource: Subscription
  - group: operators.coreos.com
    name: operator-lifecycle-manager-catalog
    namespace: openshift-marketplace
    resource: InstallPlan
  - group: ""
    name: openshift-marketplace
    resource: namespaces
  versions:
  - name: operator
    version: 4.2.0-0.ci-2019-08-27-181227
  - name: operator-lifecycle-manager
    version: 0.11.0
apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
  creationTimestamp: 2019-08-27T22:17:05Z
  generation: 1
  name: operator-lifecycle-manager-packageserver
  resourceVersion: "29203"
  selfLink: /apis/config.openshift.io/v1/clusteroperators/operator-lifecycle-manager-packageserver
  uid: 671e49ea-c918-11e9-908b-12dfa945673a
spec: {}
status:
  conditions:
  - lastTransitionTime: 2019-08-27T22:17:05Z
    status: "False"
    type: Degraded
  - lastTransitionTime: 2019-08-27T22:17:25Z
    status: "True"
    type: Available
  - lastTransitionTime: 2019-08-27T22:17:25Z
    message: Deployed version 0.11.0
    status: "False"
    type: Progressing
  - lastTransitionTime: 2019-08-27T22:17:05Z
    message: Safe to upgrade
    status: "True"
    type: Upgradeable
  extension: null
  relatedObjects:
  - group: ""
    name: openshift-operator-lifecycle-manager
    resource: namespaces
  - group: operators.coreos.com
    name: packageserver
    namespace: openshift-operator-lifecycle-manager
    resource: ClusterServiceVersion
  versions:
  - name: operator
    version: 4.2.0-0.ci-2019-08-27-181227
  - name: packageserver
    version: 0.11.0

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 27, 2019
Copy link
Member

@ecordell ecordell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 27, 2019
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ecordell, jpeeler

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jpeeler
Copy link
Author

jpeeler commented Aug 27, 2019

This also addresses https://bugzilla.redhat.com/show_bug.cgi?id=1717636.

@openshift-merge-robot openshift-merge-robot merged commit 2959328 into operator-framework:master Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants