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 31e0f39df chore(api): introduce itp shortname 31e0f39df is described below commit 31e0f39df9b0bd9fa50887f640a68c1062cd0f56 Author: Pasquale Congiusti <pasquale.congiu...@gmail.com> AuthorDate: Mon Nov 6 13:28:58 2023 +0100 chore(api): introduce itp shortname We need to deprecate IP as it is too generic and collide with many other CRs. --- config/crd/bases/camel.apache.org_integrationplatforms.yaml | 1 + helm/camel-k/crds/crd-integration-platform.yaml | 1 + pkg/apis/camel/v1/integrationplatform_types.go | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml b/config/crd/bases/camel.apache.org_integrationplatforms.yaml index 6863418a3..9d882a46b 100644 --- a/config/crd/bases/camel.apache.org_integrationplatforms.yaml +++ b/config/crd/bases/camel.apache.org_integrationplatforms.yaml @@ -35,6 +35,7 @@ spec: plural: integrationplatforms shortNames: - ip + - itp singular: integrationplatform scope: Namespaced versions: diff --git a/helm/camel-k/crds/crd-integration-platform.yaml b/helm/camel-k/crds/crd-integration-platform.yaml index 6863418a3..9d882a46b 100644 --- a/helm/camel-k/crds/crd-integration-platform.yaml +++ b/helm/camel-k/crds/crd-integration-platform.yaml @@ -35,6 +35,7 @@ spec: plural: integrationplatforms shortNames: - ip + - itp singular: integrationplatform scope: Namespaced versions: diff --git a/pkg/apis/camel/v1/integrationplatform_types.go b/pkg/apis/camel/v1/integrationplatform_types.go index 9eeaff083..8f5dea268 100644 --- a/pkg/apis/camel/v1/integrationplatform_types.go +++ b/pkg/apis/camel/v1/integrationplatform_types.go @@ -64,7 +64,7 @@ type IntegrationPlatformStatus struct { // +genclient // +kubebuilder:object:root=true -// +kubebuilder:resource:path=integrationplatforms,scope=Namespaced,shortName=ip,categories=kamel;camel +// +kubebuilder:resource:path=integrationplatforms,scope=Namespaced,shortName=ip;itp,categories=kamel;camel // +kubebuilder:subresource:status // +kubebuilder:storageversion // +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`,description="The integration platform phase"