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
1 change: 1 addition & 0 deletions docs/schema/locations.schema.json
1 change: 1 addition & 0 deletions docs/schema/rack-groups.schema.json
2 changes: 2 additions & 0 deletions go/nautobotop/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
bin/*
dist/*
Dockerfile.cross
cmd/cmd

# Test binary, built with `go test -c`
*.test
Expand All @@ -25,6 +26,7 @@ dist/

# editor and IDE paraphernalia
.idea
.kiro
.vscode
*.swp
*.swo
Expand Down
2 changes: 2 additions & 0 deletions go/nautobotop/api/v1alpha1/nautobot_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ type NautobotSpec struct {
NautobotServiceRef ServiceSelector `json:"nautobotServiceRef,omitempty"`
DeviceTypesRef []ConfigMapRef `json:"deviceTypeRef,omitempty"`
LocationTypesRef []ConfigMapRef `json:"locationTypesRef,omitempty"`
LocationRef []ConfigMapRef `json:"locationRef,omitempty"`
RackGroupRef []ConfigMapRef `json:"rackGroupRef,omitempty"`
}

// NautobotStatus defines the observed state of Nautobot.
Expand Down
14 changes: 14 additions & 0 deletions go/nautobotop/api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 58 additions & 0 deletions go/nautobotop/config/crd/bases/sync.rax.io_nautobots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,35 @@ spec:
- name
type: object
type: array
locationRef:
items:
description: ConfigMapRef defines a reference to a specific ConfigMap
properties:
configMapSelector:
description: The name of the ConfigMap resource being referred
to
properties:
key:
description: The key in the ConfigMap data
type: string
name:
description: The name of the ConfigMap
minLength: 1
type: string
namespace:
description: The namespace where the ConfigMap resides
type: string
required:
- name
type: object
name:
description: Name of this config set (logical name)
type: string
required:
- configMapSelector
- name
type: object
type: array
locationTypesRef:
items:
description: ConfigMapRef defines a reference to a specific ConfigMap
Expand Down Expand Up @@ -147,6 +176,35 @@ spec:
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
type: string
type: object
rackGroupRef:
items:
description: ConfigMapRef defines a reference to a specific ConfigMap
properties:
configMapSelector:
description: The name of the ConfigMap resource being referred
to
properties:
key:
description: The key in the ConfigMap data
type: string
name:
description: The name of the ConfigMap
minLength: 1
type: string
namespace:
description: The namespace where the ConfigMap resides
type: string
required:
- name
type: object
name:
description: Name of this config set (logical name)
type: string
required:
- configMapSelector
- name
type: object
type: array
requeueAfter:
default: 600
type: integer
Expand Down
58 changes: 58 additions & 0 deletions go/nautobotop/helm/crds/clients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,35 @@ spec:
- name
type: object
type: array
locationRef:
items:
description: ConfigMapRef defines a reference to a specific ConfigMap
properties:
configMapSelector:
description: The name of the ConfigMap resource being referred
to
properties:
key:
description: The key in the ConfigMap data
type: string
name:
description: The name of the ConfigMap
minLength: 1
type: string
namespace:
description: The namespace where the ConfigMap resides
type: string
required:
- name
type: object
name:
description: Name of this config set (logical name)
type: string
required:
- configMapSelector
- name
type: object
type: array
locationTypesRef:
items:
description: ConfigMapRef defines a reference to a specific ConfigMap
Expand Down Expand Up @@ -147,6 +176,35 @@ spec:
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
type: string
type: object
rackGroupRef:
items:
description: ConfigMapRef defines a reference to a specific ConfigMap
properties:
configMapSelector:
description: The name of the ConfigMap resource being referred
to
properties:
key:
description: The key in the ConfigMap data
type: string
name:
description: The name of the ConfigMap
minLength: 1
type: string
namespace:
description: The namespace where the ConfigMap resides
type: string
required:
- name
type: object
name:
description: Name of this config set (logical name)
type: string
required:
- configMapSelector
- name
type: object
type: array
requeueAfter:
default: 600
type: integer
Expand Down
Loading
Loading