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

Fix/fix module name #270

Merged
merged 1 commit into from
Feb 26, 2024
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
4 changes: 2 additions & 2 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: ipam
repo: github.com/onmetal/ipam
repo: github.com/ironcore-dev/ipam
resources:
- api:
crdVersion: v1
Expand All @@ -13,7 +13,7 @@ resources:
domain: onmetal.de
group: ipam
kind: Ip
path: github.com/onmetal/ipam/api/v1alpha1
path: github.com/ironcore-dev/ipam/api/v1alpha1
version: v1alpha1
webhooks:
defaulting: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To find out more, please refer to:
## Contributing

We`d love to get a feedback from you.
Please report bugs, suggestions or post question by opening a [Github issue](https://github.com/onmetal/ipam/issues)
Please report bugs, suggestions or post question by opening a [Github issue](https://github.com/ironcore-dev/ipam/issues)

## License
[Apache License 2.0](LICENCE)
2 changes: 1 addition & 1 deletion clientset/clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"k8s.io/client-go/rest"
"k8s.io/client-go/util/flowcontrol"

"github.com/onmetal/ipam/clientset/v1alpha1"
"github.com/ironcore-dev/ipam/clientset/v1alpha1"
)

type Clientset interface {
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/client_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

machinev1alpha1 "github.com/onmetal/ipam/api/v1alpha1"
machinev1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/ip_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/watch"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("IP client", func() {
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/network_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/watch"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("Network client", func() {
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/networkcounter.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/networkcounter_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/watch"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("NetworkCounter client", func() {
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion clientset/v1alpha1/subnet_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"k8s.io/apimachinery/pkg/util/json"
"k8s.io/apimachinery/pkg/watch"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("Subnet client", func() {
Expand Down
2 changes: 1 addition & 1 deletion controllers/ip_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"k8s.io/client-go/tools/record"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"

"github.com/go-logr/logr"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
2 changes: 1 addition & 1 deletion controllers/ip_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion controllers/network_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

machinev1alpha1 "github.com/onmetal/ipam/api/v1alpha1"
machinev1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/network_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("Network controller", func() {
Expand Down
2 changes: 1 addition & 1 deletion controllers/networkcounter_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"

machinev1alpha1 "github.com/onmetal/ipam/api/v1alpha1"
machinev1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/networkcounter_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("NetworkCounter controller", func() {
Expand Down
2 changes: 1 addition & 1 deletion controllers/subnet_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion controllers/subnet_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
)

var _ = Describe("Subnet controller", func() {
Expand Down
2 changes: 1 addition & 1 deletion controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

"github.com/onmetal/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/api/v1alpha1"
// +kubebuilder:scaffold:imports
)

Expand Down
8 changes: 4 additions & 4 deletions docs/consuming_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"

apiv1alpha1 "github.com/onmetal/ipam/api/v1alpha1"
clientv1alpha1 "github.com/onmetal/ipam/clientset"
apiv1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1"
clientv1alpha1 "github.com/ironcore-dev/ipam/clientset"
)

func inbound() error {
Expand Down Expand Up @@ -74,8 +74,8 @@ import (

"k8s.io/client-go/kubernetes/scheme"

apiv1alpha1 "github.com/onmetal/ipam/api/v1alpha1"
clientv1alpha1 "github.com/onmetal/ipam/clientset"
apiv1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1"
clientv1alpha1 "github.com/ironcore-dev/ipam/clientset"
)

func outbound() error {
Expand Down
4 changes: 2 additions & 2 deletions docs/contribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The Gardener on Metal project uses Github to manage reviews of pull requests.
address (with @...) a suitable maintainer of this repository in the description of the pull request.

* If you plan to do something more involved, first discuss your ideas by creating an
[issue](https://github.com/onmetal/ipam/issues) for this repository. This will avoid unnecessary work and surely give you
[issue](https://github.com/ironcore-dev/ipam/issues) for this repository. This will avoid unnecessary work and surely give you
and us a good deal of inspiration.

> Please follow these style guidelines to have your contribution considered by the maintainers:
Expand Down Expand Up @@ -107,4 +107,4 @@ for a review in the pull request or a comment.
We use GitHub issues to track bugs and enhancement requests. Please provide as much context as possible when you open an issue. The information you provide must be comprehensive enough to understand, reproduce the behavior and find related reports of that issue for the assignee.
Therefore, contributors may use but aren't restricted to the issue template provided by the Gardener on Metal maintainers.

Issues and pull requests are tracked in the [backlog](https://github.com/onmetal/ipam/projects) for this project.
Issues and pull requests are tracked in the [backlog](https://github.com/ironcore-dev/ipam/projects) for this project.
40 changes: 20 additions & 20 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ Spec:
```

Examples:
- [empty network](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_network.yaml);
- [network with VXLAN ID request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_vxlan_network.yaml);
- [network with GENEVE ID request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_geneve_network.yaml);
- [network with MPLS ID request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_mpls_network.yaml).
- [empty network](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_network.yaml);
- [network with VXLAN ID request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_vxlan_network.yaml);
- [network with GENEVE ID request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_geneve_network.yaml);
- [network with MPLS ID request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_mpls_network.yaml).

## Subnets

Expand Down Expand Up @@ -252,14 +252,14 @@ Status:
```

Examples:
- [IPv4 parent (top level) subnet](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_parent_cidr_subnet.yaml);
- [IPv4 child subnet with CIDR set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_cidr_subnet.yaml);
- [IPv4 child subnet with CIDR requested by network prefix bits](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_bits_subnet.yaml);
- [IPv4 child subnet with CIDR requested by address capacity](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_capacity_subnet.yaml);
- [IPv6 parent (top level) subnet](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_parent_cidr_subnet.yaml);
- [IPv6 child subnet with CIDR set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_cidr_subnet.yaml);
- [IPv6 child subnet with CIDR requested by network prefix bits](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_bits_subnet.yaml);
- [IPv6 child subnet with CIDR requested by address capacity](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_capacity_subnet.yaml);
- [IPv4 parent (top level) subnet](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_parent_cidr_subnet.yaml);
- [IPv4 child subnet with CIDR set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_cidr_subnet.yaml);
- [IPv4 child subnet with CIDR requested by network prefix bits](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_bits_subnet.yaml);
- [IPv4 child subnet with CIDR requested by address capacity](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_child_capacity_subnet.yaml);
- [IPv6 parent (top level) subnet](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_parent_cidr_subnet.yaml);
- [IPv6 child subnet with CIDR set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_cidr_subnet.yaml);
- [IPv6 child subnet with CIDR requested by network prefix bits](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_bits_subnet.yaml);
- [IPv6 child subnet with CIDR requested by address capacity](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_child_capacity_subnet.yaml);

## IPs

Expand Down Expand Up @@ -325,11 +325,11 @@ Status:
```

Examples:
- [IPv4 IP request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip.yaml);
- [IPv4 IP request with reference to related resource](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_ip.yaml);
- [IPv4 IP request with IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip_ip.yaml);
- [IPv4 IP request with reference to related resource and IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_and_ip_ip.yaml);
- [IPv6 IP request](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip.yaml);
- [IPv6 IP request with reference to related resource](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_ip.yaml);
- [IPv6 IP request with IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip_ip.yaml);
- [IPv6 IP request with reference to related resource and IP set explicitly](https://github.com/onmetal/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_and_ip_ip.yaml);
- [IPv4 IP request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip.yaml);
- [IPv4 IP request with reference to related resource](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_ip.yaml);
- [IPv4 IP request with IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_ip_ip.yaml);
- [IPv4 IP request with reference to related resource and IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv4_resource_and_ip_ip.yaml);
- [IPv6 IP request](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip.yaml);
- [IPv6 IP request with reference to related resource](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_ip.yaml);
- [IPv6 IP request with IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_ip_ip.yaml);
- [IPv6 IP request with reference to related resource and IP set explicitly](https://github.com/ironcore-dev/ipam/blob/main/config/samples/ipam_v1alpha1_ipv6_resource_and_ip_ip.yaml);
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/onmetal/ipam
module github.com/ironcore-dev/ipam

go 1.21

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log/zap"
metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"

ipamv1alpha1 "github.com/onmetal/ipam/api/v1alpha1"
"github.com/onmetal/ipam/controllers"
ipamv1alpha1 "github.com/ironcore-dev/ipam/api/v1alpha1"
"github.com/ironcore-dev/ipam/controllers"
// +kubebuilder:scaffold:imports
)

Expand Down
Loading