Skip to content

Commit

Permalink
Merge pull request #11 from Kuadrant/update-internal-links
Browse files Browse the repository at this point in the history
fix internal links: 3scale -> kuadrant
  • Loading branch information
eguzki authored Sep 28, 2021
2 parents 53f6fb2 + e06001a commit 6b8fa93
Show file tree
Hide file tree
Showing 32 changed files with 117 additions and 73 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
# This variable is used to construct full image tags for bundle and catalog images.
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# 3scale.net/limitador-operator-bundle:$VERSION and 3scale.net/limitador-operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= 3scale.net/limitador-operator
# kuadrant.io/limitador-operator-bundle:$VERSION and kuadrant.io/limitador-operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= https://quay.io/repository/3scale/limitador-operator

# BUNDLE_IMG defines the image:tag used for the bundle.
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
Expand Down
16 changes: 8 additions & 8 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
domain: 3scale.net
domain: kuadrant.io
layout:
- go.kubebuilder.io/v3
plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: limitador-operator
repo: github.com/3scale/limitador-operator
repo: github.com/kuadrant/limitador-operator
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: 3scale.net
group: limitador.3scale.net
domain: kuadrant.io
group: limitador.kuadrant.io
kind: Limitador
path: github.com/3scale/limitador-operator/api/v1alpha1
path: github.com/kuadrant/limitador-operator/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: 3scale.net
group: limitador.3scale.net
domain: kuadrant.io
group: limitador.kuadrant.io
kind: RateLimit
path: github.com/3scale/limitador-operator/api/v1alpha1
path: github.com/kuadrant/limitador-operator/api/v1alpha1
version: v1alpha1
version: "3"
4 changes: 2 additions & 2 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package v1alpha1 contains API Schema definitions for the limitador v1alpha1 API group
//+kubebuilder:object:generate=true
//+groupName=limitador.3scale.net
//+groupName=limitador.kuadrant.io
package v1alpha1

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

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "limitador.3scale.net", Version: "v1alpha1"}
GroupVersion = schema.GroupVersion{Group: "limitador.kuadrant.io", Version: "v1alpha1"}

// 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 @@ -6,9 +6,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: limitadors.limitador.3scale.net
name: limitadors.limitador.kuadrant.io
spec:
group: limitador.3scale.net
group: limitador.kuadrant.io
names:
kind: Limitador
listKind: LimitadorList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: ratelimits.limitador.3scale.net
name: ratelimits.limitador.kuadrant.io
spec:
group: limitador.3scale.net
group: limitador.kuadrant.io
names:
kind: RateLimit
listKind: RateLimitList
Expand Down
4 changes: 2 additions & 2 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/limitador.3scale.net_ratelimits.yaml
- bases/limitador.3scale.net_limitadors.yaml
- bases/limitador.kuadrant.io_ratelimits.yaml
- bases/limitador.kuadrant.io_limitadors.yaml
#+kubebuilder:scaffold:crdkustomizeresource

patchesStrategicMerge:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/patches/cainjection_in_limitadors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: limitadors.limitador.3scale.net
name: limitadors.limitador.kuadrant.io
2 changes: 1 addition & 1 deletion config/crd/patches/cainjection_in_ratelimits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
name: ratelimits.limitador.3scale.net
name: ratelimits.limitador.kuadrant.io
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_limitadors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: limitadors.limitador.3scale.net
name: limitadors.limitador.kuadrant.io
spec:
conversion:
strategy: Webhook
Expand Down
2 changes: 1 addition & 1 deletion config/crd/patches/webhook_in_ratelimits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: ratelimits.limitador.3scale.net
name: ratelimits.limitador.kuadrant.io
spec:
conversion:
strategy: Webhook
Expand Down
2 changes: 1 addition & 1 deletion config/manager/controller_manager_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ webhook:
port: 9443
leaderElection:
leaderElect: true
resourceName: 3745a16e.3scale.net
resourceName: 3745a16e.kuadrant.io
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: '[]'
capabilities: Basic Install
name: limitador-operator.v0.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions: {}
description: The Limitador operator installs and maintains limitador instances as well as rate limit objects.
displayName: Limitador
icon:
- base64data: ""
mediatype: ""
install:
spec:
deployments: null
strategy: ""
installModes:
- supported: false
type: OwnNamespace
- supported: false
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
keywords:
- api
- rate-limit
links:
- name: Limitador Operator
url: https://limitador-operator.domain
maintainers:
- email: [email protected]
name: eguzki
maturity: alpha
provider:
name: Red Hat
url: https://github.com/Kuadrant/limitador-operator
version: 0.0.0
4 changes: 2 additions & 2 deletions config/rbac/limitador_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: limitador-editor-role
rules:
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/limitador_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: limitador-viewer-role
rules:
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors
verbs:
- get
- list
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/ratelimit_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: ratelimit-editor-role
rules:
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits
verbs:
Expand All @@ -17,7 +17,7 @@ rules:
- update
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/ratelimit_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ metadata:
name: ratelimit-viewer-role
rules:
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits
verbs:
- get
- list
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits/status
verbs:
Expand Down
12 changes: 6 additions & 6 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rules:
- update
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors
verbs:
Expand All @@ -41,21 +41,21 @@ rules:
- update
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors/finalizers
verbs:
- update
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- limitadors/status
verbs:
- get
- patch
- update
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits
verbs:
Expand All @@ -67,13 +67,13 @@ rules:
- update
- watch
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits/finalizers
verbs:
- update
- apiGroups:
- limitador.3scale.net
- limitador.kuadrant.io
resources:
- ratelimits/status
verbs:
Expand Down
2 changes: 1 addition & 1 deletion config/samples/limitador_v1alpha1_limitador.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: limitador.3scale.net/v1alpha1
apiVersion: limitador.kuadrant.io/v1alpha1
kind: Limitador
metadata:
name: limitador-sample
Expand Down
2 changes: 1 addition & 1 deletion config/samples/limitador_v1alpha1_ratelimit.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: limitador.3scale.net/v1alpha1
apiVersion: limitador.kuadrant.io/v1alpha1
kind: RateLimit
metadata:
name: ratelimit-sample
Expand Down
12 changes: 6 additions & 6 deletions controllers/limitador_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ import (
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"

limitadorv1alpha1 "github.com/3scale/limitador-operator/api/v1alpha1"
"github.com/3scale/limitador-operator/pkg/limitador"
"github.com/3scale/limitador-operator/pkg/reconcilers"
limitadorv1alpha1 "github.com/kuadrant/limitador-operator/api/v1alpha1"
"github.com/kuadrant/limitador-operator/pkg/limitador"
"github.com/kuadrant/limitador-operator/pkg/reconcilers"
)

// LimitadorReconciler reconciles a Limitador object
type LimitadorReconciler struct {
*reconcilers.BaseReconciler
}

//+kubebuilder:rbac:groups=limitador.3scale.net,resources=limitadors,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=limitador.3scale.net,resources=limitadors/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=limitador.3scale.net,resources=limitadors/finalizers,verbs=update
//+kubebuilder:rbac:groups=limitador.kuadrant.io,resources=limitadors,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=limitador.kuadrant.io,resources=limitadors/status,verbs=get;update;patch
//+kubebuilder:rbac:groups=limitador.kuadrant.io,resources=limitadors/finalizers,verbs=update
//+kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;create;update;delete
//+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;delete

Expand Down
9 changes: 5 additions & 4 deletions controllers/limitador_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package controllers

import (
"context"
"time"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
appsv1 "k8s.io/api/apps/v1"
Expand All @@ -11,10 +13,9 @@ import (
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/uuid"
"sigs.k8s.io/controller-runtime/pkg/client"
"time"

limitadorv1alpha1 "github.com/3scale/limitador-operator/api/v1alpha1"
"github.com/3scale/limitador-operator/pkg/limitador"
limitadorv1alpha1 "github.com/kuadrant/limitador-operator/api/v1alpha1"
"github.com/kuadrant/limitador-operator/pkg/limitador"
)

var _ = Describe("Limitador controller", func() {
Expand All @@ -37,7 +38,7 @@ var _ = Describe("Limitador controller", func() {
return &limitadorv1alpha1.Limitador{
TypeMeta: metav1.TypeMeta{
Kind: "Limitador",
APIVersion: "limitador.3scale.net/v1alpha1",
APIVersion: "limitador.kuadrant.io/v1alpha1",
},
ObjectMeta: metav1.ObjectMeta{
Name: name,
Expand Down
Loading

0 comments on commit 6b8fa93

Please sign in to comment.