Code Monkey home page Code Monkey logo

Comments (2)

lucwillems avatar lucwillems commented on August 17, 2024

well i'm having the same issue with helm version 3.0.2
using configMaps to inject a script in a post-install hook container to configure the application
for environment specific settings.

while testing & fine tuning the script , i noticed that upgrade doesn't touch the configmap and doesn't change/update it :-(

a debug trace :

  • helm -n cornerstone upgrade -f ../global.yaml --debug cornerstone .
    upgrade.go:79: [debug] preparing upgrade for cornerstone
    upgrade.go:87: [debug] performing update for cornerstone
    upgrade.go:225: [debug] creating upgraded release for cornerstone
    client.go:222: [debug] Starting delete for "job-setup-cornerstone" Job
    client.go:89: [debug] creating 1 resource(s)
    client.go:422: [debug] Watching for changes to Job job-setup-cornerstone with timeout of 5m0s
    client.go:450: [debug] Add/Modify event for job-setup-cornerstone: ADDED
    client.go:489: [debug] job-setup-cornerstone: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
    client.go:450: [debug] Add/Modify event for job-setup-cornerstone: MODIFIED
    client.go:489: [debug] job-setup-cornerstone: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
    client.go:450: [debug] Add/Modify event for job-setup-cornerstone: MODIFIED
    upgrade.go:280: [debug] warning: Upgrade "cornerstone" failed: pre-upgrade hooks failed: job failed: BackoffLimitExceeded

FYI : the current scripts ends with exit 1 for debugging purpose, until we have validated the upgrade script .

the script is inline in the configmap

from armada.

JamesMurkin avatar JamesMurkin commented on August 17, 2024

Closing this as:

  • We don't deploy directly from this repo anymore (which is what we originally created the issue for)

We have not seen this occur on any of our deployments for a while. We now rely on:

That is not to say this issue no longer exists in helm, just that we haven't experienced any issues with this setup.

from armada.

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.