Skip to content

docs/dev/clusterversion: Set 'group' in patch manifests - #246

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
wking:patch-with-overrides-group
Oct 8, 2019
Merged

docs/dev/clusterversion: Set 'group' in patch manifests#246
openshift-merge-robot merged 1 commit into
openshift:masterfrom
wking:patch-with-overrides-group

Conversation

@wking

@wking wking commented Sep 17, 2019

Copy link
Copy Markdown
Member

I'm not sure when we started enforcing this, but against a recent 4.2 nightly:

$ cat version-patch.yaml
- op: add
  path: /spec/overrides
  value:
  - kind: ImageStream
    name: must-gather
    namespace: openshift
    unmanaged: true
$ oc patch clusterversion version --type json -p "$(cat version-patch.yaml)"
The ClusterVersion "version" is invalid: ... "image":"registry.svc.ci.openshift.org/wking/openshift4@sha256:9b5d0863abafcb98d1be5a4cf153e919530ba79ea4b18c390d602f9284cf916b", "startedTime":"2019-09-16T18:44:55Z", "state":"Completed", "verified":false, "version":"4.2.0-0.nightly-2019-09-11-114314"}}, "observedGeneration":1, "versionHash":"ukrOqloEb10="}}: validation failure list:
spec.overrides.group in body is required

I'm not sure when we started enforcing this, but against a recent 4.2
nightly:

  $ cat version-patch.yaml
  - op: add
    path: /spec/overrides
    value:
    - kind: ImageStream
      name: must-gather
      namespace: openshift
      unmanaged: true
  $ oc patch clusterversion version --type json -p "$(cat version-patch.yaml)"
  The ClusterVersion "version" is invalid: ... "image":"registry.svc.ci.openshift.org/wking/openshift4@sha256:9b5d0863abafcb98d1be5a4cf153e919530ba79ea4b18c390d602f9284cf916b", "startedTime":"2019-09-16T18:44:55Z", "state":"Completed", "verified":false, "version":"4.2.0-0.nightly-2019-09-11-114314"}}, "observedGeneration":1, "versionHash":"ukrOqloEb10="}}: validation failure list:
  spec.overrides.group in body is required
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 17, 2019
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 17, 2019
@abhinavdahiya

Copy link
Copy Markdown
Contributor

/retest

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 8, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, wking

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [abhinavdahiya,wking]

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

@openshift-merge-robot
openshift-merge-robot merged commit 41740d1 into openshift:master Oct 8, 2019
@wking
wking deleted the patch-with-overrides-group branch October 18, 2019 05:07
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