Giter Club home page Giter Club logo

helm-debugging's Introduction

helm-debugging

debugging helm...

Opened issue

helm/helm#11611

Values

Path: mychart/values.yaml

A:

deployments:
  mysubchart1:
    enabled: false
  mysubchart2:
    enabled: true

B:

mysubchart1:
  enabled: false
mysubchart2:
  enabled: true

Chart

Path: mychart/Chart.yaml

A:

dependencies:
  - name: mysubchart1
    repository: "file://charts/mysubchart1"
    version: 0.1.0
    # A
    condition: deployments.mysubchart1.enabled
    # B
    #condition: mysubchart1.enabled
  - name: mysubchart2
    repository: "file://charts/mysubchart2"
    version: 0.1.0
    # A
    condition: deployments.mysubchart2.enabled
    # B
    #condition: mysubchart2.enabled

B:

dependencies:
  - name: mysubchart1
    repository: "file://charts/mysubchart1"
    version: 0.1.0
    # A
    #condition: deployments.mysubchart1.enabled
    # B
    condition: mysubchart1.enabled
  - name: mysubchart2
    repository: "file://charts/mysubchart2"
    version: 0.1.0
    # A
    #condition: deployments.mysubchart2.enabled
    # B
    condition: mysubchart2.enabled

Commands

C1:

helm upgrade --install helm-debugging mychart --dry-run --debug > output/helm-debug-$(date "+%Y%m%d-%H%M%S")

C2:

helm upgrade --install helm-debugging mychart -f myfiles/extraconfig.yaml --dry-run --debug > output/helm-debug-$(date "+%Y%m%d-%H%M%S")

Outputs

A + C1 = output-shared/helm-debug-20221207-131619

COMPUTED VALUES:
deployments:
  mysubchart1:
    enabled: false
  mysubchart2:
    enabled: true
extra:
  data: []
  enable: ""
fruit:
  data: apple
  enabled: true
meal:
  drink: coffee
  food: goulash
menu: lunch
mysubchart2:
  dessert: muffin
  global: {}
  name: subchart-2
name: main-chart

A + C2 = output-shared/helm-debug-20221207-131625

COMPUTED VALUES:
deployments:
  mysubchart1:
    enabled: false
  mysubchart2:
    enabled: true
extra:
  data:
  - pepper
  - salt
  - crushed red pepper
  enable: true
fruit:
  data: apple
  enabled: true
meal:
  drink: coffee
  food: goulash
menu: lunch
mysubchart1:
  dessert: pudding
mysubchart2:
  dessert: muffin
  global: {}
  name: subchart-2
name: main-chart

B + C1 = output-shared/helm-debug-20221207-131707

COMPUTED VALUES:
extra:
  data: []
  enable: ""
fruit:
  data: apple
  enabled: true
meal:
  drink: coffee
  food: goulash
menu: lunch
mysubchart1:
  dessert: cake
  enabled: false
  global: {}
  name: subchart-1
mysubchart2:
  dessert: muffin
  enabled: true
  global: {}
  name: subchart-2
name: main-chart

B + C2 = output-shared/helm-debug-20221207-131710

COMPUTED VALUES:
extra:
  data:
  - pepper
  - salt
  - crushed red pepper
  enable: true
fruit:
  data: apple
  enabled: true
meal:
  drink: coffee
  food: goulash
menu: lunch
mysubchart1:
  dessert: pudding
  enabled: false
mysubchart2:
  dessert: muffin
  enabled: true
  global: {}
  name: subchart-2
name: main-chart

Notes

helm-debugging's People

Contributors

nemethk avatar

Watchers

Robert Csakany avatar tsch avatar Norbert Csaba Herczeg avatar Tibor Botos avatar Gábor Privitzky avatar Blackbelt Admin avatar Zoltán Baji avatar  avatar

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.