Skip to content

Commit aa0b4d6

Browse files
authored
Switch all internal references from onmetal to ironcore (ironcore-dev#285)
1 parent 4484b09 commit aa0b4d6

File tree

58 files changed

+136
-136
lines changed

Some content is hidden

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

58 files changed

+136
-136
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ add-license: addlicense ## Add license headers to all go files.
5555

5656
.PHONY: check-license
5757
check-license: addlicense ## Check that every file has a license header present.
58-
find . -name '*.go' -exec $(ADDLICENSE) -check -c 'OnMetal authors' {} +
58+
find . -name '*.go' -exec $(ADDLICENSE) -check -c 'IronCore authors' {} +
5959

6060
.PHONY: lint
6161
lint: golangci-lint ## Run golangci-lint against code.

PROJECT

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
domain: onmetal.de
1+
domain: ironcore.dev
22
layout: go.kubebuilder.io/v3
33
plugins:
44
manifests.sdk.operatorframework.io/v2: {}
@@ -10,7 +10,7 @@ resources:
1010
crdVersion: v1
1111
namespaced: true
1212
controller: true
13-
domain: onmetal.de
13+
domain: ironcore.dev
1414
group: ipam
1515
kind: Ip
1616
path: github.com/ironcore-dev/ipam/api/ipam/v1alpha1

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IPAM
22
[![REUSE status](https://api.reuse.software/badge/github.com/ironcore-dev/ipam)](https://api.reuse.software/info/github.com/ironcore-dev/ipam)
3-
[![Go Reference](https://pkg.go.dev/badge/github.com/onmetal/controller-utils.svg)](https://pkg.go.dev/github.com/onmetal/controller-utils)
3+
[![Go Reference](https://pkg.go.dev/badge/github.com/ironcore-dev/controller-utils.svg)](https://pkg.go.dev/github.com/ironcore-dev/controller-utils)
44
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
55
[![GitHub License](https://img.shields.io/static/v1?label=License&message=Apache-2.0&color=blue&style=flat-square)](LICENSE)
66

api/ipam/v1alpha1/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// +k8s:deepcopy-gen=package
55
// +k8s:openapi-gen=true
6-
// +groupName=ipam.onmetal.de
6+
// +groupName=ipam.ironcore.dev
77

88
// Package v1alpha1 is the v1alpha1 version of the API.
99
package v1alpha1 // import "github.com/ironcore-dev/ipam/api/ipam/v1alpha1"

api/ipam/v1alpha1/groupversion_info.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// Package v1alpha1 contains API Schema definitions for the ipam v1alpha1 API group
55
// +kubebuilder:object:generate=true
6-
// +groupName=ipam.onmetal.de
6+
// +groupName=ipam.ironcore.dev
77
package v1alpha1
88

99
import (
@@ -13,7 +13,7 @@ import (
1313

1414
var (
1515
// SchemeGroupVersion is group version used to register these objects
16-
SchemeGroupVersion = schema.GroupVersion{Group: "ipam.onmetal.de", Version: "v1alpha1"}
16+
SchemeGroupVersion = schema.GroupVersion{Group: "ipam.ironcore.dev", Version: "v1alpha1"}
1717

1818
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
1919
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

api/ipam/v1alpha1/ip_webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func (in *IP) SetupWebhookWithManager(mgr ctrl.Manager) error {
3333
Complete()
3434
}
3535

36-
// +kubebuilder:webhook:path=/validate-ipam-onmetal-de-v1alpha1-ip,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.onmetal.de,resources=ips,verbs=create;update;delete,versions=v1alpha1,name=vip.kb.io,admissionReviewVersions={v1,v1beta1}
36+
// +kubebuilder:webhook:path=/validate-ipam-ironcore-dev-v1alpha1-ip,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.ironcore.dev,resources=ips,verbs=create;update;delete,versions=v1alpha1,name=vip.kb.io,admissionReviewVersions={v1,v1beta1}
3737

3838
var _ webhook.Validator = &IP{}
3939

api/ipam/v1alpha1/network_webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (in *Network) SetupWebhookWithManager(mgr ctrl.Manager) error {
2828
Complete()
2929
}
3030

31-
// +kubebuilder:webhook:path=/validate-ipam-onmetal-de-v1alpha1-network,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.onmetal.de,resources=networks,verbs=create;update;delete,versions=v1alpha1,name=vnetwork.kb.io,admissionReviewVersions={v1,v1beta1}
31+
// +kubebuilder:webhook:path=/validate-ipam-ironcore-dev-v1alpha1-network,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.ironcore.dev,resources=networks,verbs=create;update;delete,versions=v1alpha1,name=vnetwork.kb.io,admissionReviewVersions={v1,v1beta1}
3232

3333
var _ webhook.Validator = &Network{}
3434

api/ipam/v1alpha1/networkcounter_webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func (in *NetworkCounter) SetupWebhookWithManager(mgr ctrl.Manager) error {
2424
Complete()
2525
}
2626

27-
// +kubebuilder:webhook:path=/validate-ipam-onmetal-de-v1alpha1-networkcounter,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.onmetal.de,resources=networkcounters,verbs=create;update;delete,versions=v1alpha1,name=vnetworkcounter.kb.io,admissionReviewVersions={v1,v1beta1}
27+
// +kubebuilder:webhook:path=/validate-ipam-ironcore-dev-v1alpha1-networkcounter,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.ironcore.dev,resources=networkcounters,verbs=create;update;delete,versions=v1alpha1,name=vnetworkcounter.kb.io,admissionReviewVersions={v1,v1beta1}
2828

2929
var _ webhook.Validator = &NetworkCounter{}
3030

api/ipam/v1alpha1/subnet_webhook.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (in *Subnet) SetupWebhookWithManager(mgr ctrl.Manager) error {
8181
Complete()
8282
}
8383

84-
// +kubebuilder:webhook:path=/validate-ipam-onmetal-de-v1alpha1-subnet,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.onmetal.de,resources=subnets,verbs=create;update;delete,versions=v1alpha1,name=vsubnet.kb.io,admissionReviewVersions={v1,v1beta1}
84+
// +kubebuilder:webhook:path=/validate-ipam-ironcore-dev-v1alpha1-subnet,mutating=false,failurePolicy=fail,sideEffects=None,groups=ipam.ironcore.dev,resources=subnets,verbs=create;update;delete,versions=v1alpha1,name=vsubnet.kb.io,admissionReviewVersions={v1,v1beta1}
8585

8686
var _ webhook.Validator = &Subnet{}
8787

charts/ipam/local.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,28 @@ cluster:
4747

4848
crd:
4949
ip:
50-
group: ipam.onmetal.de
50+
group: ipam.ironcore.dev
5151
plural: ips
5252
singular: ip
5353
kind: IP
5454
listKind: IPList
5555
scope: Namespaced
5656
subnet:
57-
group: ipam.onmetal.de
57+
group: ipam.ironcore.dev
5858
plural: subnets
5959
singular: subnet
6060
kind: Subnet
6161
listKind: SubnetList
6262
scope: Namespaced
6363
network:
64-
group: ipam.onmetal.de
64+
group: ipam.ironcore.dev
6565
plural: networks
6666
singular: network
6767
kind: Network
6868
listKind: NetworkList
6969
scope: Namespaced
7070
networkcounter:
71-
group: ipam.onmetal.de
71+
group: ipam.ironcore.dev
7272
plural: networkcounters
7373
singular: networkcounter
7474
kind: NetworkCounter
@@ -77,4 +77,4 @@ crd:
7777

7878
leaderElection:
7979
leaderElect: true
80-
resourceName: f42c18d5.onmetal.de
80+
resourceName: f42c18d5.ironcore.dev

charts/ipam/values.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ proxy:
88
tag: "v0.5.0"
99
manager:
1010
image:
11-
repository: core.harbor.onmetal.de/ironcore-dev/ipam
11+
repository: ghcr.io/ironcore-dev/ipam
1212
pullPolicy: IfNotPresent
1313
tag: "latest"
1414
resources:
@@ -47,28 +47,28 @@ cluster:
4747

4848
crd:
4949
ip:
50-
group: ipam.onmetal.de
50+
group: ipam.ironcore.dev
5151
plural: ips
5252
singular: ip
5353
kind: IP
5454
listKind: IPList
5555
scope: Namespaced
5656
subnet:
57-
group: ipam.onmetal.de
57+
group: ipam.ironcore.dev
5858
plural: subnets
5959
singular: subnet
6060
kind: Subnet
6161
listKind: SubnetList
6262
scope: Namespaced
6363
network:
64-
group: ipam.onmetal.de
64+
group: ipam.ironcore.dev
6565
plural: networks
6666
singular: network
6767
kind: Network
6868
listKind: NetworkList
6969
scope: Namespaced
7070
networkcounter:
71-
group: ipam.onmetal.de
71+
group: ipam.ironcore.dev
7272
plural: networkcounters
7373
singular: networkcounter
7474
kind: NetworkCounter
@@ -77,4 +77,4 @@ crd:
7777

7878
leaderElection:
7979
leaderElect: true
80-
resourceName: f42c18d5.onmetal.de
80+
resourceName: f42c18d5.ironcore.dev

clientgo/applyconfiguration/ipam/v1alpha1/ip.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clientgo/applyconfiguration/ipam/v1alpha1/network.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clientgo/applyconfiguration/ipam/v1alpha1/networkcounter.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clientgo/applyconfiguration/ipam/v1alpha1/subnet.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clientgo/applyconfiguration/utils.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clientgo/informers/generic.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clientgo/ipam/typed/ipam/v1alpha1/ipam_client.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/ipam.onmetal.de_ips.yaml config/crd/bases/ipam.ironcore.dev_ips.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
name: ips.ipam.onmetal.de
7+
name: ips.ipam.ironcore.dev
88
spec:
9-
group: ipam.onmetal.de
9+
group: ipam.ironcore.dev
1010
names:
1111
kind: IP
1212
listKind: IPList

config/crd/bases/ipam.onmetal.de_networkcounters.yaml config/crd/bases/ipam.ironcore.dev_networkcounters.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
name: networkcounters.ipam.onmetal.de
7+
name: networkcounters.ipam.ironcore.dev
88
spec:
9-
group: ipam.onmetal.de
9+
group: ipam.ironcore.dev
1010
names:
1111
kind: NetworkCounter
1212
listKind: NetworkCounterList

config/crd/bases/ipam.onmetal.de_networks.yaml config/crd/bases/ipam.ironcore.dev_networks.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
name: networks.ipam.onmetal.de
7+
name: networks.ipam.ironcore.dev
88
spec:
9-
group: ipam.onmetal.de
9+
group: ipam.ironcore.dev
1010
names:
1111
kind: Network
1212
listKind: NetworkList

config/crd/bases/ipam.onmetal.de_subnets.yaml config/crd/bases/ipam.ironcore.dev_subnets.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
name: subnets.ipam.onmetal.de
7+
name: subnets.ipam.ironcore.dev
88
spec:
9-
group: ipam.onmetal.de
9+
group: ipam.ironcore.dev
1010
names:
1111
kind: Subnet
1212
listKind: SubnetList

config/crd/kustomization.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# since it depends on service name and namespace that are out of this kustomize package.
33
# It should be run by config/default
44
resources:
5-
- bases/ipam.onmetal.de_ips.yaml
6-
- bases/ipam.onmetal.de_subnets.yaml
7-
- bases/ipam.onmetal.de_networks.yaml
8-
- bases/ipam.onmetal.de_networkcounters.yaml
5+
- bases/ipam.ironcore.dev_ips.yaml
6+
- bases/ipam.ironcore.dev_subnets.yaml
7+
- bases/ipam.ironcore.dev_networks.yaml
8+
- bases/ipam.ironcore.dev_networkcounters.yaml
99
#+kubebuilder:scaffold:crdkustomizeresource
1010

1111
patchesStrategicMerge:

config/crd/patches/cainjection_in_ips.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
7-
name: ips.ipam.onmetal.de
7+
name: ips.ipam.ironcore.dev

config/crd/patches/webhook_in_ips.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
5-
name: ips.ipam.onmetal.de
5+
name: ips.ipam.ironcore.dev
66
spec:
77
conversion:
88
strategy: Webhook

config/manager/controller_manager_config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ webhook:
88
port: 9443
99
leaderElection:
1010
leaderElect: true
11-
resourceName: f42c18d5.onmetal.de
11+
resourceName: f42c18d5.ironcore.dev

config/rbac/ip_editor_role.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: ip-editor-role
66
rules:
77
- apiGroups:
8-
- ipam.onmetal.de
8+
- ipam.ironcore.dev
99
resources:
1010
- ips
1111
verbs:
@@ -17,7 +17,7 @@ rules:
1717
- update
1818
- watch
1919
- apiGroups:
20-
- ipam.onmetal.de
20+
- ipam.ironcore.dev
2121
resources:
2222
- ips/status
2323
verbs:

0 commit comments

Comments
 (0)