What happened:
Internally, alert creation fails the first time due to namespace not being there in the cr's namespace for crudupdater
How to reproduce it (as minimally and precisely as possible):
Have operator running in cluster scope, with alert crd enabled
Create Alert, default
Logs:
time="2019-06-27T22:19:53Z" level=info msg="creating Namespace alt2"
time="2019-06-27T22:19:53Z" level=debug msg="patch namespace for synopsys label in namespace ''"
time="2019-06-27T22:19:53Z" level=error msg="unable to ensure the Alert alt2 due to unable to update Alert components due to [unable to update namespace due to resource name may not be empty\ngithub.com/blackducksoftware/synopsys-operator/pkg/crdupdater/updater.go:76: add/patch components:]"
What happened: Internally, alert creation fails the first time due to namespace not being there in the cr's
namespace
for crudupdaterHow to reproduce it (as minimally and precisely as possible): Have operator running in cluster scope, with alert crd enabled Create Alert, default
Logs: