Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Conversation

pmacik
Copy link
Contributor

@pmacik pmacik commented Oct 12, 2021

Motivation

Currently, sample BindableKinds CR included in CSV does not contain .spec bloc, because its API does not have Spec in.

That fails basic-check-spec-test of OperatorSDK's scorecard tests.

BindableKinds is supposed to be a singleton instance in a cluster and is only used by the operator to publish set of bindable kinds. The CRs are not supposed to be created by users and therefore having an example for users does not make much sense.

Changes

This PR:

  • Removes example CR of BindableKinds

Testing

@openshift-ci openshift-ci bot requested review from isutton and pedjak October 12, 2021 11:08
@baijum
Copy link
Contributor

baijum commented Oct 12, 2021

/lgtm
/approve

@pedjak
Copy link
Contributor

pedjak commented Oct 12, 2021

/hold

@pmacik
Copy link
Contributor Author

pmacik commented Oct 12, 2021

/hold

@pmacik pmacik force-pushed the bindable-kinds-spec-cvp branch from df42f29 to 0e3ed94 Compare October 13, 2021 08:23
@openshift-ci openshift-ci bot removed the lgtm label Oct 13, 2021
@pmacik pmacik changed the title Add empty .spec into example CR of BindableKinds required by Operator SDK's Scorecard tests Remove BindableKinds CR from samples Oct 13, 2021
Copy link
Contributor

@pedjak pedjak left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 13, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baijum, pedjak

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

@pmacik
Copy link
Contributor Author

pmacik commented Oct 13, 2021

/unhold

@codecov
Copy link

codecov bot commented Oct 13, 2021

Codecov Report

Merging #1057 (0e3ed94) into master (1dfd5bf) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1057   +/-   ##
=======================================
  Coverage   58.87%   58.87%           
=======================================
  Files          30       30           
  Lines        1668     1668           
=======================================
  Hits          982      982           
  Misses        560      560           
  Partials      126      126           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dfd5bf...0e3ed94. Read the comment docs.

@openshift-merge-robot openshift-merge-robot merged commit 411e19e into redhat-developer:master Oct 13, 2021
@pmacik pmacik deleted the bindable-kinds-spec-cvp branch May 11, 2022 10:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants