Skip to content

feat(nautobotop): add namespace sync support#1875

Merged
abhimanyu003 merged 1 commit into
mainfrom
nautobotOpNamespaces
Mar 26, 2026
Merged

feat(nautobotop): add namespace sync support#1875
abhimanyu003 merged 1 commit into
mainfrom
nautobotOpNamespaces

Conversation

@abhimanyu003
Copy link
Copy Markdown
Contributor

This PR introduces full CRUD sync support for Nautobot's IPAM namespace resources. Namespaces can now be synced from ConfigMap-defined YAML into Nautobot via the operator's reconcile loop, following the same reconciliation pattern used for existing DCIM and IPAM resources.

Whats Added.

  • Namespaces

Two lookup services were added to support namespace sync:

  • TenantService
  • TenantGroupService

Sample YAML

Namespaces:

- name: "prod-namespace"
  description: "Production IP namespace"
  location: "US-East-DC1"
  tenant_group: "infrastructure"
  tenant: "network-team"

CR spec additions

The Nautobot custom resource now accepts a new optional ref:

spec:
  namespaceRef:
    - configMapSelector:
        name: namespace-config
        namespace: default

@abhimanyu003 abhimanyu003 added this pull request to the merge queue Mar 26, 2026
Merged via the queue into main with commit b4e211d Mar 26, 2026
23 checks passed
@abhimanyu003 abhimanyu003 deleted the nautobotOpNamespaces branch March 26, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants