Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@haircommander
Copy link
Member

Signed-off-by: Peter Hunt [email protected]

What type of PR is this?

/kind feature

What this PR does / why we need it:

Adds allowed_annotations to workloads, and deprecates the one in runtime classes.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Adds support for `allowed_annotations` for workloads. The field functions the same as `allowed_annotations` in runtime handlers, and is meant to replace the runtime handler variant.
Deprecate `allowed_annotations` in runtime handlers.

@openshift-ci openshift-ci bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. 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 Sep 28, 2021
@openshift-ci openshift-ci bot requested review from giuseppe and sameo September 28, 2021 17:16
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 28, 2021
@haircommander haircommander force-pushed the workload-annotations branch 2 times, most recently from ab09369 to 9cb2570 Compare September 28, 2021 17:27
@codecov
Copy link

codecov bot commented Sep 28, 2021

Codecov Report

Merging #5358 (69211d2) into main (1c628f7) will decrease coverage by 0.11%.
The diff coverage is 38.82%.

❗ Current head 69211d2 differs from pull request most recent head 01ee373. Consider uploading reports for the commit 01ee373 to get more accurate results

@@            Coverage Diff             @@
##             main    #5358      +/-   ##
==========================================
- Coverage   43.72%   43.61%   -0.12%     
==========================================
  Files         118      118              
  Lines       11752    11814      +62     
==========================================
+ Hits         5139     5153      +14     
- Misses       6125     6169      +44     
- Partials      488      492       +4     

@haircommander haircommander force-pushed the workload-annotations branch 2 times, most recently from 6f0acaa to 6f5215c Compare September 28, 2021 20:22
@haircommander
Copy link
Member Author

thanks @TomSweeneyRedHat adapted (mostly) as suggested

@haircommander
Copy link
Member Author

/retest

@haircommander
Copy link
Member Author

rebased on #5373

@openshift-ci openshift-ci bot added dco-signoff: no Indicates the PR's author has not DCO signed all their commits. and removed dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Oct 4, 2021
@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. and removed dco-signoff: no Indicates the PR's author has not DCO signed all their commits. labels Oct 4, 2021
@haircommander
Copy link
Member Author

@cri-o/cri-o-maintainers PTAL

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

LGTM

"io.containers.trace-syscall" for tracing syscalls via the OCI seccomp BPF hook.

### CRIO.RUNTIME.WORKLOADS TABLE
The "crio.runtime.workloads" table defines a list of workloads--a way to customize the behavior of a pod and container.
Copy link
Member

Choose a reason for hiding this comment

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

nit:

Suggested change
The "crio.runtime.workloads" table defines a list of workloads--a way to customize the behavior of a pod and container.
The "crio.runtime.workloads" table defines a list of workloads - a way to customize the behavior of a pod and container.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 10, 2021
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 14, 2021
as well as mark runtime class version of allowed_annotations as deprecated

Signed-off-by: Peter Hunt <[email protected]>
@haircommander
Copy link
Member Author

updated and fixed tests

@haircommander
Copy link
Member Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 15, 2021

@haircommander: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/openshift-jenkins/e2e_crun_cgroupv2 01ee373 link false /test e2e_cgroupv2
ci/openshift-jenkins/integration_crun_cgroupv2 01ee373 link false /test integration_cgroupv2

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 18, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 18, 2021

[APPROVALNOTIFIER] This PR is APPROVED

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

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [haircommander,saschagrunert]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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 Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants