Comments (2)
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.
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:
- We now use secrets to hold our secrets (as some of the config is secret)
- We now use checksum annotations in our deployments:
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)
- CI: automate publishing of new `armadactl` releases to Krew plug-in index HOT 3
- Improve repo test coverage in various Go packages HOT 5
- Scheduler Metric for MaxUnacknowledgedJobsPerExecutor
- Job Service subscription manager logic does not handle errors on job event message stream correctly HOT 2
- Ability to release from a branch
- Consolidation of the build and build_goreleaser folders
- Report the use of components with vulnerabilities in armada HOT 1
- Problems with Armada getting started experience HOT 3
- Fix various typos and broken images on the website HOT 2
- Update armada-airflow to use Jobs query API HOT 1
- Armada scheduler crashes due to zero'd job run UUID HOT 1
- API to list jobs based on job set id HOT 1
- Quickstart download old verision of armadactl HOT 1
- Old chat versions in quickstart HOT 1
- Feature: Ideal Getting Started Experience HOT 4
- Deploy to GH pages is failing
- CI: Automatic deploy of GitHub Pages doesn't work due to required protection on branches
- The script get-armadactl leaves behind files README.md and MAINTAINERS.md HOT 3
- Better fairness metrics
- Test: timezone issue while running mage tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armada.