Skip to content

VSphereVirtualMachine reconciles unspecified fields even without LateInitialize management #7

@bogdan-bmb

Description

@bogdan-bmb

Description:
It appears that the provider reconciles VM options that are not specified in the forProvider section (for VSphereVirtualMachine), even when the LateInitialize management policy is not enabled.

Steps to reproduce:

  • Create a VSphereVirtualMachine resource with the LateInitialize management policy removed.
  • Manually update a VM option (for example, cpuReservation) through the vCenter UI.
  • Wait for the next reconciliation cycle.

Observed behavior:
The manually modified option is reverted back by the provider, despite not being defined in the forProvider section.

Expected behavior:
Fields not specified in the forProvider section should not be reconciled when the LateInitialize policy is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions