Skip to content

Commit

Permalink
Added a PSS patch for cluster-jwks-proxy deployment (#2944)
Browse files Browse the repository at this point in the history
* Added a PSS patch

Signed-off-by: biswajit-9776 <[email protected]>

* Added workflow path for pss_test.yaml

Signed-off-by: biswajit-9776 <[email protected]>

---------

Signed-off-by: biswajit-9776 <[email protected]>
  • Loading branch information
biswajit-9776 authored Jan 9, 2025
1 parent 5d08815 commit 763d711
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pss_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- common/cert-manager/**
- common/oauth2-proxy/**
- common/istio*/**
- contrib/security/PSS/*
- tests/gh-actions/install_istio-cni.sh
- tests/gh-actions/install_multitenancy.sh

Expand Down
20 changes: 20 additions & 0 deletions contrib/security/PSS/patches/cluster-jwks-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cluster-jwks-proxy
namespace: istio-system
spec:
template:
spec:
containers:
- name: kubectl-proxy
securityContext:
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 0
capabilities:
drop:
- ALL

0 comments on commit 763d711

Please sign in to comment.