| Camila Macedo By quickly checking the logs and also compare to other operators, I suspect the problem is that the reconcile loop is started before the `ExposeMetricsPort` is called (https://github.com/aerogear/mobile-security-service-operator/blob/master/cmd/manager/main.go#L96). If the reconcile code loop is blocking, then the operator won't have a chance to create the metrics port at all. UPS operators doing it the other way round: create the metrics port first before starting the reconcile loop: https://github.com/aerogear/unifiedpush-operator/blob/master/cmd/manager/main.go#L153. So I think the fix is to create the metrics port before starting the reconcile loop. |