Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/superset] Allow to override secret by using existing one #16176

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/superset/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Apache Superset (incubating) is a modern, enterprise-ready business intelligence web application
name: superset
version: 1.1.7
version: 1.1.8
appVersion: "0.28.1"
keywords:
- bi
Expand Down
3 changes: 2 additions & 1 deletion stable/superset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ The command removes all the Kubernetes components associated with the chart and
| `image.tag` | `superset` image tag | `0.28.1` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Secrets for private registry | `[]` |
| `existingSecret` | Use an existing secret to override `initFile` and `configFile` | `[]` |
| `initFile` | Content of init shell script | See [values.yaml](./values.yaml) |
| `configFile` | Content of [`superset_config.py`](https://superset.incubator.apache.org/installation.html) | See values.yaml](./values.yaml) |
| `extraConfigFiles` | Content of additional configuration files. Let the dictionary key name represent the name of the file and its value the files content. | `{}` |
| `initFile` | Content of init shell script | See [values.yaml](./values.yaml) |
| `replicas` | Number of replicas of superset | `1` |
| `extraEnv` | Extra environment variables passed to pods | `{}` |
| `extraEnvFromSecret` | The name of a Kubernetes secret (must be manually created in the same namespace) containing values to be added to the environment | `""` |
Expand Down
2 changes: 1 addition & 1 deletion stable/superset/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
volumes:
- name: superset-configs
secret:
secretName: {{ include "superset.fullname" . }}
secretName: {{ .Values.existingSecret | default (include "superset.fullname" .) }}
- name: storage-volume
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
Expand Down
3 changes: 3 additions & 0 deletions stable/superset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ image:
pullPolicy: "IfNotPresent"
pullSecrets: []

# Using existing secret will override the initFile and configFile values
existingSecret: ""

initFile: |-
/usr/local/bin/superset-init --username admin --firstname admin --lastname user --email admin@fab.org --password admin
superset runserver
Expand Down