execution error at (sentry/templates/hooks/user-create.yaml:23:36): A valid .Values.externalPostgresql.password is required #785
Unanswered
yplasenciarevelsystems
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I'm trying to setup a sentry server using the helm chart but I'm having de following issue:
Error: execution error at (sentry/templates/hooks/user-create.yaml:23:36): A valid .Values.externalPostgresql.password is required
I'm setting this variable in the values using an environment variable:
`externalPostgresql:
host: ${SENTRY_POSTGRES_HOST}
port: 5432
username: sentry
password: ${SENTRY_POSTGRES_PASSWORD}
existingSecret: secret-name
set existingSecretKey if key name inside existingSecret is different from 'postgres-password'
existingSecretKey: secret-key-name
database: sentry
sslMode: require`
The SENTRY_POSTGRES_PASSWORD environment variable is set in the helm release tf file:
values = [ templatefile( "${path.module}/values.yaml", { GOOGLE_OAUTH_CLIENT_ID = var.oauth_client_id, GOOGLE_OAUTH_CLIENT_SECRET = var.oauth_client_secret, SENTRY_POSTGRES_HOST = data.terraform_remote_state.sentry_pre_deployment_info.outputs.db_instance_endpoint, SENTRY_POSTGRES_PASSWORD = var.postgres_db_password, SENTRY_SG_ID = data.terraform_remote_state.sentry_pre_deployment_info.outputs.sentry_sg } ) ]
I already check that the env variable is set properly. Is there any restrictions for the password?
Beta Was this translation helpful? Give feedback.
All reactions