Skip to content

Commit

Permalink
chore(api): deprecate v1beta1 API version (cryostatio#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaron authored Jun 10, 2024
1 parent 5415858 commit 12d8a8a
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: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: |-
{
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 12d8a8a

Please sign in to comment.