Comments (2)
Are you able to submit a minimal reproduction of this issue? Just a values file and helm install command would probably do. At present, I cannot locate the source of the issue you're having and there are many variables to consider.
For what it's worth, there's a passing test case here which asserts that the correct secret name is used to populate the DATABASE_PASSWORD
environment variable for the AWX pod containers, which sounds like your case. Does that test look different from what you have?
charts/awx/test/unit/deployment.bats
Lines 235 to 242 in 7713928
from charts.
From looking at your test, I don't see where my secret would fail. One thing I need to note is I am deploying and running this chart from my ArgoCD Application definition so a minimal reproduction is a little different. But I will try. Essentially I am using the default values file, but passing parameters in to overwrite the values I need to change, specifically setting the postgresqlExistingSecret value to the name of my secret I have created in my cluster. An example of that secret would be as such:
kubectl create secret generic awx-db-user --from-literal=DATABASE_USER=postgres --from-literal=DATABASE_PASSWORD='testpassword' --from-literal=DATABASE_NAME=awx --from-literal=DATABASE_HOST=awx-devops-postgresql --from-literal=DATABASE_PORT=5432 --from-literal=DATABASE_ADMIN_PASSWORD= testpassword -n awx --dry-run=client --output yaml | kubeseal --format=yaml --scope cluster-wide
Once this secret is created and deployed I would think it could be reproduced by running the below helm install command:
helm install awx -f values.yaml --set postgresqlExistingSecret=awx-db-user
But for specificity sake, the exact parameters passed are these:
helm: valueFiles: - values.yaml parameters: - name: secretKeyExistingSecret value: awx-secret-key - name: defaultAdminExistingSecret value: awx-admin-user - name: service.type value: NodePort - name: service.port value: "80" - name: ingress.enabled value: "true" - name: ingress.hosts[0].host value: "awx.internal.local" - name: ingress.hosts[0].paths[0] value: "/" - name: ingress.annotations.kubernetes\.io/ingress\.class value: alb - name: ingress.annotations.alb\.ingress\.kubernetes\.io/scheme value: internal - name: ingress.annotations.alb\.ingress\.kubernetes\.io/group\.name value: awx - name: ingress.annotations.alb\.ingress\.kubernetes\.io/certificate-arn value: "xxxxxxxxx" - name: postgresqlExistingSecret value: awx-db-user
from charts.
Related Issues (15)
- 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 image tag ignored HOT 5
- 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
- chart ingress broken HOT 1
- Deprecated Ingress API version HOT 4
- v3.4.3 - The Tower server sent back a server error HOT 1
- 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.