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

Add support for providing sink spec in GVR format #1717

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

vyasgun
Copy link
Contributor

@vyasgun vyasgun commented Aug 8, 2022

Description

Changes

  • The user can specify the sink with custom resource types
  • Follows the format: prefix:name:namespace where prefix is the group version resource

Reference

Fixes #1704

Release Note

Add support for providing sink spec in GVR format

Copy link

@knative-prow knative-prow bot left a comment

Choose a reason for hiding this comment

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

@vyasgun: 0 warnings.

In response to this:

Description

Changes

  • The user can specify the sink with custom resource types
  • Follows the format: prefix:name:namespace where prefix is the group version resource

Reference

Fixes #1704

Release Note


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 8, 2022
@codecov
Copy link

codecov bot commented Aug 8, 2022

Codecov Report

Merging #1717 (7d09284) into main (5251985) will decrease coverage by 0.00%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main    #1717      +/-   ##
==========================================
- Coverage   79.91%   79.90%   -0.01%     
==========================================
  Files         174      174              
  Lines       13515    13529      +14     
==========================================
+ Hits        10800    10811      +11     
- Misses       1978     1979       +1     
- Partials      737      739       +2     
Impacted Files Coverage Δ
pkg/kn/commands/flags/sink.go 82.65% <80.00%> (-0.69%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dsimansk
Copy link
Contributor

dsimansk commented Aug 9, 2022

/kind enhancement

Copy link
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

My only complaint is to add more tests to cover the various corner cases to deal with bad input. Unless being tested elsewhere?

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Aug 9, 2022
@knative-prow
Copy link

knative-prow bot commented Aug 9, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maximilien, vyasgun

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

@knative-prow knative-prow bot merged commit bf20fe2 into knative:main Aug 9, 2022
@dsimansk
Copy link
Contributor

@vyasgun if you could take a look at some more unit test please, in a follow-up PR.

@vyasgun
Copy link
Contributor Author

vyasgun commented Aug 17, 2022

Follow up PR for unit tests: #1724

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. kind/enhancement lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for providing sink spec in GVR format
3 participants