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

Allow plain annotation seccomp-profile.kubernetes.cri-o.io for images #7801

Merged

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

We now additionally allow the plain
seccomp-profile.kubernetes.cri-o.io annotation for container images, to not require users to suffix the annotation using /POD or a container name.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added the release-note-none Denotes a PR that doesn't merit a release note. label Feb 20, 2024
@openshift-ci openshift-ci bot requested review from hasan4791 and QiWang19 February 20, 2024 11:02
@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/feature Categorizes issue or PR as related to a new feature. labels Feb 20, 2024
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 20, 2024
@saschagrunert saschagrunert force-pushed the seccomp-image-annotation-plain branch from e11f5b5 to ea1bcb1 Compare February 20, 2024 11:07
docs/crio.conf.5.md Outdated Show resolved Hide resolved
@saschagrunert saschagrunert force-pushed the seccomp-image-annotation-plain branch from ea1bcb1 to 530cdba Compare February 20, 2024 11:28
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

Merging #7801 (6bd4f68) into main (87ff09f) will decrease coverage by 0.03%.
Report is 7 commits behind head on main.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7801       /-   ##
==========================================
- Coverage   48.56%   48.54%   -0.03%     
==========================================
  Files         148      148              
  Lines       16187    16190        3     
==========================================
- Hits         7861     7859       -2     
- Misses       7365     7368        3     
- Partials      961      963        2     

@saschagrunert
Copy link
Member Author

/retest

We now additionally allow the plain
`seccomp-profile.kubernetes.cri-o.io` annotation for container images,
to not require users to suffix the annotation using `/POD` or a
container name.

Signed-off-by: Sascha Grunert <[email protected]>
@saschagrunert saschagrunert force-pushed the seccomp-image-annotation-plain branch from 530cdba to 6bd4f68 Compare February 20, 2024 13:03
@saschagrunert
Copy link
Member Author

@cri-o/cri-o-maintainers PTAL

@saschagrunert
Copy link
Member Author

/retest

@haircommander
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2024
@kwilczynski
Copy link
Member

/approve
/lgtm

@kwilczynski
Copy link
Member

/retest-required

Copy link
Contributor

openshift-ci bot commented Feb 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kwilczynski, saschagrunert

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-merge-bot openshift-merge-bot bot merged commit ffc48b9 into cri-o:main Feb 21, 2024
62 of 64 checks passed
@saschagrunert saschagrunert deleted the seccomp-image-annotation-plain branch February 21, 2024 08:31
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants