chore: Deprecate CheCluster API v1 (#1456)

* chore: Deprecate CheCluster API v1

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Update warning message

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
pull/1459/head
Anatolii Bazko 2022-07-26 09:06:40 +03:00 committed by GitHub
parent c00dd0d6da
commit d6f5dbd7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 26 additions and 9 deletions

View File

@ -876,6 +876,7 @@ type CheClusterStatus struct {
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:deprecatedversion:warning="org.eclipse.che/v1 CheCluster is deprecated and will be removed in future releases"
// +k8s:openapi-gen=true
// +operator-sdk:csv:customresourcedefinitions:displayName="Eclipse Che instance Specification"
// +operator-sdk:csv:customresourcedefinitions:order=1

View File

@ -76,7 +76,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che-preview-openshift.v7.52.0-626.next
name: eclipse-che-preview-openshift.v7.52.0-627.next
namespace: placeholder
spec:
apiservicedefinitions: {}
@ -1390,7 +1390,7 @@ spec:
maturity: stable
provider:
name: Eclipse Foundation
version: 7.52.0-626.next
version: 7.52.0-627.next
webhookdefinitions:
- admissionReviewVersions:
- v1

View File

@ -42,7 +42,10 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be
removed in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing

View File

@ -27,7 +27,10 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be removed
in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing

View File

@ -46,7 +46,9 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be removed in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing a Che server installation

View File

@ -41,7 +41,9 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be removed in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing a Che server installation

View File

@ -46,7 +46,9 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be removed in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing a Che server installation

View File

@ -41,7 +41,9 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be removed in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing a Che server installation

View File

@ -41,7 +41,9 @@ spec:
singular: checluster
scope: Namespaced
versions:
- name: v1
- deprecated: true
deprecationWarning: org.eclipse.che/v1 CheCluster is deprecated and will be removed in future releases
name: v1
schema:
openAPIV3Schema:
description: The `CheCluster` custom resource allows defining and managing a Che server installation