diff --git a/api/v1/ipaddress_types.go b/api/v1/ipaddress_types.go index 32f75bed..0c6a9b71 100644 --- a/api/v1/ipaddress_types.go +++ b/api/v1/ipaddress_types.go @@ -88,7 +88,7 @@ type IpAddressStatus struct { //+kubebuilder:printcolumn:name="ID",type=string,JSONPath=`.status.id` //+kubebuilder:printcolumn:name="URL",type=string,JSONPath=`.status.url` //+kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -//+kubebuilder:resource:shortName=ip +//+kubebuilder:resource:shortName=ipa // IpAddress allows to create a NetBox IP Address. More info about NetBox IP Addresses: https://github.com/netbox-community/netbox/blob/main/docs/models/ipam/ipaddress.md type IpAddress struct { diff --git a/api/v1/ipaddressclaim_types.go b/api/v1/ipaddressclaim_types.go index 66bbe64e..f50933b6 100644 --- a/api/v1/ipaddressclaim_types.go +++ b/api/v1/ipaddressclaim_types.go @@ -89,7 +89,7 @@ type IpAddressClaimStatus struct { //+kubebuilder:printcolumn:name="IpAssigned",type=string,JSONPath=`.status.conditions[?(@.type=="IPAssigned")].status` //+kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status` //+kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -//+kubebuilder:resource:shortName=ipc +//+kubebuilder:resource:shortName=ipac // IpAddressClaim allows to claim a NetBox IP Address from an existing Prefix. // The IpAddressClaim Controller will try to assign an available IP Address diff --git a/config/crd/bases/netbox.dev_ipaddressclaims.yaml b/config/crd/bases/netbox.dev_ipaddressclaims.yaml index 73f63d16..225db11e 100644 --- a/config/crd/bases/netbox.dev_ipaddressclaims.yaml +++ b/config/crd/bases/netbox.dev_ipaddressclaims.yaml @@ -12,7 +12,7 @@ spec: listKind: IpAddressClaimList plural: ipaddressclaims shortNames: - - ipc + - ipac singular: ipaddressclaim scope: Namespaced versions: diff --git a/config/crd/bases/netbox.dev_ipaddresses.yaml b/config/crd/bases/netbox.dev_ipaddresses.yaml index 386d8a5e..80e60752 100644 --- a/config/crd/bases/netbox.dev_ipaddresses.yaml +++ b/config/crd/bases/netbox.dev_ipaddresses.yaml @@ -12,7 +12,7 @@ spec: listKind: IpAddressList plural: ipaddresses shortNames: - - ip + - ipa singular: ipaddress scope: Namespaced versions: