-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fixes getting owner profile: the node status owner is of an unknown kind AppArmorProfile #1994
Fixes getting owner profile: the node status owner is of an unknown kind AppArmorProfile #1994
Conversation
|
Welcome @NahumLitvin! |
Hi @NahumLitvin. 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/test-infra repository. |
@NahumLitvin may I ask you to sign the CLA? |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1994 +/- ##
=======================================
Coverage 47.32% 47.32%
=======================================
Files 77 77
Lines 7352 7352
=======================================
Hits 3479 3479
Misses 3742 3742
Partials 131 131 |
@saschagrunert there is a n ongoing discussion in our internal slack what cla I should sign. cooperate or private |
@saschagrunert I signed the CLA |
/retest |
I have no idea what fails, can any1 explain? |
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 linter fails because the imports are not in the correct order:
diff --git a/internal/pkg/manager/nodestatus/nodestatus.go b/internal/pkg/manager/nodestatus/nodestatus.go
index ee7a34a3..84ede56d 100644
--- a/internal/pkg/manager/nodestatus/nodestatus.go
+++ b/internal/pkg/manager/nodestatus/nodestatus.go
@@ -35,9 +35,9 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/controller-runtime/pkg/scheme"
+ apparmorapi "sigs.k8s.io/security-profiles-operator/api/apparmorprofile/v1alpha1"
pbv1alpha1 "sigs.k8s.io/security-profiles-operator/api/profilebase/v1alpha1"
seccompprofileapi "sigs.k8s.io/security-profiles-operator/api/seccompprofile/v1beta1"
- apparmorapi "sigs.k8s.io/security-profiles-operator/api/apparmorprofile/v1alpha1"
statusv1alpha1 "sigs.k8s.io/security-profiles-operator/api/secprofnodestatus/v1alpha1"
selxv1alpha2 "sigs.k8s.io/security-profiles-operator/api/selinuxprofile/v1alpha2"
spodv1alpha1 "sigs.k8s.io/security-profiles-operator/api/spod/v1alpha1"
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.
/ok-to-test
There is still a whitespace change reported by the linter: diff --git a/internal/pkg/manager/nodestatus/nodestatus.go b/internal/pkg/manager/nodestatus/nodestatus.go
index 970269e7..84ede56d 100644
--- a/internal/pkg/manager/nodestatus/nodestatus.go
+++ b/internal/pkg/manager/nodestatus/nodestatus.go
@@ -34,7 +34,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/controller-runtime/pkg/scheme"
-
+
apparmorapi "sigs.k8s.io/security-profiles-operator/api/apparmorprofile/v1alpha1"
pbv1alpha1 "sigs.k8s.io/security-profiles-operator/api/profilebase/v1alpha1"
seccompprofileapi "sigs.k8s.io/security-profiles-operator/api/seccompprofile/v1beta1" |
thanks! I dont have the go toolchain on my machine |
dac823a
to
cacffc8
Compare
6e1c0d8
to
3dcde76
Compare
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: NahumLitvin, 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 |
/test pull-security-profiles-operator-test-e2e |
1 similar comment
/test pull-security-profiles-operator-test-e2e |
Thanks @NahumLitvin! 🙏 |
thank you @saschagrunert for facilitating my first contribution to oss |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes getting owner profile: the node status owner is of an unknown kind #1993
Does this PR have test?
N/A.
Special notes for your reviewer:
Does this PR introduce a user-facing change?