diff --git a/ndc-connector-trino/.hasura-connector/connector-metadata.yaml b/ndc-connector-trino/.hasura-connector/connector-metadata.yaml index c94dcec..1a826b9 100644 --- a/ndc-connector-trino/.hasura-connector/connector-metadata.yaml +++ b/ndc-connector-trino/.hasura-connector/connector-metadata.yaml @@ -5,12 +5,7 @@ supportedEnvironmentVariables: - name: JDBC_URL description: "The JDBC URL to connect to the database" commands: - update: | - docker run \ - -e JDBC_URL \ - -e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \ - -v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \ - ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \ - --database TRINO \ - --schemas $JDBC_SCHEMAS \ - --outfile /app/output/configuration.json + update: + type: Dockerized + dockerImage: ghcr.io/hasura/ndc-jvm-cli:v1.0.0 + commandArgs: [update, --database, TRINO, --schemas, $JDBC_SCHEMAS, --outfile, /etc/connector/configuration.json]