Skip to content

Commit

Permalink
chore(api): deprecate v1beta1 API version (backport #880) (#887)
Browse files Browse the repository at this point in the history
* chore(api): deprecate v1beta1 API version (#880)

(cherry picked from commit 12d8a8a)

# Conflicts:
#	bundle/manifests/cryostat-operator.clusterserviceversion.yaml

* Fix conflicts

---------

Co-authored-by: Elliott Baron <[email protected]>
  • Loading branch information
mergify[bot] and ebaron authored Jun 10, 2024
1 parent e7223b3 commit 54ca690
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/v1beta1/cryostat_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ metadata:
capabilities: Seamless Upgrades
categories: Monitoring, Developer Tools
containerImage: quay.io/cryostat/cryostat-operator:3.0.0-dev
createdAt: "2024-06-10T14:31:42Z"
createdAt: "2024-06-10T15:02:16Z"
description: JVM monitoring and profiling tool
operatorframework.io/initialization-resource: |-
{
Expand Down
2 changes: 2 additions & 0 deletions bundle/manifests/operator.cryostat.io_cryostats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
- jsonPath: .status.grafanaSecret
name: Grafana Secret
type: string
deprecated: true
deprecationWarning: use v1beta2 API version
name: v1beta1
schema:
openAPIV3Schema:
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/operator.cryostat.io_cryostats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
- jsonPath: .status.grafanaSecret
name: Grafana Secret
type: string
deprecated: true
deprecationWarning: use v1beta2 API version
name: v1beta1
schema:
openAPIV3Schema:
Expand Down

0 comments on commit 54ca690

Please sign in to comment.