Skip to content

Commit

Permalink
OCPBUGS-10508: Add quotes around SCC audit procedure
Browse files Browse the repository at this point in the history
The json query we're using to help users detect SCCs they need to
monitor is rather complicated and should be quoted. Otherwise, it will
fail to run, which is frustrating for users if they're copy/pasting the
command out of the CRD (which is common).
  • Loading branch information
rhmdnd committed Aug 10, 2023
1 parent 55051b9 commit 235e77d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ocil: |-
check the variable value, e.g:
<pre>$ oc get variable ocp4-var-sccs-with-allowed-capabilities-regex -ojsonpath='{.value}' </pre>
Then use following command to list the SCCs that would fail the test:
<pre>$ oc get scc -o json | jq {{{ jqfilter }}}</pre>
<pre>$ oc get scc -o json | jq '{{{ jqfilter }}}'</pre>
Please replace the regular expression in the test command with the value read from the variable
<pre>ocp4-var-sccs-with-allowed-capabilities-regex</pre>. You can read the variable
value with:
Expand Down

0 comments on commit 235e77d

Please sign in to comment.