From 181a1fe1a53e825e51b39ac91a1b1b85628d8be1 Mon Sep 17 00:00:00 2001 From: Liang Xia Date: Thu, 13 Mar 2025 15:01:20 +0800 Subject: [PATCH] OCPBUGS-53049: Fix sample command for latest version of the Container Security Operator --- modules/security-pod-scan-cso.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/security-pod-scan-cso.adoc b/modules/security-pod-scan-cso.adoc index c8b6f0450982..4dfff68023ea 100644 --- a/modules/security-pod-scan-cso.adoc +++ b/modules/security-pod-scan-cso.adoc @@ -44,7 +44,7 @@ $ oc create secret generic container-security-operator-extra-certs --from-file=q $ oc get packagemanifests container-security-operator \ -o jsonpath='{range .status.channels[*]}{@.currentCSV} {@.name}{"\n"}{end}' \ | awk '{print "STARTING_CSV=" $1 " CHANNEL=" $2 }' \ - | sort -nr \ + | sort -Vr \ | head -1 ---- + @@ -87,4 +87,4 @@ $ oc apply -f container-security-operator.yaml [source,terminal] ---- subscription.operators.coreos.com/container-security-operator created ----- \ No newline at end of file +----