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
The operator pod will keep crashing and restarting until the CRD is created.
Ideally the Watch should keep retrying when it fails to create a resource client for an unknown type. This way the operator does not crash and will wait until the CRD is created.
This allows us to keep to keep the deployment and CRD manifests separate as well.
ref: #76
The text was updated successfully, but these errors were encountered:
Currently if an operator tries to watch a Custom Resource type before the CRD is registered then it will panic because it can't create a resource client for an unregistered type.
https://github.com/operator-framework/operator-sdk/blob/https://github.com/operator-framework/operator-sdk/blob/0b429fb2ef27dd66d19e0028eb33fdfb445ad859/pkg/sdk/api.go#L44-L49/pkg/sdk/api.go#L44-L49
The operator pod will keep crashing and restarting until the CRD is created.
Ideally the Watch should keep retrying when it fails to create a resource client for an unknown type. This way the operator does not crash and will wait until the CRD is created.
This allows us to keep to keep the deployment and CRD manifests separate as well.
ref: #76
The text was updated successfully, but these errors were encountered: