This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 9a24cb764 Fix: show IntegrationPlatform build stragegy field
9a24cb764 is described below

commit 9a24cb76401b4660249c8cd928270a889fc9fd93
Author: Claudio Miranda <[email protected]>
AuthorDate: Wed Jun 21 14:41:04 2023 -0300

    Fix: show IntegrationPlatform build stragegy field
    
    Fix https://github.com/apache/camel-k/issues/4485
---
 config/crd/bases/camel.apache.org_integrationplatforms.yaml | 2 +-
 helm/camel-k/crds/crd-integration-platform.yaml             | 2 +-
 pkg/apis/camel/v1/integrationplatform_types.go              | 2 +-
 pkg/resources/resources.go                                  | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml 
b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
index 6b133aace..080b76618 100644
--- a/config/crd/bases/camel.apache.org_integrationplatforms.yaml
+++ b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
@@ -44,7 +44,7 @@ spec:
       name: Phase
       type: string
     - description: The default build strategy
-      jsonPath: .status.build.buildStrategy
+      jsonPath: .status.build.buildConfiguration.strategy
       name: Build strategy
       type: string
     - description: The default publish strategy
diff --git a/helm/camel-k/crds/crd-integration-platform.yaml 
b/helm/camel-k/crds/crd-integration-platform.yaml
index 6b133aace..080b76618 100644
--- a/helm/camel-k/crds/crd-integration-platform.yaml
+++ b/helm/camel-k/crds/crd-integration-platform.yaml
@@ -44,7 +44,7 @@ spec:
       name: Phase
       type: string
     - description: The default build strategy
-      jsonPath: .status.build.buildStrategy
+      jsonPath: .status.build.buildConfiguration.strategy
       name: Build strategy
       type: string
     - description: The default publish strategy
diff --git a/pkg/apis/camel/v1/integrationplatform_types.go 
b/pkg/apis/camel/v1/integrationplatform_types.go
index a22b3802c..d87737358 100644
--- a/pkg/apis/camel/v1/integrationplatform_types.go
+++ b/pkg/apis/camel/v1/integrationplatform_types.go
@@ -68,7 +68,7 @@ type IntegrationPlatformStatus struct {
 // +kubebuilder:subresource:status
 // +kubebuilder:storageversion
 // 
+kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`,description="The
 integration platform phase"
-// +kubebuilder:printcolumn:name="Build 
strategy",type=string,JSONPath=`.status.build.buildStrategy`,description="The 
default build strategy"
+// +kubebuilder:printcolumn:name="Build 
strategy",type=string,JSONPath=`.status.build.buildConfiguration.strategy`,description="The
 default build strategy"
 // +kubebuilder:printcolumn:name="Publish 
strategy",type=string,JSONPath=`.status.build.publishStrategy`,description="The 
default publish strategy"
 // +kubebuilder:printcolumn:name="Registry 
address",type=string,JSONPath=`.status.build.registry.address`,description="The 
container registry address"
 // +kubebuilder:printcolumn:name="Default 
runtime",type=string,JSONPath=`.status.build.runtimeVersion`,description="The 
default runtime version"
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 2f527639b..118f5f568 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -138,9 +138,9 @@ var assets = func() http.FileSystem {
                "/crd/bases/camel.apache.org_integrationplatforms.yaml": 
&vfsgen۰CompressedFileInfo{
                        name:             
"camel.apache.org_integrationplatforms.yaml",
                        modTime:          time.Time{},
-                       uncompressedSize: 182017,
+                       uncompressedSize: 182031,
 
-                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\xe3\x36\x96\x30\x0e\xff\x9f\x4f\x81\x72\x6a\xab\xdd\x5d\x96\xd4\x99\xd9\xcc\x64\xbd\x9b\x7d\x1e\xc7\xdd\x49\x9c\xbe\xd8\x8f\xed\xee\xd9\xa9\x24\x15\x41\xe4\x91\x84\x18\x02\xb8\x00\x28\x5b\x79\xe7\xfd\xee\xbf\xc2\x01\x40\x52\x12\x09\x52\x92\x2f\x9d\x44\x4c\xd5\x4c\xdb\x26\xc0\x73\x80\x83\x73\xc3\xb9\x7c\x4e\x7a\xf7\xf7\x7c\xf6\x39\x79\xcb\x12\x10\x1a\x52\x62\x24\x31\x53\x20\x27\x19\x4d\xa6\x40\xae\xe4\x
 [...]
+                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\xe3\x36\x96\x30\x0e\xff\x9f\x4f\x81\x72\x6a\xab\xdd\x5d\x96\xd4\x99\xd9\xcc\x64\xbd\x9b\x7d\x1e\xc7\xdd\x49\x9c\xbe\xd8\x8f\xed\xee\xd9\xa9\x24\x15\x41\xe4\x91\x84\x18\x02\xb8\x00\x28\x5b\x79\xe7\xfd\xee\xbf\xc2\x01\x40\x52\x12\x09\x52\x92\x2f\x9d\x44\x4c\xd5\x4c\xdb\x26\xc0\x73\x80\x83\x73\xc3\xb9\x7c\x4e\x7a\xf7\xf7\x7c\xf6\x39\x79\xcb\x12\x10\x1a\x52\x62\x24\x31\x53\x20\x27\x19\x4d\xa6\x40\xae\xe4\x
 [...]
                },
                "/crd/bases/camel.apache.org_integrations.yaml": 
&vfsgen۰CompressedFileInfo{
                        name:             "camel.apache.org_integrations.yaml",

Reply via email to