From 12d8a8ac334463f402a04835ae366078cbdf81ca Mon Sep 17 00:00:00 2001 From: Elliott Baron Date: Mon, 10 Jun 2024 10:59:31 -0400 Subject: [PATCH] chore(api): deprecate v1beta1 API version (#880) --- api/v1beta1/cryostat_types.go | 1 + bundle/manifests/cryostat-operator.clusterserviceversion.yaml | 2 +- bundle/manifests/operator.cryostat.io_cryostats.yaml | 2 ++ config/crd/bases/operator.cryostat.io_cryostats.yaml | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/api/v1beta1/cryostat_types.go b/api/v1beta1/cryostat_types.go index b9f51a95..fd06ecd5 100644 --- a/api/v1beta1/cryostat_types.go +++ b/api/v1beta1/cryostat_types.go @@ -425,6 +425,7 @@ type JmxCacheOptions struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status // +kubebuilder:resource:path=cryostats,scope=Namespaced +// +kubebuilder:deprecatedversion:warning="use v1beta2 API version" // Cryostat allows you to install Cryostat for a single namespace. // It contains configuration options for controlling the Deployment of the Cryostat diff --git a/bundle/manifests/cryostat-operator.clusterserviceversion.yaml b/bundle/manifests/cryostat-operator.clusterserviceversion.yaml index 6b35f22e..cd7445b2 100644 --- a/bundle/manifests/cryostat-operator.clusterserviceversion.yaml +++ b/bundle/manifests/cryostat-operator.clusterserviceversion.yaml @@ -30,7 +30,7 @@ metadata: capabilities: Seamless Upgrades categories: Monitoring, Developer Tools containerImage: quay.io/cryostat/cryostat-operator:4.0.0-dev - createdAt: "2024-06-10T06:01:52Z" + createdAt: "2024-06-10T14:47:15Z" description: JVM monitoring and profiling tool operatorframework.io/initialization-resource: |- { diff --git a/bundle/manifests/operator.cryostat.io_cryostats.yaml b/bundle/manifests/operator.cryostat.io_cryostats.yaml index 0ac21c7e..6135ef50 100644 --- a/bundle/manifests/operator.cryostat.io_cryostats.yaml +++ b/bundle/manifests/operator.cryostat.io_cryostats.yaml @@ -32,6 +32,8 @@ spec: - jsonPath: .status.grafanaSecret name: Grafana Secret type: string + deprecated: true + deprecationWarning: use v1beta2 API version name: v1beta1 schema: openAPIV3Schema: diff --git a/config/crd/bases/operator.cryostat.io_cryostats.yaml b/config/crd/bases/operator.cryostat.io_cryostats.yaml index 2ff5d7e4..0c226ae8 100644 --- a/config/crd/bases/operator.cryostat.io_cryostats.yaml +++ b/config/crd/bases/operator.cryostat.io_cryostats.yaml @@ -21,6 +21,8 @@ spec: - jsonPath: .status.grafanaSecret name: Grafana Secret type: string + deprecated: true + deprecationWarning: use v1beta2 API version name: v1beta1 schema: openAPIV3Schema: