Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multicasskop fixes #29

Merged
merged 1 commit into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
domain: db.orange.com
layout: go.kubebuilder.io/v2
repo: github.com/cscetbon/casskop
resources:
- group: db.orange.com
kind: CassandraBackup
version: v2
- group: db.orange.com
kind: CassandraCluster
version: v2
- group: db.orange.com
kind: CassandraRestore
version: v2
version: 3-alpha
plugins:
go.operator-sdk.io/v2-alpha: {}
4 changes: 4 additions & 0 deletions multi-casskop/PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ domain: multicasskops.db.orange.com
layout: go.kubebuilder.io/v2
repo: github.com/cscetbon/casskop
version: 3-alpha
resources:
- group: db.orange.com
kind: MultiCasskop
version: v2
plugins:
go.operator-sdk.io/v2-alpha: {}
4 changes: 2 additions & 2 deletions multi-casskop/api/v2/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package v2 contains API Schema definitions for the multicasskops.db.orange.com v2 API group
// +kubebuilder:object:generate=true
// +groupName=multicasskops.db.orange.com.multicasskops.db.orange.com
// +groupName=multicasskops.db.orange.com
package v2

import (
Expand All @@ -26,7 +26,7 @@ import (

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "multicasskops.db.orange.com.multicasskops.db.orange.com", Version: "v2"}
GroupVersion = schema.GroupVersion{Group: "multicasskops.db.orange.com", Version: "v2"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
storage: false
- name: v2
served: true
storage: true
storage: true
2 changes: 1 addition & 1 deletion multi-casskop/config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/multicasskops.db.orange.com.multicasskops.db.orange.com_multicasskops.yaml
- bases/multicasskops.db.orange.com_multicasskops.yaml
# +kubebuilder:scaffold:crdkustomizeresource

patchesStrategicMerge:
Expand Down

This file was deleted.

17 changes: 0 additions & 17 deletions multi-casskop/config/crd/patches/webhook_in_multicasskops.yaml

This file was deleted.

1 change: 0 additions & 1 deletion multi-casskop/config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace: multi-casskop-system
# "wordpress" becomes "alices-wordpress".
# Note that it should also match with the prefix (text before '-') of the namespace
# field above.
namePrefix: multi-casskop-

# Labels to add to all resources and selectors.
#commonLabels:
Expand Down
25 changes: 0 additions & 25 deletions multi-casskop/config/default/manager_auth_proxy_patch.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions multi-casskop/config/default/manager_webhook_patch.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions multi-casskop/config/default/webhookcainjection_patch.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions multi-casskop/config/rbac/auth_proxy_client_clusterrole.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions multi-casskop/config/rbac/auth_proxy_role.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions multi-casskop/config/rbac/auth_proxy_role_binding.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions multi-casskop/config/rbac/auth_proxy_service.yaml

This file was deleted.

10 changes: 1 addition & 9 deletions multi-casskop/config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
resources:
- role.yaml
- role_binding.yaml
- leader_election_role.yaml
- leader_election_role_binding.yaml
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
# which protects your /metrics endpoint.
- auth_proxy_service.yaml
- auth_proxy_role.yaml
- auth_proxy_role_binding.yaml
- auth_proxy_client_clusterrole.yaml
- service_account.yaml
33 changes: 0 additions & 33 deletions multi-casskop/config/rbac/leader_election_role.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions multi-casskop/config/rbac/leader_election_role_binding.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions multi-casskop/config/rbac/multicasskop_editor_role.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions multi-casskop/config/rbac/multicasskop_viewer_role.yaml

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions multi-casskop/config/webhook/kustomization.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions multi-casskop/config/webhook/kustomizeconfig.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions multi-casskop/config/webhook/service.yaml

This file was deleted.

Loading