Skip to content

Commit 0fa5500

Browse files
committed
refactor(go): Change module name
Replace module path github.com/kubewarden/kubewarden-controller with github.com/kubewarden/adm-controller following repo rename. Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
1 parent 92bcf07 commit 0fa5500

57 files changed

Lines changed: 113 additions & 113 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/policies/v1/admissionpolicy_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
2424

2525
"github.com/go-logr/logr"
26-
"github.com/kubewarden/kubewarden-controller/internal/constants"
26+
"github.com/kubewarden/adm-controller/internal/constants"
2727
)
2828

2929
// SetupWebhookWithManager registers the AdmissionPolicy webhook with the controller manager.

api/policies/v1/admissionpolicy_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
2424

25-
"github.com/kubewarden/kubewarden-controller/internal/constants"
25+
"github.com/kubewarden/adm-controller/internal/constants"
2626
)
2727

2828
func TestAdmissionPolicyDefault(t *testing.T) {

api/policies/v1/admissionpolicygroup_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
2424

2525
"github.com/go-logr/logr"
26-
"github.com/kubewarden/kubewarden-controller/internal/constants"
26+
"github.com/kubewarden/adm-controller/internal/constants"
2727
)
2828

2929
// SetupWebhookWithManager registers the AdmissionPolicyGroup webhook with the controller manager.

api/policies/v1/admissionpolicygroup_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
2525

26-
"github.com/kubewarden/kubewarden-controller/internal/constants"
26+
"github.com/kubewarden/adm-controller/internal/constants"
2727
)
2828

2929
func TestAdmissionPolicyGroupDefault(t *testing.T) {

api/policies/v1/clusteradmissionpolicy_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
ctrl "sigs.k8s.io/controller-runtime"
2525

2626
"github.com/go-logr/logr"
27-
"github.com/kubewarden/kubewarden-controller/internal/constants"
27+
"github.com/kubewarden/adm-controller/internal/constants"
2828
)
2929

3030
// SetupWebhookWithManager registers the ClusterAdmissionPolicy webhook with the controller manager.

api/policies/v1/clusteradmissionpolicy_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
2525

26-
"github.com/kubewarden/kubewarden-controller/internal/constants"
26+
"github.com/kubewarden/adm-controller/internal/constants"
2727
)
2828

2929
func TestClusterAdmissionPolicyDefault(t *testing.T) {

api/policies/v1/clusteradmissionpolicygroup_webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
ctrl "sigs.k8s.io/controller-runtime"
2525

2626
"github.com/go-logr/logr"
27-
"github.com/kubewarden/kubewarden-controller/internal/constants"
27+
"github.com/kubewarden/adm-controller/internal/constants"
2828
)
2929

3030
func (r *ClusterAdmissionPolicyGroup) SetupWebhookWithManager(mgr ctrl.Manager) error {

api/policies/v1/clusteradmissionpolicygroup_webhook_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/stretchr/testify/require"
2323
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
2424

25-
"github.com/kubewarden/kubewarden-controller/internal/constants"
25+
"github.com/kubewarden/adm-controller/internal/constants"
2626
)
2727

2828
func TestClusterAdmissionPolicyGroupDefault(t *testing.T) {

api/policies/v1/factories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1111
"k8s.io/apimachinery/pkg/util/intstr"
1212

13-
"github.com/kubewarden/kubewarden-controller/internal/constants"
13+
"github.com/kubewarden/adm-controller/internal/constants"
1414
)
1515

1616
const (

api/policies/v1/policyserver_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1
1818

1919
import (
20-
"github.com/kubewarden/kubewarden-controller/internal/constants"
20+
"github.com/kubewarden/adm-controller/internal/constants"
2121
corev1 "k8s.io/api/core/v1"
2222
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2323
"k8s.io/apimachinery/pkg/util/intstr"

0 commit comments

Comments
 (0)