You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/04/26 08:51:23 UTC
[camel-k] 07/18: chore: add deprecated notice
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
commit 4573f37876456836a2c8e9cbe8531c1685c80d0f
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Mar 29 11:35:17 2023 +0200
chore: add deprecated notice
---
config/crd/bases/camel.apache.org_kameletbindings.yaml | 2 ++
config/crd/bases/camel.apache.org_kamelets.yaml | 2 ++
helm/camel-k/crds/crd-kamelet-binding.yaml | 2 ++
helm/camel-k/crds/crd-kamelet.yaml | 2 ++
pkg/apis/camel/v1alpha1/kamelet_binding_types.go | 1 +
pkg/apis/camel/v1alpha1/kamelet_types.go | 1 +
6 files changed, 10 insertions(+)
diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/config/crd/bases/camel.apache.org_kameletbindings.yaml
index bbec3c111..ede33f2ba 100644
--- a/config/crd/bases/camel.apache.org_kameletbindings.yaml
+++ b/config/crd/bases/camel.apache.org_kameletbindings.yaml
@@ -47,6 +47,8 @@ spec:
jsonPath: .status.replicas
name: Replicas
type: integer
+ deprecated: true
+ deprecationWarning: v1apha1 is deprecated, please, use v1 instead
name: v1alpha1
schema:
openAPIV3Schema:
diff --git a/config/crd/bases/camel.apache.org_kamelets.yaml b/config/crd/bases/camel.apache.org_kamelets.yaml
index 9eae88378..223b9b01d 100644
--- a/config/crd/bases/camel.apache.org_kamelets.yaml
+++ b/config/crd/bases/camel.apache.org_kamelets.yaml
@@ -750,6 +750,8 @@ spec:
jsonPath: .status.phase
name: Phase
type: string
+ deprecated: true
+ deprecationWarning: v1apha1 is deprecated, please, use v1 instead
name: v1alpha1
schema:
openAPIV3Schema:
diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml
index bbec3c111..ede33f2ba 100644
--- a/helm/camel-k/crds/crd-kamelet-binding.yaml
+++ b/helm/camel-k/crds/crd-kamelet-binding.yaml
@@ -47,6 +47,8 @@ spec:
jsonPath: .status.replicas
name: Replicas
type: integer
+ deprecated: true
+ deprecationWarning: v1apha1 is deprecated, please, use v1 instead
name: v1alpha1
schema:
openAPIV3Schema:
diff --git a/helm/camel-k/crds/crd-kamelet.yaml b/helm/camel-k/crds/crd-kamelet.yaml
index 9eae88378..223b9b01d 100644
--- a/helm/camel-k/crds/crd-kamelet.yaml
+++ b/helm/camel-k/crds/crd-kamelet.yaml
@@ -750,6 +750,8 @@ spec:
jsonPath: .status.phase
name: Phase
type: string
+ deprecated: true
+ deprecationWarning: v1apha1 is deprecated, please, use v1 instead
name: v1alpha1
schema:
openAPIV3Schema:
diff --git a/pkg/apis/camel/v1alpha1/kamelet_binding_types.go b/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
index 4659505a4..c529abf06 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_binding_types.go
@@ -27,6 +27,7 @@ import (
)
// +genclient
+// +kubebuilder:deprecatedversion:warning="v1apha1 is deprecated, please, use v1 instead"
// +kubebuilder:object:root=true
// +kubebuilder:resource:path=kameletbindings,scope=Namespaced,shortName=klb,categories=kamel;camel
// +kubebuilder:subresource:status
diff --git a/pkg/apis/camel/v1alpha1/kamelet_types.go b/pkg/apis/camel/v1alpha1/kamelet_types.go
index 0dba0c9ab..ec4c0a6b7 100644
--- a/pkg/apis/camel/v1alpha1/kamelet_types.go
+++ b/pkg/apis/camel/v1alpha1/kamelet_types.go
@@ -54,6 +54,7 @@ var (
)
// +genclient
+// +kubebuilder:deprecatedversion:warning="v1apha1 is deprecated, please, use v1 instead"
// +kubebuilder:object:root=true
// +kubebuilder:resource:path=kamelets,scope=Namespaced,shortName=kl,categories=kamel;camel
// +kubebuilder:subresource:status