Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
10000-ki opened this issue Jun 26, 2024 · 0 comments · Fixed by #2458
Closed

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

10000-ki opened this issue Jun 26, 2024 · 0 comments · Fixed by #2458

Comments

@10000-ki
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant