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

Support deletion of ClusterImagePolicy #1580

Merged
merged 2 commits into from
Mar 9, 2022
Merged

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Mar 9, 2022

By removing them properly from the CM.

Fixes #1572

Signed-off-by: Ville Aikas vaikas@chainguard.dev

Summary

Ticket Link

Fixes

Release Note


By removing them properly from the CM.

Fixes sigstore#1572

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
@codecov-commenter
Copy link

codecov-commenter commented Mar 9, 2022

Codecov Report

Merging #1580 (635413a) into main (70d9b9b) will increase coverage by 0.06%.
The diff coverage is 48.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1580      +/-   ##
==========================================
+ Coverage   27.45%   27.52%   +0.06%     
==========================================
  Files         130      130              
  Lines        7382     7408      +26     
==========================================
+ Hits         2027     2039      +12     
- Misses       5132     5144      +12     
- Partials      223      225       +2     
Impacted Files Coverage Δ
...econciler/clusterimagepolicy/clusterimagepolicy.go 43.54% <41.66%> (-1.19%) ⬇️
pkg/reconciler/clusterimagepolicy/controller.go 82.50% <100.00%> (+0.92%) ⬆️

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 70d9b9b...635413a. Read the comment docs.

Copy link
Member

@mattmoor mattmoor left a comment

Choose a reason for hiding this comment

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

🤩

@mattmoor mattmoor merged commit 5e3cead into sigstore:main Mar 9, 2022
@github-actions github-actions bot added this to the v1.7.0 milestone Mar 9, 2022
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
* Support deletion of ClusterImagePolicy

By removing them properly from the CM.

Fixes sigstore#1572

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>

* Lint cleanup.

Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClusterImagePolicy needs to remove policies from CM on deletions.
3 participants