Thread
#prefect-community
    ek

    ek

    11 months ago
    Hi everyone, I'm trying to setup prefect to use external db on aws rds and I verify that I can connect to it my rds with my user and password Here is my helm:
    NAMESPACE=prefect-server
    VERSION=2021.09.02
    
    kubectl create namespace $NAMESPACE
    helm install -n $NAMESPACE $NAMESPACE \
    --version $VERSION \
    --values ./helm/values.yaml \
    prefecthq/prefect-server
    Here is my helm
    values.yml
    postgresql:
      postgresqlDatabase: postgres
      postgresqlUsername: postgres
      existingSecret: [secret]
      servicePort: 5432
      externalHostname: "x.x.x.x"
      useSubChart: false
    Is there anything else I'm missing to set in my value.yml? much appreciate it!
    nicholas

    nicholas

    11 months ago
    Hi @ek - the values look fine but you’ll also need to make sure Hasura is configured properly; take a look at this section in the helm chart readme if you haven’t already
    ek

    ek

    11 months ago
    @nicholas thanks for your resp. I figured it out. and yes I have to create a k8s secret and update
    existingSecret: postgres-password
    as a key. thank you again!
    nicholas

    nicholas

    11 months ago
    Great! 😄