This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push: new 5bf6455 Display relevant custom columns #274 5bf6455 is described below commit 5bf6455f83e7d025bda6ee6270a19b794125d311 Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Tue Dec 18 15:31:25 2018 +0100 Display relevant custom columns #274 --- deploy/crd-integration-context.yaml | 9 +++++++-- deploy/crd-integration-platform.yaml | 9 +++++++-- deploy/crd-integration.yaml | 9 +++++++-- deploy/resources.go | 27 +++++++++++++++++++++------ 4 files changed, 42 insertions(+), 12 deletions(-) diff --git a/deploy/crd-integration-context.yaml b/deploy/crd-integration-context.yaml index fbbbf49..f33ad81 100644 --- a/deploy/crd-integration-context.yaml +++ b/deploy/crd-integration-context.yaml @@ -6,6 +6,8 @@ metadata: app: "camel-k" spec: group: camel.apache.org + scope: Namespaced + version: v1alpha1 names: kind: IntegrationContext listKind: IntegrationContextList @@ -13,5 +15,8 @@ spec: singular: integrationcontext shortNames: - ictx - scope: Namespaced - version: v1alpha1 + additionalPrinterColumns: + - name: Phase + type: string + description: The IntegrationContext phase + JSONPath: .status.phase diff --git a/deploy/crd-integration-platform.yaml b/deploy/crd-integration-platform.yaml index ccba19c..cb41fe4 100644 --- a/deploy/crd-integration-platform.yaml +++ b/deploy/crd-integration-platform.yaml @@ -6,6 +6,8 @@ metadata: app: "camel-k" spec: group: camel.apache.org + scope: Namespaced + version: v1alpha1 names: kind: IntegrationPlatform listKind: IntegrationPlatformList @@ -13,5 +15,8 @@ spec: singular: integrationplatform shortNames: - ip - scope: Namespaced - version: v1alpha1 + additionalPrinterColumns: + - name: Phase + type: string + description: The IntegrationPlatform phase + JSONPath: .status.phase diff --git a/deploy/crd-integration.yaml b/deploy/crd-integration.yaml index 115d995..af20b4c 100644 --- a/deploy/crd-integration.yaml +++ b/deploy/crd-integration.yaml @@ -6,6 +6,8 @@ metadata: app: "camel-k" spec: group: camel.apache.org + scope: Namespaced + version: v1alpha1 names: kind: Integration listKind: IntegrationList @@ -13,5 +15,8 @@ spec: singular: integration shortNames: - it - scope: Namespaced - version: v1alpha1 + additionalPrinterColumns: + - name: Phase + type: string + description: The Integration phase + JSONPath: .status.phase diff --git a/deploy/resources.go b/deploy/resources.go index f1ab381..9f5ff45 100644 --- a/deploy/resources.go +++ b/deploy/resources.go @@ -2193,6 +2193,8 @@ metadata: app: "camel-k" spec: group: camel.apache.org + scope: Namespaced + version: v1alpha1 names: kind: IntegrationContext listKind: IntegrationContextList @@ -2200,8 +2202,11 @@ spec: singular: integrationcontext shortNames: - ictx - scope: Namespaced - version: v1alpha1 + additionalPrinterColumns: + - name: Phase + type: string + description: The IntegrationContext phase + JSONPath: .status.phase ` Resources["crd-integration-platform.yaml"] = @@ -2214,6 +2219,8 @@ metadata: app: "camel-k" spec: group: camel.apache.org + scope: Namespaced + version: v1alpha1 names: kind: IntegrationPlatform listKind: IntegrationPlatformList @@ -2221,8 +2228,11 @@ spec: singular: integrationplatform shortNames: - ip - scope: Namespaced - version: v1alpha1 + additionalPrinterColumns: + - name: Phase + type: string + description: The IntegrationPlatform phase + JSONPath: .status.phase ` Resources["crd-integration.yaml"] = @@ -2235,6 +2245,8 @@ metadata: app: "camel-k" spec: group: camel.apache.org + scope: Namespaced + version: v1alpha1 names: kind: Integration listKind: IntegrationList @@ -2242,8 +2254,11 @@ spec: singular: integration shortNames: - it - scope: Namespaced - version: v1alpha1 + additionalPrinterColumns: + - name: Phase + type: string + description: The Integration phase + JSONPath: .status.phase ` Resources["cr-example.yaml"] =