Ryan Sattler11/25/2021, 3:40 AM
. I thought this secret would be created automatically? Am I supposed to create it manually and if so how?
Error: secret "prefect-server-postgresql" not found
This is the password for # `postgresqlUsername` and will be set within the secret at # the key `postgresql-password`
and that got a bit further though the auth is failing (investigating why)
kubectl create secret generic prefect-server-postgresql --from-literal=postgresql-password=mypassword
Ryan Sattler11/25/2021, 5:15 AM
Anna Geller11/25/2021, 9:16 AM
Ryan Sattler11/25/2021, 9:28 PM
Anna Geller11/25/2021, 9:48 PM
# existingSecret configures which secret should be referenced # for access to the database. If null and `useSubChart` is # enabled, the secret will be generated. If using an external # postgres service, this value should be explicitly set to # the name of a Kubernetes secret. This secret must be a # key-value pair containing the key `postgresql-password`. # e.g.: kubectl create secret generic prefect-postgresql-pwd # --from-literal='postgresql-password=YOUR_POSTGRES_PWD' # Helm chart value: existingSecret: prefect-postgresql-pwd existingSecret: null
Ryan Sattler11/25/2021, 10:02 PM
should be removed as it is not used as far as I can tell
Anna Geller11/25/2021, 10:07 PM
? I understood as long as you reference the name, it should work?
Ryan Sattler11/25/2021, 10:20 PM