Skip to content

Commit

Permalink
Update current feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Feb 16, 2024
1 parent 87e5cb8 commit 2fce4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labs/3_policies/ex3-scc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ alias kubectl-user='kubectl --as=system:serviceaccount:$NS:$SA -n "$NS"'

# See https://kubernetes.io/docs/concepts/policy/pod-security-policy/#run-another-pod
ink "Reset scc namespace $NS and remove related scc"

kubectl config set-context $(kubectl config current-context) --namespace=$NS
for policy in anyuid hostpath-provisioner
do
for sa in $SA default
Expand Down

0 comments on commit 2fce4ca

Please sign in to comment.