Raúl Mansilla
06/14/2021, 9:12 PMRaúl Mansilla
06/14/2021, 9:14 PM# externalHostname defines the address to contact an externally
# managed postgres database instance at. This is not required if
# `internalPostgres` is `true`
externalHostname: ""
Raúl Mansilla
06/14/2021, 9:15 PM--set postgresql.useSubChart=false --set postgresql.externalHostname=<http://prefecttesting.xxxxxxxxxxx.eu-west-1.rds.amazonaws.com|prefecttesting.xxxxxxxxxxx.eu-west-1.rds.amazonaws.com> --generate-name
Raúl Mansilla
06/14/2021, 9:15 PMRaúl Mansilla
06/14/2021, 9:16 PM--set jobs.createTenant.enabled=true --set.postgresql.useSubChart=false --set.postgresql.externalHostname=<postgresql://usr:pass@prefecttesting.xxxxxxxxxxx.eu-west-1.rds.amazonaws.com:5432/prefect>
Raúl Mansilla
06/14/2021, 9:18 PMCreateContainerConfigError
Mariia Kerimova
06/14/2021, 9:19 PM<http://prefecttesting.xxxxxxxxxxx.eu-west-1.rds.amazonaws.com|prefecttesting.xxxxxxxxxxx.eu-west-1.rds.amazonaws.com>
should work 👍Mariia Kerimova
06/14/2021, 9:20 PMRaúl Mansilla
06/14/2021, 9:21 PMRaúl Mansilla
06/14/2021, 9:21 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 set to a secret
# containing the key `postgresql-password`
existingSecret: null
# postgresqlPassword sets the password to be used if
# `existingSecret` is not set. This is the password for
# `postgresqlUsername` and will be set within the secret at
# the key `postgresql-password`
# postgresqlPassword: use-a-strong-password
Mariia Kerimova
06/14/2021, 9:32 PMpostgresql-password
.
For example,
apiVersion: v1
kind: Secret
metadata:
name: mydbsecret
type: Opaque
data:
postgresql-password: base64encodedsecret
and in your chart specify existingSecret: mydbsecret
Raúl Mansilla
06/14/2021, 9:32 PMMariia Kerimova
06/14/2021, 9:33 PMRaúl Mansilla
06/14/2021, 9:42 PMMariia Kerimova
06/14/2021, 9:43 PMRaúl Mansilla
06/14/2021, 10:20 PMMariia Kerimova
06/14/2021, 10:21 PM["k8s"]
? I think it takes array, and if you pass string, it will create label with each letterRaúl Mansilla
06/14/2021, 10:21 PMRaúl Mansilla
06/14/2021, 10:24 PM--set agent.prefectLabels=["k8s"]
then no matches found: agent.prefectLabels=[k8s]
Mariia Kerimova
06/14/2021, 10:39 PMRaúl Mansilla
06/14/2021, 10:58 PMRaúl Mansilla
06/14/2021, 10:59 PMhelm install prefecthq/prefect-server --set agent.enabled=true --set agent.prefectLabels="k8s" --set jobs.createTenant.enabled=true --set postgresql.useSubChart=false --set postgresql.externalHostname=<http://prefecttesting.XXXXXXXXX.eu-west-1.rds.amazonaws.com|prefecttesting.XXXXXXXXX.eu-west-1.rds.amazonaws.com> --set postgresql.existingSecret=mydbsecret --generate-name -n prefect
Mariia Kerimova
06/15/2021, 12:35 PMMariia Kerimova
06/15/2021, 1:03 PM--set agent.prefectLabels={k8s, test}
(you might need to set quotes like this --set "agent.prefectLabels={k8s, test}"
if you are on unix). Let me know if you'll still have the error.Mariia Kerimova
06/15/2021, 1:08 PM--set
flags to your install command, you can just provide --values
flag with the file which contains your desired values.Raúl Mansilla
06/15/2021, 9:48 PM--set "agent.prefectLabels={k8s, test}"
And yes, I will create another file for my deploys. Thanks a lot for your assistance.