You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've temporarily disabled webhooks due to #1514 and noticed that if we don't fully specify the OpenTelemetryCollector, then it doesn't create/update the collector Deployment. At the same time, the opentelemetry operator doesn't log any errors.
I assume this is because there's some defaulting webhook that isn't being run, and there's some validation failing as a result when it gets reconciled. But it's failing silently. Or maybe it isn't failing but there's some "switch"-like statement that causes it to do nothing because the field isn't set? I haven't had a chance to dig into the code. I guess it's not typical to run without webhooks enabled, but if that's a supported configuration, it would help find problems faster with a bit more logging here.
As soon as I re-enabled the webhooks, it worked fine again. It would be nice to log any errors in the operator that would normally cause a validation failure with the admission webhooks enabled (if it would cause Reconcile to fail).
We disabled the webhooks by setting this in the helm chart:
We've temporarily disabled webhooks due to #1514 and noticed that if we don't fully specify the OpenTelemetryCollector, then it doesn't create/update the collector
Deployment
. At the same time, the opentelemetry operator doesn't log any errors.I assume this is because there's some defaulting webhook that isn't being run, and there's some validation failing as a result when it gets reconciled. But it's failing silently. Or maybe it isn't failing but there's some "switch"-like statement that causes it to do nothing because the field isn't set? I haven't had a chance to dig into the code. I guess it's not typical to run without webhooks enabled, but if that's a supported configuration, it would help find problems faster with a bit more logging here.
As soon as I re-enabled the webhooks, it worked fine again. It would be nice to log any errors in the operator that would normally cause a validation failure with the admission webhooks enabled (if it would cause Reconcile to fail).
We disabled the webhooks by setting this in the helm chart:
The text was updated successfully, but these errors were encountered: