Skip to content

Commit

Permalink
refactor: remove v1beta1 API version and migrate to v1beta2 (#1245)
Browse files Browse the repository at this point in the history
* refactor: remove v1beta1 API version and migrate to v1beta2

This commit removes the v1beta1 API version across the entire project, including:
- Deleting v1beta1 API type definitions
- Removing v1beta1 CRD configurations
- Updating example manifests to use v1beta2
- Cleaning up test suite configurations
- Updating documentation references

The migration focuses on consolidating the project to use only the v1beta2 API version, simplifying the codebase and reducing maintenance overhead.

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* fix

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* fix

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* fix

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

* fix

Signed-off-by: drivebyer <wuyangmuc@gmail.com>

---------

Signed-off-by: drivebyer <wuyangmuc@gmail.com>
  • Loading branch information
drivebyer authored Feb 20, 2025
1 parent 9acbd41 commit 7c91822
Show file tree
Hide file tree
Showing 96 changed files with 85 additions and 37,940 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ The structure for Redis operator includes different module's directory. The code
```shell
redis-operator/
|-- api
| |-- v1beta1
| |-- v1beta2
|-- bin
|-- config
| |-- certmanager
Expand Down
44 changes: 0 additions & 44 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ resources:
kind: Redis
path: redis-operator/api/v1beta2
version: v1beta2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
Expand All @@ -31,9 +28,6 @@ resources:
kind: RedisCluster
path: redis-operator/api/v1beta2
version: v1beta2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
controller: true
Expand All @@ -42,9 +36,6 @@ resources:
kind: RedisReplication
path: redis-operator/api/v1beta2
version: v1beta2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
controller: true
Expand All @@ -53,41 +44,6 @@ resources:
kind: RedisSentinel
path: redis-operator/api/v1beta2
version: v1beta2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: redis.opstreelabs.in
group: redis
kind: Redis
path: redis-operator/api/v1beta1
version: v1beta1
- api:
crdVersion: v1
namespaced: true
domain: redis.opstreelabs.in
group: redis
kind: RedisCluster
path: redis-operator/api/v1beta1
version: v1beta1
- api:
crdVersion: v1
namespaced: true
domain: redis.opstreelabs.in
group: redis
kind: RedisReplication
path: redis-operator/api/v1beta1
version: v1beta1
- api:
crdVersion: v1
namespaced: true
domain: redis.opstreelabs.in
group: redis
kind: RedisSentinel
path: redis-operator/api/v1beta1
version: v1beta1
- group: core
kind: Pod
path: k8s.io/api/core/v1
Expand Down
64 changes: 0 additions & 64 deletions api/v1beta1/common_types.go

This file was deleted.

36 changes: 0 additions & 36 deletions api/v1beta1/groupversion_info.go

This file was deleted.

168 changes: 0 additions & 168 deletions api/v1beta1/redis_conversion.go

This file was deleted.

Loading

0 comments on commit 7c91822

Please sign in to comment.