The following commands should be run against the Kubernetes/OpenShift cluster into which Red Hat ACS/StackRox Central is deployed.
Set the environment variable ACS_NAMESPACE
to the namespace into which Red Hat ACS/StackRox is deployed, for example:
ACS_NAMESPACE=rhacs-operator
On OpenShift, run
oc -n "${ACS_NAMESPACE}" patch deploy/central -p '{"spec":{"template":{"spec":{"containers":[{"name":"central","command":["bash", "-c", "rm -f /var/lib/stackrox/cve/istio/cve-list.json ; exec /stackrox/central-entrypoint.sh"]}]}}}}'
On Kubernetes, run
kubectl -n "${ACS_NAMESPACE}" patch deploy/central -p '{"spec":{"template":{"spec":{"containers":[{"name":"central","command":["bash", "-c", "rm -f /var/lib/stackrox/cve/istio/cve-list.json ; exec /stackrox/central-entrypoint.sh"]}]}}}}'