Skip to content

Commit

Permalink
Checking if unpatched configmap passes pss
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 8df1c2f commit 1cb1705
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/pss_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ jobs:
- name: Install Istio CNI
run: ./tests/gh-actions/install_istio-cni.sh

- name: Configure istio init container with seccompProfile attribute
run: |
kubectl get cm istio-sidecar-injector -n istio-system -o yaml > temporary_patch.yaml
sed -i '0,/runAsNonRoot: true/{s//&\n seccompProfile:\n type: RuntimeDefault/}' temporary_patch.yaml
sed -i '/runAsNonRoot: true/{N; /runAsUser: {{ .ProxyUID | default "1337" }}/a\
seccompProfile:\n type: RuntimeDefault
}' temporary_patch.yaml
kubectl apply -f temporary_patch.yaml
rm temporary_patch.yaml
- name: Install oauth2-proxy
run: ./tests/gh-actions/install_oauth2-proxy.sh

Expand Down

0 comments on commit 1cb1705

Please sign in to comment.