Comments (5)
Yep, image.repository
and image.tag
are interpolated for the deployment here:
charts/awx/templates/deployment.yaml
Line 28 in 36f1484
I have no suggestions based on the code sample you provided. There are a lot of ways to provide values in helm, so that may have something to do with what you're seeing.
from charts.
I've added some tests that I believe verify things work correctly.
charts/awx/test/unit/deployment.bats
Lines 15 to 45 in e21628f
Let me know if I've missed something.
from charts.
@jbielick
I agree your test proves it is working, but doesn't explain how the values.yaml should be constructed to override the tag.
I've tried both
image:
tag: "16.0.0"
and
image.tag: "16.0.0"
and I still end up with v17.x
from charts.
@gmisura there are quite a few ways of providing values to helm and using this chart. In my experience, some combination of how you're using -f
(values file), --set
and how and what order those command line args and files are being read is usually the issue in situations like this.
Since I have no info about how you're invoking helm, how you're providing or layering values files, what command line flags you're providing to helm, I simply cannot provide any additional insight.
The tests demonstrate that when the values are provided via the command-line as image.tag
, the chart works correctly. Unless I've missed something egregious, the problem likely exists in your invocation of helm and using this chart.
If you can provide a minimal reproducible case, I might be able to help find your issue.
Here's a minimal reproducible case of things working correctly:
› cat test.yaml
image:
tag: "1.2.3"
› helm install adwerx/awx \
--dry-run --debug --generate-name \
--set defaultAdminExistingSecret=test \
--set secretKeyExistingSecret=test \
--set postgresqlExistingSecret=test \
--set postgresql.postgresqlPassword='abc' \
-f test.yaml | grep ansible/awx
install.go:172: [debug] Original chart version: ""
install.go:189: [debug] CHART PATH: /Users/me/Library/Caches/helm/repository/awx-3.2.1.tgz
repository: ansible/awx
image: "ansible/awx:1.2.3"
image: "ansible/awx:1.2.3"
from charts.
What the heck? I tried exactly that and it didn't work before and now it does! Shesh.
Thanks
from charts.
Related Issues (14)
- Dockerfile HOT 2
- Support for new apps version HOT 6
- Giving the ability to manage secrets with SealedSecret in an umbrella chart HOT 3
- The pod `web` not loaded with secret HOT 1
- allow for changing faktory environment in config HOT 2
- postgresqlPassword is expected even if using postgresqlExistingSecret HOT 6
- AWX chart: Compatible with v19 and quay container registry ? HOT 1
- .Values.extraConfiguration badly indented HOT 2
- How to access AWX after installation with helm HOT 5
- Failure to connect to Postgres DB when using existing secret HOT 2
- chart ingress broken HOT 1
- Deprecated Ingress API version HOT 4
- Unable to use external PostgreSQL database
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 charts.