New RunLLM response generated: >>>*# Question* I'...
# runllm-flyte-trial
a
New RunLLM response generated: >>>*# Question* I'm installing flyte-core via helm, given the following helm values:
Copy code
configuration:

  database:
    username: flyte-test
    password: xxxx

    host: xxxx

    port: 5432

    dbname: flyte-test-db

    options: sslmode=require
# Answer To install Flyte-core via Helm with the provided database configuration, you need to ensure that the sensitive information, such as the database password, is securely managed. According to the Flyte Helm Chart Values, you can specify the database configuration directly in the
values.yaml
file. However, it's recommended to use Kubernetes secrets for sensitive data. Here’s how you can create a Kubernetes secret for the database password and reference it in your Helm values: 1. Create a Kubernetes Secret:
Copy code
kubectl create secret generic flyte-db-secret --from-literal=password=xxxx -n flyte
2. Update Helm Values: Modify your
values.yaml
to reference the secret:
Copy code
configuration:
     database:
       username: flyte-test
       passwordPath: /etc/secrets/db-password
       host: xxxx
       port: 5432
       dbname: flyte-test-db
       options: sslmode=require
3. Mount the Secret in the Helm Chart: Ensure the secret is mounted in the Flyte deployment by adding the following to your `values.yaml`:
Copy code
additionalVolumes:
     - name: db-secret
       secret:
         secretName: flyte-db-secret
   additionalVolumeMounts:
     - name: db-secret
       mountPath: /etc/secrets
       readOnly: true
4. Install Flyte-core via Helm:
Copy code
helm upgrade --install flyte-core flyteorg/flyte-core -f values.yaml --namespace flyte --create-namespace
Would you like more detail on any of these steps? Sources: - Flyte Helm Chart Values - Flyte Issue on Helm Chart Secrets - Flyte PR on Pre-created Secrets Slack Link https://flyte-org.slack.com/archives/CP2HDHKE1/p1721132613.972109 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.