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
cannot patch "spire-controller-manager" with kind ClusterSPIFFEID: Internal error occurred: failed calling webhook "spire-controller-manager.nsm.svc": failed to call webhook: Post "https://spire-controller-manager.nsm.svc:443/validate-spire-spiffe-io-v1alpha1-clusterspiffeid?timeout=30s": dial tcp [fd00:eccd:17:ffff::6666:2d4f]:443: connect: connection refused
After some investigation seems that spire-controller-manager is waiting for webhook to be ready. Sometime the webhook needs 50 seconds to start, after helm command issued. That leads to the kubernetes error above.
The repeated helm upgrade usually is successful. The problem pops up randomly.
Can somehow control the timeout in spire controller manager? (the spire-controller-manager-webhook.yaml has a timeoutSeconds parameter - setting that to 30 does not have affect on this issue)
Can you suggest any workaround? (e.g. checking webhook availability in init container)
The text was updated successfully, but these errors were encountered:
During a helm upgrade an error occurs:
After some investigation seems that spire-controller-manager is waiting for webhook to be ready. Sometime the webhook needs 50 seconds to start, after helm command issued. That leads to the kubernetes error above.
The repeated helm upgrade usually is successful. The problem pops up randomly.
The text was updated successfully, but these errors were encountered: