forked from aws-samples/hardeneks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix security context container bug
- Loading branch information
1 parent
5deb00a
commit c294211
Showing
19 changed files
with
10,260 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
namespace: test-namespace | ||
name: bad | ||
spec: | ||
containers: | ||
- name: sec-ctx-demo | ||
image: busybox | ||
command: [ "sh", "-c", "sleep 1h" ] | ||
securityContext: | ||
runAsUser: 1000 | ||
runAsGroup: 3000 | ||
- name: sec-ctx-demo-2 | ||
image: busybox | ||
command: [ "sh", "-c", "sleep 1h" ] |
1,903 changes: 1,903 additions & 0 deletions
1,903
...s/data/disable_run_as_root_user_container/cluster/cluster_role_bindings_api_response.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.