GithubHelp home page GithubHelp logo

Comments (3)

carpenike avatar carpenike commented on July 28, 2024

Counter point though, is this actually needed or as we backup the entire /config volume do we have the CredentialSecret stored regardless of what its value is?

It appears this is primarily for moving flows to a new system.

Thoughts?

from charts.

bjw-s avatar bjw-s commented on July 28, 2024

https://nodered.org/docs/getting-started/docker#credentials-secrets-and-environment-variables
Based on this, I run my chart with an additional ENV var (filled with a secret) that gets referenced in my settings.js file.

However - as you state - that only has effect when there is alreay a settings.js file to begin with. If it gets generated at the initial start, Node-RED will keep throwing the warning until you manually modify the settings file.

Maybe an initContainer could help here? It would check if the settings file already exists, and if it doesn't, it could place a default file containing the correct reference? Another approach could be to place the settings.js file under a configMap that gets mounted. This would potentially cause any persistent settings file to get overwritten at runtime though.

from charts.

stale avatar stale commented on July 28, 2024

This issue request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from charts.

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.