Bug 1659350
Summary: | Should forbidden update samplesresources.status | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | XiuJuan Wang <xiuwang> |
Component: | ImageStreams | Assignee: | Gabe Montero <gmontero> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | aos-bugs, bparees, jokerman, mmccomas, wzheng |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:41:16 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
XiuJuan Wang
2018-12-14 07:36:47 UTC
Gabe I can give you some guidance on this, you're not going to be able to fix it until we move off the operator SDK though. @Ben - now that we have a non-SDK version cooking (even if not merged yet), is it time to go over that guidance you mentioned last month? Or do we want to punt on this for 4.0 ? I'd like to fix it, it's relatively simple. But let's not add it to your current in flight PR. you can see a general idea of the things that are involved here: https://github.com/openshift/cluster-image-registry-operator/pull/118 1) add status subresource to CRD definition 2) add rbac rules so your operator can edit the status subresource 3) when you want to update the status fields, you need to call UpdateStatus instead of Update PR has merged Can't reproduce this bug. Couldn't update status of configs.samples.operator.openshift.io. oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.0.0-0.alpha-2019-01-14-015843 True False 37m Cluster version is 4.0.0-0.alpha-2019-01-14-015843 configs.samples.operator.openshift.io 4.0.0-alpha1-f76f4f23b 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:0758 |