Skip to content
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
2 changes: 1 addition & 1 deletion api/v1/ipaddress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion api/v1/ipaddressclaim_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/netbox.dev_ipaddressclaims.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
listKind: IpAddressClaimList
plural: ipaddressclaims
shortNames:
- ipc
- ipac
singular: ipaddressclaim
scope: Namespaced
versions:
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/netbox.dev_ipaddresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
listKind: IpAddressList
plural: ipaddresses
shortNames:
- ip
- ipa
singular: ipaddress
scope: Namespaced
versions:
Expand Down