diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml index e836327925..34a107e528 100644 --- a/helm/camel-k/crds/crd-integration.yaml +++ b/helm/camel-k/crds/crd-integration.yaml @@ -43,6 +43,10 @@ spec: jsonPath: .status.phase name: Phase type: string + - description: The integration readiness + jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string - description: The runtime version jsonPath: .status.runtimeProvider name: Runtime Provider diff --git a/pkg/apis/camel/v1/integration_types.go b/pkg/apis/camel/v1/integration_types.go index 9f293f6a63..7d7626c8fa 100644 --- a/pkg/apis/camel/v1/integration_types.go +++ b/pkg/apis/camel/v1/integration_types.go @@ -34,6 +34,7 @@ import ( // +kubebuilder:storageversion // +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas,selectorpath=.status.selector // +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`,description="The integration phase" +// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`,description="The integration readiness" // +kubebuilder:printcolumn:name="Runtime Provider",type=string,JSONPath=`.status.runtimeProvider`,description="The runtime version" // +kubebuilder:printcolumn:name="Runtime Version",type=string,JSONPath=`.status.runtimeVersion`,description="The runtime provider" // +kubebuilder:printcolumn:name="Kit",type=string,JSONPath=`.status.integrationKit.name`,description="The integration kit" diff --git a/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml index e836327925..34a107e528 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml @@ -43,6 +43,10 @@ spec: jsonPath: .status.phase name: Phase type: string + - description: The integration readiness + jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string - description: The runtime version jsonPath: .status.runtimeProvider name: Runtime Provider