-
Notifications
You must be signed in to change notification settings - Fork 333
Net 4414 remove anyuid openshift requirement #4152
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
Merged
missylbytes
merged 39 commits into
main
from
net-4414-remove-anyuid-openshift-requirement
Jul 9, 2024
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
016d343
Remove SCC requirement for anyuid for OpenShift
curtbushko 6fc6a2b
add changelog entry
curtbushko 22f02da
fix linter
curtbushko 6dacaee
Update with review comments
curtbushko b2c3b50
add some print statements
missylbytes da0ebc1
remove debug output from api gateway kitchen sink
curtbushko 7f57d81
Reorganize if statement that is hard to understand
missylbytes 0707f39
Updates Api Gateway to use the UID and GID given to it by Openshift
missylbytes c07c0eb
Reorg creation of security context for the webhook container init, no…
missylbytes cb7f671
Adds net_bind_service capability from https://github.com/hashicorp/co…
missylbytes 0ae97a0
Reorganizes dataplane sidecar logic in webhook to be a bit more under…
missylbytes cd4a687
Adds tests for NET_BIND_SERVICE from here: https://github.com/hashico…
missylbytes e20ff5b
Adds changelog
missylbytes bfe7be8
Didn't reorg the dataplane sidecar in the webhook correctly
missylbytes 1b74985
Fix dataplane sidecar test for webhook
missylbytes 38387fe
Remove some formatting changes, making PR larger than it needs to be.
missylbytes 16bb1de
Uses the Openshift IDs for gateway init container
missylbytes 79a4b45
We only need to check the namespace annotations for Openshift
missylbytes 22dad5e
Update test for Openshift to include namespace with annotations
missylbytes 4ba20cd
Update test to actually test for UID and Group
missylbytes c06d654
Use separate user/group IDs for app, init + dataplane containers
nathancoleman 0df7090
Merge branch 'main' into net-4414-remove-anyuid-openshift-requirement
missylbytes 886badd
Will not work, worried power is going to go out.
missylbytes 8df6652
Finishes updating Openshift get userIDs and groupIDs, still need to u…
missylbytes 83abb12
Fix missing call updates for Openshift IDs
missylbytes 7c0aedc
Rename function
missylbytes 189f093
Need name of annotation, not value
missylbytes ab16a35
Fix bug in iptables config generation
nathancoleman 5d715de
Skip dataplane + init containers when building list of application us…
nathancoleman fa695f7
Remove unused code + unnecessary function export
nathancoleman 28a40fa
Use correct function for API gateway initi container UID
nathancoleman dd16651
Update gatekeeper tests for OpenShift
nathancoleman f087c92
Exclude init + dataplane containers based on image instead of name pr…
nathancoleman 92bcb82
Updates Openshift and tests to test for dashes in ranges, and comma s…
missylbytes 6a99515
Updated some tests
missylbytes a149661
Updated some tests
missylbytes d2f1b26
Updated sidecar tests
missylbytes 4cf176a
Updated init container test and redirect traffic test for webhook
missylbytes 636a8dd
Un-bump Go version
missylbytes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| ```release-note:improvement | ||
| control-plane: Remove anyuid Security Context Constraints (SCC) requirement in OpenShift. | ||
| ``` | ||
|
|
||
| ```release-note:bug | ||
| connect-inject: add NET_BIND_SERVICE capability when injecting consul-dataplane sidecar | ||
| ``` |
This file contains hidden or 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
This file contains hidden or 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
26 changes: 0 additions & 26 deletions
26
acceptance/tests/fixtures/bases/multiport-app/anyuid-scc-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
14 changes: 0 additions & 14 deletions
14
acceptance/tests/fixtures/bases/static-client/anyuid-scc-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
14 changes: 0 additions & 14 deletions
14
acceptance/tests/fixtures/bases/static-server-https/anyuid-scc-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
14 changes: 0 additions & 14 deletions
14
acceptance/tests/fixtures/bases/static-server-tcp/anyuid-scc-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
14 changes: 0 additions & 14 deletions
14
acceptance/tests/fixtures/bases/static-server/anyuid-scc-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
26 changes: 0 additions & 26 deletions
26
acceptance/tests/fixtures/bases/v2-multiport-app/anyuid-scc-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.