How is webhook bootstrapping supposed to work on upgrade? #3012
-
We're starting to test more with multiple CRD versions, and we're running into odd behavior, and I can't tell how it was ever supposed to work. We have several alpha versions of our objects, and we create new versions when we make changes. We have conversion webhooks set up between the different versions (using the hub and spoke model) and they work great on a fresh install. As far as I can tell, we've followed the "Multi-Version API" tutorial exactly. But, when we push updated CRDs and operator deployments (with The operator logs indicate that the caches can't be initialized because the operator can't load the objects because the API server can't reach the conversion webhook. e.g. But the conversion webhook is in the operator, which can't start! How is this supposed to work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Update: this seems to have been caused by an out of date version. We were using controller-runtime 0.8.3, which is quite old, now. Updating to controller-runtime 0.12.3 resolved this issue. |
Beta Was this translation helpful? Give feedback.
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
Update: this seems to have been caused by an out of date version. We were using controller-runtime 0.8.3, which is quite old, now. Updating to controller-runtime 0.12.3 resolved this issue.