Skip to content

Commit

Permalink
Drop uid and guid in 3scale-kourier-gateway (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode authored Mar 1, 2024
1 parent 8a981e6 commit f20d9c6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 0 additions & 2 deletions config/300-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
capabilities:
drop:
- ALL
Expand Down
13 changes: 13 additions & 0 deletions openshift/patches/003-dropuid.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/config/300-gateway.yaml b/config/300-gateway.yaml
index 4a71d3eb..6c9df8f9 100644
--- a/config/300-gateway.yaml
+++ b/config/300-gateway.yaml
@@ -72,8 +72,6 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
runAsNonRoot: true
- runAsUser: 65534
- runAsGroup: 65534
capabilities:
drop:
- ALL
2 changes: 0 additions & 2 deletions openshift/release/artifacts/net-kourier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,6 @@ spec:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 65534
runAsGroup: 65534
capabilities:
drop:
- ALL
Expand Down

0 comments on commit f20d9c6

Please sign in to comment.