mirror of
https://github.com/apache/superset.git
synced 2026-07-12 17:55:38 +00:00
69 lines
3.1 KiB
Go Template
69 lines
3.1 KiB
Go Template
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<!--
|
|
NOTE: This file is generated by helm-docs: https://github.com/norwoodj/helm-docs#installation
|
|
-->
|
|
|
|
{{ template "chart.header" . }}
|
|
{{ template "chart.deprecationWarning" . }}
|
|
|
|
{{ template "chart.versionBadge" . }}
|
|
|
|
{{ template "chart.description" . }}
|
|
|
|
{{ template "chart.homepageLine" . }}
|
|
|
|
{{ template "chart.sourcesSection" . }}
|
|
|
|
## TL;DR
|
|
|
|
```console
|
|
helm repo add superset http://apache.github.io/superset/
|
|
helm install my-superset superset/superset
|
|
```
|
|
|
|
Make sure you set your own `SECRET_KEY` to something unique and secret. This secret key is used by Flask for
|
|
securely signing the session cookie and will be used to encrypt sensitive data on Superset's metadata database.
|
|
It should be a long random bytes or str.
|
|
|
|
On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverrides.secrets`
|
|
|
|
## Upgrade Notes
|
|
|
|
### Kubernetes recommended labels (breaking)
|
|
|
|
This chart labels and selects workloads using the [Kubernetes recommended labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/) (`app.kubernetes.io/*`) instead of the legacy `app`/`release` labels. A Deployment's `spec.selector.matchLabels` is immutable, so `helm upgrade` against a release created before this change fails with a `field is immutable` error.
|
|
|
|
To upgrade an existing release, delete the affected workloads first (their selector labels changed), then upgrade so they are recreated:
|
|
|
|
```console
|
|
kubectl delete deployment,statefulset -l release=<release-name> -n <namespace>
|
|
helm upgrade <release-name> superset/superset
|
|
```
|
|
|
|
Alternatively, perform a fresh install. This is a one-time migration; subsequent upgrades are unaffected.
|
|
|
|
{{ template "chart.requirementsSection" . }}
|
|
|
|
{{ template "chart.valuesSection" . }}
|
|
|
|
## Versioning
|
|
This chart follows [semantic versioning](https://semver.org/). The chart version is independent of the Superset version. The chart version is incremented when there are changes to the chart itself, such as new features, bug fixes, or changes in configuration options. In addition to semver, the chart version is also incremented in the minor version when there is a breaking change in the Superset appVersion itself. When there are non-breaking changes in the Superset appVersion, the chart version is incremented in the patch version.
|