Skip to content

[Bug] spec.client getting overwritten when CRDs updated to v1 #515

Closed
@pb82

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:

  1. Install 4.0.0
  2. Create a CR with spec.client.preferService set to true
  3. 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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions