Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The pod web not loaded with secret #24

Closed
lesmyrmidons opened this issue Jun 30, 2021 · 1 comment
Closed

The pod web not loaded with secret #24

lesmyrmidons opened this issue Jun 30, 2021 · 1 comment

Comments

@lesmyrmidons
Copy link
Contributor

lesmyrmidons commented Jun 30, 2021

Hello!!

My postgesSQL is external.

I create a secret with version 3.2.0 of chart. And the pod web not started because it is error return :
image

If the variable progresql host is not added, it's {{ printf "%s-postgresql" .Release.Name | b64enc | quote }} used but not DATABASE_HOST of my secret.
My secret is generate with sealed-secret for bitnami :

sealed-secrets:
  - name: awx-secret
    data:
      AWX_ADMIN_PASSWORD:
      AWX_ADMIN_USER:
      DATABASE_ADMIN_PASSWORD:
      DATABASE_HOST:
      DATABASE_NAME:
      DATABASE_PASSWORD:
      DATABASE_PORT:
      DATABASE_USER:
      SECRET_KEY:
jbielick added a commit that referenced this issue Jun 30, 2021
see #24

ENV variables are set from existingSecret, but credentials.py was not
updated to reference ENV variables.
@jbielick
Copy link
Member

jbielick commented Jun 30, 2021

Thanks for the issue report. Sorry you encountered this. I've pushed some changes and published as 3.2.1

b07443d

credentials.py should now contain the correct data when using postgresqlExistingSecret. Please reopen if you have issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants