Skip to content
Discussion options

You must be logged in to vote

Hey @ognjen011,

Yes, this is possible out of the box. NetBox Operator gets the reference to the NetBox instance using environment variables like NETBOX_HOST or HTTPS_ENABLE: https://github.com/netbox-community/netbox-operator/blob/main/pkg/config/config.go#L43-L50

In https://github.com/netbox-community/netbox-operator/blob/main/CONTRIBUTING.md you can find an example on how these environment variables should be set for e.g. demo.netbox.dev.

So if you use the Kustomization from this repo, you will need to patch these environment variables in the deployment.

When deploying to a Kubernetes cluster, you can also use the helm chart for convenience: https://github.com/netbox-community/netbox-ch…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jstudler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants