Skip to content

Commit

Permalink
Remove the cluster config manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
giorio94 committed Sep 9, 2021
1 parent 5fe317e commit a96a7a8
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 150 deletions.
72 changes: 0 additions & 72 deletions deployments/liqo/crds/config.liqo.io_clusterconfigs.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions deployments/liqo/files/liqo-auth-ClusterRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ rules:
- signers
verbs:
- approve
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- create
- get
- list
- watch
- apiGroups:
- ""
resourceNames:
Expand Down
12 changes: 0 additions & 12 deletions deployments/liqo/files/liqo-controller-manager-ClusterRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,6 @@ rules:
- signers
verbs:
- approve
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- coordination.k8s.io
resources:
Expand Down
8 changes: 0 additions & 8 deletions deployments/liqo/files/liqo-crd-replicator-ClusterRole.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
rules:
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down
9 changes: 0 additions & 9 deletions deployments/liqo/files/liqo-discovery-ClusterRole.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
rules:
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- create
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down
12 changes: 0 additions & 12 deletions deployments/liqo/files/liqo-network-manager-ClusterRole.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
rules:
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand Down
10 changes: 0 additions & 10 deletions deployments/liqo/files/liqo-pre-delete-ClusterRole.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
rules:
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand Down
12 changes: 0 additions & 12 deletions deployments/liqo/files/liqo-route-ClusterRole.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
rules:
- apiGroups:
- config.liqo.io
resources:
- clusterconfigs
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand Down
1 change: 0 additions & 1 deletion internal/auth-service/auth-service.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import (
// +kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;list;watch;create
// +kubebuilder:rbac:groups=core,resourceNames="aws-auth",resources=configmaps,verbs=get;update
// +kubebuilder:rbac:groups=rbac.authorization.k8s.io,resources=clusterroles,verbs=get;list;watch
// +kubebuilder:rbac:groups=config.liqo.io,resources=clusterconfigs,verbs=get;list;watch;create
// +kubebuilder:rbac:groups=certificates.k8s.io,resources=certificatesigningrequests,verbs=get;create;list;watch
// +kubebuilder:rbac:groups=certificates.k8s.io,resources=certificatesigningrequests/approval,verbs=update
// +kubebuilder:rbac:groups=certificates.k8s.io,resources=signers,verbs=approve
Expand Down
1 change: 0 additions & 1 deletion internal/crdReplicator/crdReplicator-operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ type Controller struct {
// +kubebuilder:rbac:groups=discovery.liqo.io,resources=foreignclusters/status,verbs=get
// +kubebuilder:rbac:groups=net.liqo.io,resources=networkconfigs,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=net.liqo.io,resources=networkconfigs/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=config.liqo.io,resources=clusterconfigs,verbs=get;list;watch
// role
// +kubebuilder:rbac:groups=core,namespace="do-not-care",resources=secrets,verbs=get;list
// +kubebuilder:rbac:groups=core,namespace="do-not-care",resources=configmaps,verbs=get;list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ type ForeignClusterReconciler struct {
// +kubebuilder:rbac:groups=discovery.liqo.io,resources=searchdomains,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=discovery.liqo.io,resources=peeringrequests,verbs=get;list;watch
// +kubebuilder:rbac:groups=discovery.liqo.io,resources=resourcerequests,verbs=get;list;watch;create;update;patch;delete;deletecollection
// +kubebuilder:rbac:groups=config.liqo.io,resources=clusterconfigs,verbs=get;list;watch;create
// +kubebuilder:rbac:groups=net.liqo.io,resources=networkconfigs,verbs=*
// +kubebuilder:rbac:groups=net.liqo.io,resources=networkconfigs/status,verbs=*
// +kubebuilder:rbac:groups=net.liqo.io,resources=tunnelendpoints,verbs=get;list;watch
Expand Down
1 change: 0 additions & 1 deletion internal/liqonet/route-operator/routeOperator.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ func NewRouteController(podIP string, vxlanDevice *overlay.VxlanDevice, router l
// cluster-role
// +kubebuilder:rbac:groups=net.liqo.io,resources=tunnelendpoints,verbs=get;list;watch;update;patch
// +kubebuilder:rbac:groups=net.liqo.io,resources=tunnelendpoints/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=config.liqo.io,resources=clusterconfigs,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=events,verbs=create;patch
// +kubebuilder:rbac:groups=core,resources=nodes,verbs=get
// role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ type TunnelEndpointCreator struct {
// +kubebuilder:rbac:groups=net.liqo.io,resources=natmappings,verbs=get;list;create;update;patch;delete;watch
// +kubebuilder:rbac:groups=discovery.liqo.io,resources=foreignclusters,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=discovery.liqo.io,resources=foreignclusters/status,verbs=get;update;patch
// +kubebuilder:rbac:groups=config.liqo.io,resources=clusterconfigs,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=core,resources=nodes,verbs=get;list;watch
// +kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;create;update;patch;delete
// role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const (
// cluster-role
// +kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;watch;list
// +kubebuilder:rbac:groups=offloading.liqo.io,resources=namespaceoffloadings,verbs=get;watch;list;create;delete
// +kubebuilder:rbac:groups=config.liqo.io,resources=clusterconfigs,verbs=get;list;watch;create;update;patch;delete

// needed to be granted to other operators
// +kubebuilder:rbac:groups=sharing.liqo.io,resources=advertisements,verbs=delete;get;list;patch;update;watch
Expand Down

0 comments on commit a96a7a8

Please sign in to comment.