Skip to content

Commit

Permalink
Set default namespace to cex-device-plugin
Browse files Browse the repository at this point in the history
Signed-off-by: hfreude <[email protected]>
  • Loading branch information
hfreude committed May 28, 2024
1 parent 9aa772c commit 6738d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setquotas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ while ! test -z "$1"; do
c=0
echo "apiVersion: v1" > quota-$n.yaml
echo "items:" >> quota-$n.yaml
for s in `oc get cm cex-resources-config -n kube-system -o jsonpath='{.data.cex_resources\.json}' | jq -r ".cryptoconfigsets | .[] | select(.project != \"$n\") | .setname"`; do
for s in `oc get cm cex-resources-config -n cex-device-plugin -o jsonpath='{.data.cex_resources\.json}' | jq -r ".cryptoconfigsets | .[] | select(.project != \"$n\") | .setname"`; do
c=$(( c + 1 ))
createquota $n $s $c
done
Expand Down

0 comments on commit 6738d5d

Please sign in to comment.