Giter Club home page Giter Club logo

Comments (4)

davidfestal avatar davidfestal commented on July 23, 2024 1
  • dynamic-plugins.default.yaml is the one used to list all dynamic plugins that are embedded inside the Showcase container image, along with their default enablement status and their default config. It is also embedded inside the docker image, and used by the install-dynamic-plugins initContainer to install the plugins.
  • app-config.dynamic-plugins.yaml is a file that contains the default placement config of dynamic frontend plugins that are embedded inside the showcase image, to be used when running locally outside of Kubernetes (so without the usage of the initContainer + dynamic-plugins.default.yaml).

from backstage-showcase.

rsriniva avatar rsriniva commented on July 23, 2024

I got confused too. It's not clearly documented which all files are actually needed to be modified and which ones are auto-generated and must be immutable. I can't figure out from which YAML file a certain var or key is coming from

from backstage-showcase.

gashcrumb avatar gashcrumb commented on July 23, 2024

I got confused too. It's not clearly documented which all files are actually needed to be modified and which ones are auto-generated and must be immutable. I can't figure out from which YAML file a certain var or key is coming from

@rsriniva I agree, there's a few layers that make things confusing. There's one log line that lists what configuration files the app is starting up with which can help a lot, there's an order of precedence to be aware of. It's one of the first lines logged, for example from an RHDH on openshift:

Loaded config from app-config.yaml, app-config.example.yaml, app-config.example.production.yaml, app-config.dynamic-plugins.yaml, app-config-from-configmap.yaml, env

with that many files it's hard to get an idea of the complete effective configuration. The main thing that I wanted to point out is if a configuration file is not present on this line, then it is not being loaded.

from backstage-showcase.

davidfestal avatar davidfestal commented on July 23, 2024

Let me add a point:
In the Helm deployment, app-config.dynamic-plugins.yaml is in fact generated by the install-dynamic-plugins initContainer based on the content of the dynamic-plugins.default.yaml (if it is included) and the overridden plugins in the plugins list.

That's why I said that the app-config.dynamic-plugins.yaml present in the Github repository (not included in the docker image afaik) is only there to be available for local tests.

I agree that it should probably be streamlined, and we can certainly create an issue for that.

from backstage-showcase.

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.