Code Monkey home page Code Monkey logo

Comments (1)

dmgtn avatar dmgtn commented on August 29, 2024

After some discussion, we end up with the following:

  • static values – all values stored in YAML files and read during startup from two sources:
    • common static values (/modules/values.yaml) may contain:
      • global common static values,
      • module common static values.
    • module static values (modules/123-some-module/values.yaml) may contain only module values;
  • config values (ConfigMap) which consitsts of:
    • global config values
    • module config values
  • secret values (Secret) which consitsts of:
    • global secret values
    • module secret values
  • effective values patches or just values patches – JSON patches, received from hooks. We store separately:
    • global values patches
    • module values patches
  • effective values, or just values – is a result of a merge of 7 sources:
    • effective global values or just global values – a merge of three sources:
      • global common static values
      • global config values
      • global values patches
    • effective module values or just module values – a merge of four sources:
      • module common static values
      • module static values
      • module config values
      • module values patches.
  • We also have
    • config values patches, which can be either module config values patches or global config values patches, but we don't store them in memory, because they are instantly applied to the ConfigMap.
    • and secret values patches, which can be either module secret values patches or global secret values patches, but we don't store them in memory, because they are instantly applied to the Secret.

from addon-operator.

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.