-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
✨ adding comment one the scaffolds to clarifies for common cases that do not require escalating privileges is recommended the Pods/containers be restrictive #2720
Conversation
/hold |
/test pull-kubebuilder-e2e-k8s-1-24-1 |
1 similar comment
/test pull-kubebuilder-e2e-k8s-1-24-1 |
/hold cancel |
/hold |
/hold cancel |
pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go
Outdated
Show resolved
Hide resolved
pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager/config.go
Outdated
Show resolved
Hide resolved
pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/manager/config.go
Outdated
Show resolved
Hide resolved
f942dc8
to
fe6424e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor wording tweaks
pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/manager/config.go
Outdated
Show resolved
Hide resolved
5141145
to
c092685
Compare
/hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@everettraven: changing LGTM is restricted to collaborators In response to this:
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. |
@camilamacedo86 I think that Prow test failure is related to using an older version of KinD. I think this: Line 51 in eea565c
Needs to be:
For further reference, we encountered this issue in SDK: operator-framework/operator-sdk#5835 (comment) |
…seccomp spec field usage
/test pull-kubebuilder-e2e-k8s-1-24-1 |
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, everettraven 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 |
/test pull-kubebuilder-e2e-k8s-1-24-1 |
@camilamacedo86: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
Description
On the PR: #2700 we make all containers restrictive by default. However, it might not work on some vendors and versions.
In this way, for now, it seems the best approach to have the changes comment and warn the users.
Motivation
Help users avoid issues and check their Pods/containers not working on old cluster versions that do not support the current recommendations for good practices.