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

Conversation

sadlerap
Copy link
Contributor

@sadlerap sadlerap commented Jun 3, 2022

Implement validation webhooks for incoming & modified ClusterWorkloadResourceMapping.servicebinding.io resources. Deletion is left unhandled; it's not clear if we need to implement deletion validation.

Signed-off-by: Andy Sadler [email protected]

Changes

/kind enhancement

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Docs
    included if any changes are user facing
  • Tests
    included if any functionality added or changed. For bugfixes please include tests that can catch regressions
  • All acceptance test scenarios included in the PR which verifies a bugfix or a requested feature reported by a non-member are tagged with @external-feedback tag.
  • Follows the commit message standard

@openshift-ci openshift-ci bot added the kind/enhancement New feature or request label Jun 3, 2022
@openshift-ci openshift-ci bot requested review from baijum and shruthihub June 3, 2022 21:38
@sadlerap
Copy link
Contributor Author

sadlerap commented Jun 3, 2022

/retest

@codecov
Copy link

codecov bot commented Jun 4, 2022

Codecov Report

Merging #1164 (ebe6afd) into master (bd28f5b) will increase coverage by 0.87%.
The diff coverage is 86.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1164      +/-   ##
==========================================
+ Coverage   57.84%   58.71%   +0.87%     
==========================================
  Files          31       33       +2     
  Lines        2697     2781      +84     
==========================================
+ Hits         1560     1633      +73     
- Misses        976      987      +11     
  Partials      161      161              
Impacted Files Coverage Δ
...v1alpha3/clusterworkloadresourcemapping_webhook.go 86.58% <86.58%> (ø)
...c/v1alpha3/clusterworkloadresourcemapping_types.go 100.00% <100.00%> (ø)

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 bd28f5b...ebe6afd. Read the comment docs.

@pmacik pmacik added this to the 1.1.0 milestone Jun 5, 2022
@sadlerap sadlerap requested a review from pmacik June 6, 2022 15:15
@sadlerap sadlerap force-pushed the validate-mapping-resources branch from 9e9c001 to 0d27d5e Compare June 7, 2022 11:49
Implement validation webhooks for incoming & modified
ClusterWorkloadResourceMapping.servicebinding.io resources.  Deletion is
left unhandled; it's not clear if we need to implement deletion
validation.

Signed-off-by: Andy Sadler <[email protected]>
@sadlerap sadlerap force-pushed the validate-mapping-resources branch from 0d27d5e to ebe6afd Compare June 7, 2022 12:29
@pmacik
Copy link
Contributor

pmacik commented Jun 7, 2022

/retest

@pmacik
Copy link
Contributor

pmacik commented Jun 7, 2022

/lgtm

@pmacik
Copy link
Contributor

pmacik commented Jun 7, 2022

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pmacik

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

@openshift-ci openshift-ci bot added the approved label Jun 7, 2022
@openshift-merge-robot openshift-merge-robot merged commit 6c77cd8 into redhat-developer:master Jun 7, 2022
@sadlerap sadlerap deleted the validate-mapping-resources branch June 7, 2022 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants