Comments (4)
Hello,
at the moment we're not using reports but I also think /etc/netbox/reports
would be a good location for that. But you're right. You can't map to /etc/netbox/reports
when the configuration is mapped to /etc/netbox
in Openshift.
So the proposal with mapping to /etc/netbox/config
and /etc/netbox/reports
is a good solution.
I won't be able to implement this now because I'm on holiday for the next weeks. If this can wait I will do the implementation.
@flipkill1985 Could you test this in our deployment?
from netbox-docker.
You're right, /etc/reports
is a bad location for the reports. IMO this happened when we moved the 'main' configuration file to /etc/netbox
and BASE_DIR
now expands to /etc
rather than /opt/netbox/netbox
.
I agree that /etc/netbox/reports
would be a good location. But I want to make sure this works out when using a configuration managed by Kubernetes/OpenShift. And I'm not entirely sure it does in a nice way.
IMO the nice way would be to have two separate ConfigMaps, one for reports and one for configuration. And when the one for configuration is mapped to /etc/netbox
, I'm not sure if we can map the one for reports to /etc/netbox/reports
.
So the main configuration might have to be moved to somewhere else, e.g. /etc/netbox/config
, so that config and reports can co-exist.
Or am I over-complicating matters and it's fine to have one ConfigMap for config and reports?
I'd love to hear your opinion on this, and @tobiasge's as well, as he initially suggested to move the configuration to /etc/netbox
.
from netbox-docker.
@tobiasge Have you had the chance to look into this? Would one ConfigMap for config and reports be fine or do you think they should better be separated?
from netbox-docker.
Hello,
I'm back now. I think it would be better to have them separated. This makes it possible for the user to also define a persistent volume in Openshift.
from netbox-docker.
Related Issues (20)
- Postgres-Error on first boot HOT 1
- superuser_password secret fails with permission denied
- dependency failed to start: container netbox-docker-netbox-1 exited (127) HOT 1
- Server Error 'NoneType' object has no attribute 'get_absolute_url'
- Social Auth not following proxy settings in config file
- docker compose up fails on "unexpected EOF on client connection" during "./manage.py migrate --no-input"
- Restart Policy in the YAML? HOT 1
- Copying of Admin->Authentication->Permissions HOT 1
- Support for JSON and YAML configuration files HOT 5
- psycopg connection issue HOT 2
- Netbox Restarts in Nomad
- docker compose up fails on "unexpected EOF on client connection" during "./manage.py migrate --no-input" HOT 1
- Upgrading from Release to Release Via Docker
- Add Environment Variable to Mange ALLOW_TOKEN_RETRIEVAL HOT 1
- Nginx Unit user UID has changed to 999, breaks git data source sync HOT 2
- Insufficient write permission to the media root
- Netbox 4.0.0 container unhealthy with LOGIN_REQUIRED set to true HOT 1
- After migrating to Netbox-docker version 2.9.0 and Netbox 4.0, dark mode not being kept when refreshing the page HOT 5
- Increase healthcheck start period
- No module named 'extras.plugins' when building custom image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-docker.