Skip to content

Apply the CRD using the SSA method in LocallyRunOperationExtension. #2457

Closed
@10000-ki

Description

@10000-ki

https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework-junit5/src/main/java/io/javaoperatorsdk/operator/junit/LocallyRunOperatorExtension.java#L185

스크린샷 2024-06-26 오후 2 23 04

Previously, we used the createOrReplace() API, but it is now deprecated. Since the operator itself uses the SSA method as the default, it is better to apply the CRD using the SSA method.

Especially with the CSA method, if users apply the CRD locally and also apply it in tests without a merge patch occurring between them, there can occasionally be issues with lost changes or the need for a force apply.

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