Hey! Is there a way to create the default tenant at deployment time using helm chart, so we would avoid typing "prefect create tenant"?
m
Mariia Kerimova
01/20/2021, 10:33 PM
Hey Pedro. Currently there is no way to create a default tenant during deployment of the helm chart.
z
Zanie
01/20/2021, 10:35 PM
If you have any ideas let me know! From what I can tell, we’d have to create a whole sidecar container to run this at deployment time. Perhaps
prefect server
should just be creating a default tenant on startup independently from the Helm chart.
p
Pedro Martins
01/21/2021, 12:09 PM
How about adding the command in the agent image prior to start the agent?
z
Zanie
01/21/2021, 4:39 PM
The agent isn’t a required part of the helm chart though
p
Peter Roelants
02/03/2021, 11:08 AM
I'm also interested in this.
Would it be possible to run a graphql query to create a tenant in one of the Prefect server services when it starts up?
If so, which service would be best to initialise the agent?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.