operator-utils icon indicating copy to clipboard operation
operator-utils copied to clipboard

Create Programatic ServiceMonitor Resource

Open sabre1041 opened this issue 2 years ago • 0 comments

Most CoP operators currently include a ServiceMonitor to enable monitoring of the operator. This capability functions appropriately if the operator is deployed to the suggested namespace. However, due to limitations in the Operator Framework, additional resources packaged within an Operator Bundle can only be statically defined ad cannot take advantage of adapting to the current operating environment.

The suggested approach is to include logic within an operaator to create a ServiceMonitor resource where it will then be able to take advantage of properly manage the configuration of the resource.

  • Develop a reusable function that can be invoked from consuming operators to create ServiceMonitor resources

sabre1041 avatar Aug 03 '22 05:08 sabre1041