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
I use the opentelemetry-operator chart as a sub-chart and I've faced the issue where during helm upgrade I get an error:
cannot patch "opentelemetry" with kind OpenTelemetryCollector:
Internal error occurred: failed calling webhook "mopentelemetrycollector.kb.io":
failed to call webhook: Post "https://opentelemetry-operator-webhook.test.svc:443/mutate-opentelemetry-io-v1alpha1-opentelemetrycollector?timeout=10s":
x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "opentelemetry-operator-operator-ca")
It looks like a certificate generated by Helm (certManager.enabled=False) is always replaced and the operator needs some time to reload it, during this time is not possible to update OpenTelemetryCollector's (the webhook has the previous cert). Could the chart use the old Secret if exists or maybe this regeneration is intentional?
I can prepare a PR for it.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello Team.
I use the opentelemetry-operator chart as a sub-chart and I've faced the issue where during helm upgrade I get an error:
It looks like a certificate generated by Helm (certManager.enabled=False) is always replaced and the operator needs some time to reload it, during this time is not possible to update OpenTelemetryCollector's (the webhook has the previous cert). Could the chart use the old Secret if exists or maybe this regeneration is intentional?
I can prepare a PR for it.
Thanks!
The text was updated successfully, but these errors were encountered: