You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/features.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,11 @@ public class WebPageStatus extends ObservedGenerationAwareStatus {
199
199
}
200
200
```
201
201
202
-
Initializing status on custom resource:
202
+
Initializing status automatically on custom resource could be done by overriding the `initStatus` method
203
+
of `CustomResource`. However, this is NOT advised, since breaks the status patching if you use:
204
+
`UpdateControl.patchStatus`. See
205
+
also [javadocs](https://github.com/java-operator-sdk/java-operator-sdk/blob/3994f5ffc1fb000af81aa198abf72a5f75fd3e97/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/UpdateControl.java#L41-L42)
206
+
.
203
207
204
208
```java
205
209
@Group("sample.javaoperatorsdk")
@@ -641,8 +645,8 @@ public static void main(String[]args)throws IOException{
0 commit comments