-
Notifications
You must be signed in to change notification settings - Fork 14
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
e2e: introduce upgrade suite #1073
e2e: introduce upgrade suite #1073
Conversation
Skipping CI for Draft Pull Request. |
/test all |
b569a7e
to
2e0b4df
Compare
/retest-required |
2e0b4df
to
b4ce63e
Compare
8da6754
to
e4fcfb7
Compare
1f194f9
to
04d1879
Compare
scratch that, just need to re-read the description better |
04d1879
to
1f6d4ac
Compare
/retest-required |
won't pass till #1099 merges, or till the real root issue gets fixed (which we have no visibility about) |
c477d81
to
8215648
Compare
once #1111 lands, we can reimplement the version check using the info bundled in the operator container image, avoiding any extra deps.
|
@ffromani I'm not sure how I should use the buildInfo utility with this |
the idea would be to use a function like this to find the operator pod (from the test) and once in the operator pod trivially query (aka cat) |
ebfaac1
to
8752ec4
Compare
Thanks, much more clear now |
8752ec4
to
2e17ed3
Compare
3b17e71
to
85e7efe
Compare
85e7efe
to
1c60fbf
Compare
This suite is needed to verify NROP machineconfigs are removed after an upgrade. Starting in version 4.18, NROP MachineConfigs containing the custom SELinux policy are expected to be removed unless a specific annotation is set in the NUMAResourcesOperator CR to enforce the use of the custom (legacy) SELinux policy. To ensure this behavior, we added a test that verifies MachineConfigs are removed when the annotation is absent in the CR. Signed-off-by: Ronny Baturov <[email protected]>
The upgrade suite is only supported on operator versions 4.18 or newer * Added a util func to find the operator pod. * Utilized the buildinfo.json inside the container to inspect the operator version. Signed-off-by: Ronny Baturov <[email protected]>
1c60fbf
to
1f98cb5
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani, rbaturov, Tal-or 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 |
/cherry-pick release-4.18 |
@rbaturov: cannot checkout 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-sigs/prow repository. |
@rbaturov: new pull request created: #1129 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-sigs/prow repository. |
Starting in version 4.18, NROP MachineConfigs containing the custom SELinux policy are expected to be removed unless a specific annotation is set in the NUMAResourcesOperator CR to enforce the use of the custom (legacy) SELinux policy. To ensure this behavior, we added a test that verifies MachineConfigs are removed when the annotation is absent in the CR.