Previously the script errored out, as ServiceMonitor objects are only registered once the Prometheus Operator is running.