-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update kubernetes.mdx #14512
fix: update kubernetes.mdx #14512
Changes from 1 commit
8da7292
0314091
a5dd8c5
0597c35
3a5dd6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,25 +94,21 @@ postgresql: | |
|
||
#### Dependencies | ||
|
||
You can specify pip packages to be installed before startup, e.g. to install extra database drivers: | ||
You can specify pip packages to be installed before startup. The following example installs the Big Query and Elasticsearch database drivers so that you can connect to those datasources in your Superset installation. | ||
|
||
```yaml | ||
additionalRequirements: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no this broke, please see #14188 and #13917. This PR may be a moot point if this chart is released up, see #14188 (comment) which is a comment from 14 days ago. |
||
- psycopg2 | ||
- redis | ||
- elasticsearch-dbapi | ||
- pymssql | ||
- gsheetsdb | ||
# Force verstion to work around https://github.com/betodealmeida/gsheets-db-api/issues/15 | ||
- moz-sql-parser==4.9.21002 | ||
# For OAuth | ||
- Authlib | ||
# For webdriver / reports | ||
- gevent | ||
bootstrapScript: | | ||
#!/bin/bash | ||
apt-get update -y &&\ | ||
apt-get install -y --no-install-recommends nano &&\ | ||
shicholas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
rm -rf /var/lib/apt/lists/* | ||
shicholas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
pip install psycopg2==2.8.5 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. which versions are supported? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these are, I think the important thing here is to get a working demo, it should be up to the end-user to determine what packages they want to install in their own superset install. |
||
redis==3.2.1 \ | ||
pybigquery \ | ||
shicholas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
elasticsearch-dbapi | ||
shicholas marked this conversation as resolved.
Show resolved
Hide resolved
|
||
if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi | ||
``` | ||
|
||
__WARNING__: The list will replace the default one from the default `values.yaml` entirely, not _add_ to it... | ||
|
||
#### superset_config.py | ||
|
||
The default `superset_config.py` is fairly minimal and you will very likely need to extend it. This is done by specifying one or more key/value entries in `configOverrides`, e.g.: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's include the comment on the values config file:
Since we should not encourage the use of a bootstrap script to install OS or python packages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.