mbalassi commented on code in PR #524:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/524#discussion_r1100717690
##########
flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/status/CommonStatus.java:
##########
@@ -43,14 +43,16 @@
/** Error information about the FlinkDeployment/FlinkSessionJob. */
private String error;
+ @PrinterColumn(name = "Resource Lifecycle State")
Review Comment:
Let us call this simply `Lifecycle State`, resource is redundant.
##########
helm/flink-kubernetes-operator/crds/flinkdeployments.flink.apache.org-v1.yml:
##########
@@ -9243,6 +9242,19 @@ spec:
type: object
error:
type: string
+ lifecycleState:
+ enum:
+ - CREATED
+ - SUSPENDED
+ - UPGRADING
+ - DEPLOYED
+ - STABLE
+ - ROLLING_BACK
+ - ROLLED_BACK
+ - FAILED
+ - terminal
Review Comment:
`@JsonIgnore` is the answer:
https://github.com/fabric8io/kubernetes-client/blob/master/doc/CRD-generator.md
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]