Skip to content
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

Implement initSpec for all CRDs #58

Open
Javatar81 opened this issue Feb 7, 2024 · 1 comment
Open

Implement initSpec for all CRDs #58

Javatar81 opened this issue Feb 7, 2024 · 1 comment

Comments

@Javatar81
Copy link
Owner

No description provided.

@Javatar81 Javatar81 changed the title Implement initSpec and initStatus for all CRDs Implement initSpec for all CRDs Feb 7, 2024
@Javatar81
Copy link
Owner Author

There is also an initStatus but its use is not recommended:

Note that this does not work, if the {@link CustomResource#initStatus() initStatus} is
   implemented, since it breaks the diffing process. Don't implement it if using this method.

https://github.com/operator-framework/java-operator-sdk/blob/3994f5ffc1fb000af81aa198abf72a5f75fd3e97/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/UpdateControl.java#L41-L42

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

No branches or pull requests

1 participant