docs: incorrect psycopg2 package in k8s install instructions (#31999)
This commit is contained in:
parent
8984f88a3e
commit
9aa8b09505
|
|
@ -150,6 +150,9 @@ Superset requires a Python DB-API database driver and a SQLAlchemy
|
|||
dialect to be installed for each datastore you want to connect to.
|
||||
|
||||
See [Install Database Drivers](/docs/configuration/databases) for more information.
|
||||
It is recommended that you refer to versions listed in
|
||||
[pyproject.toml](https://github.com/apache/superset/blob/master/pyproject.toml)
|
||||
instead of hard-coding them in your bootstrap script, as seen below.
|
||||
|
||||
:::
|
||||
|
||||
|
|
@ -157,9 +160,9 @@ The following example installs the drivers for BigQuery and Elasticsearch, allow
|
|||
```yaml
|
||||
bootstrapScript: |
|
||||
#!/bin/bash
|
||||
pip install psycopg2==2.9.6 \
|
||||
sqlalchemy-bigquery==1.6.1 \
|
||||
elasticsearch-dbapi==0.2.5 &&\
|
||||
pip install .[postgres] \
|
||||
.[bigquery] \
|
||||
.[elasticsearch] &&\
|
||||
if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue