-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix kube rbac proxy #4498
Merged
camilamacedo86
merged 5 commits into
operator-framework:master
from
camilamacedo86:fix-kube-rbac-proxy
Feb 10, 2021
Merged
Fix kube rbac proxy #4498
camilamacedo86
merged 5 commits into
operator-framework:master
from
camilamacedo86:fix-kube-rbac-proxy
Feb 10, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
estroz
suggested changes
Feb 9, 2021
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.
The change itself is fine, but changelog fragment has formatting/information errors.
website/content/en/docs/building-operators/golang/references/logging.md
Outdated
Show resolved
Hide resolved
…0 to 0.8.0 Signed-off-by: Camila Macedo <[email protected]>
Co-authored-by: Eric Stroczynski <[email protected]> Signed-off-by: Camila Macedo <[email protected]>
Co-authored-by: Eric Stroczynski <[email protected]> Signed-off-by: Camila Macedo <[email protected]>
Co-authored-by: Eric Stroczynski <[email protected]> Signed-off-by: Camila Macedo <[email protected]>
…ogging.md Co-authored-by: Eric Stroczynski <[email protected]> Signed-off-by: Camila Macedo <[email protected]>
estroz
approved these changes
Feb 10, 2021
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
gouthampacha
added a commit
to gouthampacha/manila-operator
that referenced
this pull request
Sep 4, 2024
A static analysis (SAST) has detected potential bug(s) or issue(s) within the manila-operator: Error: SIGMA.container_running_as_root (CWE-269): unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: Sigma main event: The Kubernetes container is allowed to run as the root user. This may allow attackers to gain the root privileges of the host when the container is compromised. unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: remediation: Explicitly set the `securityContext.runAsNonRoot` value to `true` to prevent the container from running as a root-level user. kube-rbac-proxy does run rootless by default [1][2]; however, this annotation shouldn't hurt in case the underlying container image changes in the future. Jira: OSPRH-9115 [1] https://github.com/brancz/kube-rbac-proxy/blob/b76470f11760731a6ddb6977cd11ac25929ed0a0/Dockerfile#L9C6-L9C11 [2] operator-framework/operator-sdk#4498
fmount
pushed a commit
to fmount/manila-operator
that referenced
this pull request
Sep 12, 2024
A static analysis (SAST) has detected potential bug(s) or issue(s) within the manila-operator: Error: SIGMA.container_running_as_root (CWE-269): unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: Sigma main event: The Kubernetes container is allowed to run as the root user. This may allow attackers to gain the root privileges of the host when the container is compromised. unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: remediation: Explicitly set the `securityContext.runAsNonRoot` value to `true` to prevent the container from running as a root-level user. kube-rbac-proxy does run rootless by default [1][2]; however, this annotation shouldn't hurt in case the underlying container image changes in the future. Jira: OSPRH-9115 [1] https://github.com/brancz/kube-rbac-proxy/blob/b76470f11760731a6ddb6977cd11ac25929ed0a0/Dockerfile#L9C6-L9C11 [2] operator-framework/operator-sdk#4498 (cherry picked from commit 6c1ed08)
openshift-cherrypick-robot
pushed a commit
to openshift-cherrypick-robot/manila-operator
that referenced
this pull request
Sep 13, 2024
A static analysis (SAST) has detected potential bug(s) or issue(s) within the manila-operator: Error: SIGMA.container_running_as_root (CWE-269): unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: Sigma main event: The Kubernetes container is allowed to run as the root user. This may allow attackers to gain the root privileges of the host when the container is compromised. unpacked_remote_sources/app/config/default/manager_auth_proxy_patch.yaml:14: remediation: Explicitly set the `securityContext.runAsNonRoot` value to `true` to prevent the container from running as a root-level user. kube-rbac-proxy does run rootless by default [1][2]; however, this annotation shouldn't hurt in case the underlying container image changes in the future. Jira: OSPRH-9115 [1] https://github.com/brancz/kube-rbac-proxy/blob/b76470f11760731a6ddb6977cd11ac25929ed0a0/Dockerfile#L9C6-L9C11 [2] operator-framework/operator-sdk#4498
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the change:
kube-rbac-proxy
image version from0.5.0
to0.8.0
to address security concerns. More info #kubernetes-sigs/kubebuilder#1955.Motivation for the change:
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs