Scarlett King
12/13/2021, 1:22 PMAnna Geller
12/13/2021, 3:29 PMenv:
- name: PREFECT_SERVER__DATABASE__CONNECTION_URL
valueFrom:
configMapKeyRef:
name: your_config_map_name
key: your_config_map_key
Does this answer your question? Is there a specific value you would like to leverage ConfigMap for?
When we look at the agent deployment file, many values here can be set on the KubernetesRun
directly in your flow, allowing you to set it however you like - using env variables, parameter store, secrets manager, etc..Scarlett King
12/13/2021, 5:53 PMAnna Geller
12/13/2021, 6:11 PMconnection_string_secret
in Prefect’s Azure storage.export PREFECT__CONTEXT__SECRETS__AZURE_STORAGE_CONNECTION_STRING="YOUR_VALUE"
[context.secrets]
AZURE_STORAGE_CONNECTION_STRING = "YOUR_VALUE"
Scarlett King
12/13/2021, 8:06 PMAnna Geller
12/13/2021, 10:16 PM[server]
host = "http://<EXTERNAL-IP>"
[context.secrets]
AZURE_STORAGE_CONNECTION_STRING = "YOUR_VALUE"
It’s described in more detail in this section. LMK if you face any issues with this.Scarlett King
12/15/2021, 12:20 AMAnna Geller
12/15/2021, 12:31 AM