Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#11545 from ComplianceAsCode/conta…
Browse files Browse the repository at this point in the history
…iner_security

OCP: Fix e2e remediation for container_security_operator_exists
  • Loading branch information
rhmdnd authored Feb 13, 2024
2 parents 4539cdd + 8a9e648 commit b537a33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ done
echo "waiting for container-security-operator deployment to be ready"
oc wait -nopenshift-operators --for=condition=Available --timeout=300s \
deployment/container-security-operator

echo "waiting the subscription to have .status.installedCSV"
while [ -z "$(oc get subscription container-security-operator -nopenshift-operators -o jsonpath='{.status.installedCSV}')" ]; do
sleep 3
done
4 changes: 2 additions & 2 deletions ocp-resources/e2e/container-security-operator-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ metadata:
name: container-security-operator
namespace: openshift-operators
spec:
channel: stable-3.8
channel: stable-3.10
installPlanApproval: Automatic
name: container-security-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
startingCSV: container-security-operator.v3.8.2
startingCSV: container-security-operator.v3.10.3

0 comments on commit b537a33

Please sign in to comment.