kestra-io / docs

Documentation for Kestra — an event-driven, language-agnostic orchestration and scheduling platform to manage millions of workflows declaratively in code.
https://kestra.io/docs
68 stars 60 forks source link

How to define secrets in OSS using Kestra's Helm Chart #1578

Open wrussell1999 opened 1 month ago

wrussell1999 commented 1 month ago

Description

From a user:

I have set up kestra on k8s with the provided Helm chart via terraform, and am now trying to add any secrets - either environment variables that are accessible during the Helm chart deploy or variables accessible from the terraform state. Unfortunately, the secrets' docs are only referring to the docker-compose.yaml file, and I didn't find out yet which parts of the Helm chart translate to the same settings. any hints? :pray: Also, is there a way for me to check in the UI/on the server which env variables and secrets are set? (I use the free version)

Solution:

You need to define compatible env variables as you will define any env variable in a Kubernetes pod spec via Helm. To facilitate that we provide a extraEnv Helm value. See https://github.com/kestra-io/helm-charts/blob/master/charts/kestra/values.yaml