Giter VIP home page Giter VIP logo

Comments (4)

tobiasge avatar tobiasge commented on May 27, 2024 1

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.

cimnine avatar cimnine commented on May 27, 2024

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.

cimnine avatar cimnine commented on May 27, 2024

@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.

tobiasge avatar tobiasge commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.