Skip to content

Commit

Permalink
Remove Deprecated fields since they are not compatible with k8s older…
Browse files Browse the repository at this point in the history
… than 1.19
  • Loading branch information
dvaldivia committed Feb 1, 2021
1 parent 27bff07 commit 032cc71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions operator-kustomize/base/crds/minio.min.io_tenants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ spec:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
deprecated: true
deprecationWarning: This version is deprecated in favor of minio.min.io/v2
name: v1
schema:
openAPIV3Schema:
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/minio.min.io/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
// +kubebuilder:resource:scope=Namespaced,shortName=tenant,singular=tenant
// +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.currentState"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:deprecated:warning="This version is deprecated in favor of minio.min.io/v2"

// Tenant is a specification for a MinIO resource
type Tenant struct {
Expand Down

0 comments on commit 032cc71

Please sign in to comment.