Skip to content

Commit

Permalink
chore(api): introduce itp shortname
Browse files Browse the repository at this point in the history
We need to deprecate IP as it is too generic and collide with many other CRs.
  • Loading branch information
squakez committed Nov 6, 2023
1 parent 528fd83 commit a3e2431
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
plural: integrationplatforms
shortNames:
- ip
- itp
singular: integrationplatform
scope: Namespaced
versions:
Expand Down
1 change: 1 addition & 0 deletions helm/camel-k/crds/crd-integration-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
plural: integrationplatforms
shortNames:
- ip
- itp
singular: integrationplatform
scope: Namespaced
versions:
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 @@ -66,7 +66,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"
Expand Down

0 comments on commit a3e2431

Please sign in to comment.