Wilson Bilkovich
08/21/2021, 11:01 PMhost = foo
in one video, and [server] endpoint = baz
in anotherKevin Kho
Wilson Bilkovich
08/21/2021, 11:03 PMWilson Bilkovich
08/21/2021, 11:04 PMCHART_NS=prefect
CHART_NAME=prefect-server-initial
helm install \
--namespace ${CHART_NS} \
--set ui.apolloApiUrl=http://${CHART_NAME}-apollo:4200/graphql \
--set agent.enabled=true \
--set jobs.createTenant.enabled=true \
${CHART_NAME} \
prefecthq/prefect-server
Wilson Bilkovich
08/21/2021, 11:05 PM[server]
endpoint = "<http://prefect-server-initial-apollo:4200/graphql/>"
Wilson Bilkovich
08/21/2021, 11:05 PM~/.prefect/config.toml
and that seems to work, and it made me wish I could browse a reference page listing all the knobsWilson Bilkovich
08/21/2021, 11:06 PMTo configure a secret locally (not using Prefect Cloud), you can set the value in your Prefect configuration file through either the ~/.prefect/config.toml file or an environment variable.
Wilson Bilkovich
08/21/2021, 11:07 PMKevin Kho
Wilson Bilkovich
08/21/2021, 11:10 PMWilson Bilkovich
08/21/2021, 11:11 PMexport PREFECT__CONTEXT__SECRETS__MYSECRET="MY SECRET VALUE"
I guess the structure of that suggests that in the config file it should be:Wilson Bilkovich
08/21/2021, 11:11 PM[context]
[secrets]
mysecret = "my secret value"
Wilson Bilkovich
08/21/2021, 11:12 PMKevin Kho
[context.secrets]
mysecret = "my secret value"
i think your syntax will work alsoKevin Kho
Wilson Bilkovich
08/21/2021, 11:13 PMWilson Bilkovich
08/21/2021, 11:14 PMKevin Kho
Wilson Bilkovich
08/21/2021, 11:28 PMWilson Bilkovich
08/21/2021, 11:29 PMKevin Kho