Skip to content

Commit

Permalink
Fix: show IntegrationPlatform build stragegy field
Browse files Browse the repository at this point in the history
Fix #4485
  • Loading branch information
claudio4j committed Jun 21, 2023
1 parent b0a0af7 commit f3b8f22
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helm/camel-k/crds/crd-integration-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/camel/v1/integrationplatform_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/resources.go

Large diffs are not rendered by default.

0 comments on commit f3b8f22

Please sign in to comment.