Skip to content

docs: update to detect namespace #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2025
Merged

Conversation

RangerRick
Copy link
Contributor

@RangerRick RangerRick commented Jul 8, 2025

This pull request updates the backup and restore documentation for NetBox Enterprise to dynamically determine the namespace of the NetBox deployment, replacing the hardcoded kotsadm namespace with a command that retrieves it automatically. This change improves flexibility and reduces the likelihood of errors in environments with custom namespaces.

Documentation Improvements:

  • Updated all instances of NETBOX_NAMESPACE="kotsadm" to dynamically retrieve the namespace of the NetBox deployment using the kubectl get deployments command with appropriate labels and JSONPath output. This ensures compatibility with custom namespaces. [1] [2] [3] [4] [5] [6] [7]

@RangerRick RangerRick requested review from weyrick and a team as code owners July 8, 2025 15:17
@RangerRick RangerRick merged commit 0d88d93 into main Jul 9, 2025
2 checks passed
@RangerRick RangerRick deleted the ranger/pure-helm-backups branch July 9, 2025 14:32
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