Skip to content

Drift detection and apply strategy fields are available in v1, not v1beta1-only #99

Description

content/en/docs/how-tos/drift-detection.md states at the top:

Note that the APIs for the new experience are only available in the Fleet v1beta1 API, not the v1 API.

It then uses apiVersion: placement.kubernetes-fleet.io/v1beta1 throughout.

However, ApplyStrategy, WhenToApply, ComparisonOption, and WhenToTakeOver all exist in apis/placement/v1/clusterresourceplacement_types.go in the kubefleet source. The v1 API fully supports drift detection and apply strategy configuration. The note and the v1beta1 API version in the examples are both incorrect; they should use v1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions