dosubot[bot] commented on issue #33691:
URL: https://github.com/apache/superset/issues/33691#issuecomment-2940600270

   <!-- Answer -->
   You are correctβ€”the Bitnami Helm chart for Superset does not support the 
bootstrapScript, which is why your Trino connector installation script was 
never executed and Trino did not appear in the UI. This is a known limitation 
of the Bitnami chart and has been confirmed in community discussions as a 
common source of confusion for users migrating from the official Apache 
Superset Helm chart or following its documentation 
[source](https://github.com/apache/superset/discussions/31500).
   
   To install additional Python packages like the Trino connector when using 
the Bitnami Helm chart, the recommended approach is to build a custom Docker 
image that includes the required dependencies. This is also the best practice 
for production deployments, as it ensures all necessary drivers are present and 
avoids runtime installation issues 
[source](https://github.com/apache/superset/blob/20519158d2ab6325f7564b16615a99fe0ebe7a38/docs/docs/installation/kubernetes.mdx).
   
   **How to proceed:**
   
   1. Create a custom Dockerfile based on the Bitnami Superset image (or the 
image you are using).
   2. Add a line to install the Trino connector, for example:  
      ```
      RUN pip install trino
      ```
      or, if you need the SQLAlchemy dialect as well:
      ```
      RUN pip install trino sqlalchemy-trino
      ```
   3. Build and push your custom image to your container registry.
   4. Update your Bitnami Helm chart values to use your custom image.
   
   Once you redeploy with this image, the Trino connector should be available 
in the Superset UI under "+ Data" as long as it is not excluded by the backend 
configuration (such as the `DBS_AVAILABLE_DENYLIST`) 
[source](https://github.com/apache/superset/blob/20519158d2ab6325f7564b16615a99fe0ebe7a38/docs/docs/configuration/databases.mdx).
   
   There are no Bitnami-specific overrides or configuration options to install 
Python packages at runtime, so building a custom image is the only reliable 
method in this scenario. If you need more details on building a custom image or 
updating your Helm values, let me know!
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention my name [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=hallucination)
 | [Report 
πŸ›](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/77bd5bff-f7f6-4476-be43-6702991281a3?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[!
 [Share on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33691)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to