[Bug] spec.client getting overwritten when CRDs updated to v1 #515
Closed
Description
Describe the bug
When recreating the CRDs and updating them to v1 (from v1beta1) the spec.client
field can't be set. Existing values get overwritten with an empty object. This happens on master as well as on the v3 branch.
To Reproduce
Steps to reproduce the behavior:
- Install 4.0.0
- Create a CR with
spec.client.preferService
set totrue
- Apply the change. The value will be reset.
Expected behavior
The CR being applied as before.
Suspect component/Location where the bug might be occuring
CSV or generated code
Runtime (please complete the following information):
- Grafana Operator Version: master, v3
- Environment: OpenShift 4.8
- Deployment type: OLM