-
Notifications
You must be signed in to change notification settings - Fork 108
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
MULTIARCH-4654: Enabled the Security Profiles Operator for ppc64le #2589
base: main
Are you sure you want to change the base?
Conversation
|
Welcome @pranitaT! |
Hi @pranitaT. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
Thank you for the PR @pranitaT, do you mind signing the CLA? |
Hey @saschagrunert I shared with Pranita how our team signs the CLA. We'll get this done a.s.a.p. Thank you for the time, Paul |
operatorframework.io/arch.amd64: supported | ||
operatorframework.io/arch.ppc64le: supported |
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.
operatorframework.io/arch.amd64: supported | |
operatorframework.io/arch.ppc64le: supported |
We don't need the arches. I think arm/amd64 are already supported and we are adding s390x.
@@ -102,7 +102,7 @@ func generateBpfObj(builder *strings.Builder) error { | |||
builder.WriteString(header) | |||
builder.WriteString("var bpfObjects = map[string][]byte{\n") | |||
|
|||
for _, arch := range []string{"amd64", "arm64"} { | |||
for _, arch := range []string{"amd64", "arm64", "ppc64le", "s390x"} { |
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.
for _, arch := range []string{"amd64", "arm64", "ppc64le", "s390x"} { | |
for _, arch := range []string{"amd64", "arm64"} { |
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.
sorry based on testing, I don't think we need this anymore.
@@ -65,7 +65,7 @@ const ( | |||
docsHeader = "The following Kernels are supported to run the BPF recorder " + | |||
"beside those which already expose `/sys/kernel/btf/vmlinux`. " + | |||
"Please note that at least a Linux kernel version 5.8 is required " + | |||
"to use the bpf recorder.\n\n" | |||
"to use the bpf recorder, and this includes support for ppc64le and s390x architectures.\n\n" |
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.
"to use the bpf recorder, and this includes support for ppc64le and s390x architectures.\n\n" | |
"to use the bpf recorder.\n\n" |
Please rebase to fix the CI |
57bc010
to
afbcb5b
Compare
/ok-to-test |
@@ -0,0 +1,16 @@ | |||
//go:build !ppc64le && !s390x | |||
// +build !ppc64le,!s390x |
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.
// +build !ppc64le,!s390x | |
// +build !ppc64le,!s390x,!amd64 |
Or remove the amd64 entry, and push the method details in here.
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.
Probably need to change to _default.go or something along those lines
f889b64
to
98c7a11
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: pranitaT The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
"SCMP_ARCH_AARCH64" | ||
"SCMP_ARCH_AARCH64", | ||
"SCMP_ARCH_PPC64LE", | ||
"SCMP_ARCH_PPC" |
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.
probably need to update configmap with archMap
here...
d141c9d
to
0589431
Compare
4bfafdb
to
1582e6b
Compare
6a5b0cc
to
ed62724
Compare
ed62724
to
ec58ac1
Compare
3768c94
to
1572e7c
Compare
…dded fixes for seccomp and SELinux profiles, and verified functionality with logenricher. Signed-off-by: Pranita Turrey <[email protected]>
1572e7c
to
a342d35
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR enables the Security Profiles Operator for the ppc64le architecture, providing support for managing seccomp and SELinux profiles. The changes have been tested and verified using logenricher to ensure functionality and compliance.
Which issue(s) this PR fixes: https://issues.redhat.com/browse/MULTIARCH-4654
Does this PR have test?
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?