Skip to content

Commit

Permalink
Added a patch for contrib/security/PSS/patches
Browse files Browse the repository at this point in the history
Signed-off-by: biswajit-9776 <[email protected]>
  • Loading branch information
biswajit-9776 committed Jan 8, 2025
1 parent b351a06 commit e9e8264
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pss_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ jobs:
kubectl patch "$KIND" "$NAME" -n "$NAMESPACE" --patch-file "$file"
fi
done
kubectl get pods -n istio-system
kubectl get cm -n istio-system
kubectl describe cm istio-sidecar-injector -n istio-system
sleep 100
- name: Apply Pod Security Standards baseline levels for static namespaces
run: ./tests/gh-actions/enable_baseline_PSS.sh
Expand Down
18 changes: 18 additions & 0 deletions contrib/security/PSS/patches/cluster-jwks-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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
capabilities:
drop:
- ALL

0 comments on commit e9e8264

Please sign in to comment.