I plan to deploy Hasura Docker container into Kubernetes cluster.
So I got a Hasura metadata JSON file (hasura_metadata_2023_02_23_16_59_45_407.json), which was generated form one Hasura via its setting in web console.
My question how can I use this metadata JSON file to automatically pre-configure a Hasura container (which will be created inside a Pod in Kubernetes) each time the container is created ?
The configuration would be something like : connect to multiple databases, set role permissions, set event-trigger ... etc. I want all this configurations to be all finished when the Hasura container is created.
My folder structure has all these file generated from Hasura-cli
hasura init ...
:metadata, migrations, config.yaml, seeds
And here's command I use to create Hasura container:
Here's the error I saw from the Hasura container on Docker Desktop: