-
Notifications
You must be signed in to change notification settings - Fork 83
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
Replace pod for instances with changed file security context #2014
Merged
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
nicmorales9
commented
May 7, 2024
nicmorales9
changed the title
Replace pod for instances with changed file security context
Draft: Replace pod for instances with changed file security context
May 7, 2024
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
nicmorales9
force-pushed
the
sec-ctx-replace
branch
from
May 8, 2024 15:48
61a2a82
to
7022a81
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
nicmorales9
force-pushed
the
sec-ctx-replace
branch
2 times, most recently
from
May 9, 2024 12:59
6973575
to
adc0fc4
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
johscheuer
reviewed
May 14, 2024
nicmorales9
force-pushed
the
sec-ctx-replace
branch
2 times, most recently
from
May 15, 2024 11:34
d1f15b3
to
7bb571b
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
nicmorales9
force-pushed
the
sec-ctx-replace
branch
from
May 17, 2024 12:34
c18a3e8
to
aadc211
Compare
nicmorales9
force-pushed
the
sec-ctx-replace
branch
from
May 17, 2024 12:36
aadc211
to
9509765
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
nicmorales9
force-pushed
the
sec-ctx-replace
branch
from
May 21, 2024 15:31
86c1832
to
eee8a80
Compare
nicmorales9
commented
May 21, 2024
nicmorales9
changed the title
Draft: Replace pod for instances with changed file security context
Replace pod for instances with changed file security context
May 21, 2024
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
I believe the only failure was unrelated to the test as it passed when I reran locally and I believe I have seen it flake before:
rerunning |
johscheuer
requested changes
May 22, 2024
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
nicmorales9
force-pushed
the
sec-ctx-replace
branch
from
May 24, 2024 13:24
11d61ed
to
fb29007
Compare
nicmorales9
commented
May 24, 2024
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
johscheuer
reviewed
May 28, 2024
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
johscheuer
approved these changes
May 29, 2024
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 👍
johscheuer
reviewed
May 29, 2024
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
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
Should solve #208 by adding a check to replacement workflow. It also adds a feature flag (default off) and an e2e test.
Type of change
Discussion
Are there any design details that you would like to discuss further?
Testing
Please describe the tests that you ran to verify your changes. Unit tests?
Manual testing?
Unit test, e2e tests
e2e test output (focus tested on the new one)
Do we need to perform additional testing once this is merged, or perform in a larger testing environment?
Any unique kubernetes environment should be checked for securityContext server-side config changes before enabling this feature.
Documentation
Did you update relevant documentation within this repository?
I think so! Added docstrings + section in
docs/manual/replacements_and_deletions.md
.If this change is adding new functionality, do we need to describe it in our user manual?
I think the addition in
docs/manual/replacements_and_deletions.md
covers it but let me know if not.If this change is adding or removing subreconcilers, have we updated the core technical design doc to reflect that?
N/A
If this change is adding new safety checks or new potential failure modes, have we documented and how to debug potential issues?
I think they are straightforward enough, but let me know if not
Follow-up
Are there any follow-up issues that we should pursue in the future?
Does this introduce new defaults that we should re-evaluate in the future?