mirror of
https://github.com/apache/superset.git
synced 2026-06-11 18:49:15 +00:00
Compare commits
2 Commits
fix/chart-
...
fix/helm-r
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de30eed14f | ||
|
|
3da2a210c7 |
@@ -29,7 +29,7 @@ maintainers:
|
|||||||
- name: craig-rueda
|
- name: craig-rueda
|
||||||
email: craig@craigrueda.com
|
email: craig@craigrueda.com
|
||||||
url: https://github.com/craig-rueda
|
url: https://github.com/craig-rueda
|
||||||
version: 0.16.0 # See [README](https://github.com/apache/superset/blob/master/helm/superset/README.md#versioning) for version details.
|
version: 0.17.0 # See [README](https://github.com/apache/superset/blob/master/helm/superset/README.md#versioning) for version details.
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 16.7.27
|
version: 16.7.27
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ NOTE: This file is generated by helm-docs: https://github.com/norwoodj/helm-docs
|
|||||||
|
|
||||||
# superset
|
# superset
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Apache Superset is a modern, enterprise-ready business intelligence web application
|
Apache Superset is a modern, enterprise-ready business intelligence web application
|
||||||
|
|
||||||
@@ -111,9 +111,6 @@ On helm this can be set on `extraSecretEnv.SUPERSET_SECRET_KEY` or `configOverri
|
|||||||
| init.resources | object | `{}` | |
|
| init.resources | object | `{}` | |
|
||||||
| init.tolerations | list | `[]` | |
|
| init.tolerations | list | `[]` | |
|
||||||
| init.topologySpreadConstraints | list | `[]` | TopologySpreadConstrains to be added to init job |
|
| init.topologySpreadConstraints | list | `[]` | TopologySpreadConstrains to be added to init job |
|
||||||
| initImage.pullPolicy | string | `"IfNotPresent"` | |
|
|
||||||
| initImage.repository | string | `"apache/superset"` | |
|
|
||||||
| initImage.tag | string | `"dockerize"` | |
|
|
||||||
| nameOverride | string | `nil` | Provide a name to override the name of the chart |
|
| nameOverride | string | `nil` | Provide a name to override the name of the chart |
|
||||||
| nodeSelector | object | `{}` | |
|
| nodeSelector | object | `{}` | |
|
||||||
| postgresql | object | see `values.yaml` | Configuration values for the postgresql dependency. ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql |
|
| postgresql | object | see `values.yaml` | Configuration values for the postgresql dependency. ref: https://github.com/bitnami/charts/tree/main/bitnami/postgresql |
|
||||||
|
|||||||
@@ -194,11 +194,6 @@ image:
|
|||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
initImage:
|
|
||||||
repository: apache/superset
|
|
||||||
tag: dockerize
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8088
|
port: 8088
|
||||||
@@ -303,15 +298,28 @@ supersetNode:
|
|||||||
# @default -- a container waiting for postgres
|
# @default -- a container waiting for postgres
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-postgres
|
- name: wait-for-postgres
|
||||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: "{{ .Values.initImage.pullPolicy }}"
|
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: "{{ tpl .Values.envFromSecret . }}"
|
name: "{{ tpl .Values.envFromSecret . }}"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -timeout 120s
|
- |
|
||||||
|
# bash's /dev/tcp redirect performs a TCP connect; no external
|
||||||
|
# `dockerize`, `nc`, or busybox needed. SECONDS-based deadline
|
||||||
|
# mirrors the prior `dockerize -timeout 120s` behaviour.
|
||||||
|
SECONDS=0
|
||||||
|
until (echo > /dev/tcp/"$DB_HOST"/"$DB_PORT") 2>/dev/null; do
|
||||||
|
if [ "$SECONDS" -ge 120 ]; then
|
||||||
|
echo "timeout waiting for postgres at $DB_HOST:$DB_PORT after 120s" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "waiting for postgres at $DB_HOST:$DB_PORT (elapsed ${SECONDS}s)"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "postgres at $DB_HOST:$DB_PORT is up"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
@@ -407,15 +415,31 @@ supersetWorker:
|
|||||||
# @default -- a container waiting for postgres and redis
|
# @default -- a container waiting for postgres and redis
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-postgres-redis
|
- name: wait-for-postgres-redis
|
||||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: "{{ .Values.initImage.pullPolicy }}"
|
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: "{{ tpl .Values.envFromSecret . }}"
|
name: "{{ tpl .Values.envFromSecret . }}"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -wait "tcp://$REDIS_HOST:$REDIS_PORT" -timeout 120s
|
- |
|
||||||
|
# See supersetNode.initContainers for the rationale.
|
||||||
|
SECONDS=0
|
||||||
|
wait_for() {
|
||||||
|
local host=$1 port=$2 name=$3
|
||||||
|
until (echo > /dev/tcp/"$host"/"$port") 2>/dev/null; do
|
||||||
|
if [ "$SECONDS" -ge 120 ]; then
|
||||||
|
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "$name at $host:$port is up"
|
||||||
|
}
|
||||||
|
wait_for "$DB_HOST" "$DB_PORT" postgres
|
||||||
|
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
@@ -495,15 +519,31 @@ supersetCeleryBeat:
|
|||||||
# @default -- a container waiting for postgres
|
# @default -- a container waiting for postgres
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-postgres-redis
|
- name: wait-for-postgres-redis
|
||||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: "{{ .Values.initImage.pullPolicy }}"
|
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: "{{ tpl .Values.envFromSecret . }}"
|
name: "{{ tpl .Values.envFromSecret . }}"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -wait "tcp://$REDIS_HOST:$REDIS_PORT" -timeout 120s
|
- |
|
||||||
|
# See supersetNode.initContainers for the rationale.
|
||||||
|
SECONDS=0
|
||||||
|
wait_for() {
|
||||||
|
local host=$1 port=$2 name=$3
|
||||||
|
until (echo > /dev/tcp/"$host"/"$port") 2>/dev/null; do
|
||||||
|
if [ "$SECONDS" -ge 120 ]; then
|
||||||
|
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "$name at $host:$port is up"
|
||||||
|
}
|
||||||
|
wait_for "$DB_HOST" "$DB_PORT" postgres
|
||||||
|
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
@@ -594,15 +634,31 @@ supersetCeleryFlower:
|
|||||||
# @default -- a container waiting for postgres and redis
|
# @default -- a container waiting for postgres and redis
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-postgres-redis
|
- name: wait-for-postgres-redis
|
||||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: "{{ .Values.initImage.pullPolicy }}"
|
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: "{{ tpl .Values.envFromSecret . }}"
|
name: "{{ tpl .Values.envFromSecret . }}"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -wait "tcp://$REDIS_HOST:$REDIS_PORT" -timeout 120s
|
- |
|
||||||
|
# See supersetNode.initContainers for the rationale.
|
||||||
|
SECONDS=0
|
||||||
|
wait_for() {
|
||||||
|
local host=$1 port=$2 name=$3
|
||||||
|
until (echo > /dev/tcp/"$host"/"$port") 2>/dev/null; do
|
||||||
|
if [ "$SECONDS" -ge 120 ]; then
|
||||||
|
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "$name at $host:$port is up"
|
||||||
|
}
|
||||||
|
wait_for "$DB_HOST" "$DB_PORT" postgres
|
||||||
|
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
@@ -764,15 +820,26 @@ init:
|
|||||||
# @default -- a container waiting for postgres
|
# @default -- a container waiting for postgres
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: wait-for-postgres
|
- name: wait-for-postgres
|
||||||
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: "{{ .Values.initImage.pullPolicy }}"
|
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: "{{ tpl .Values.envFromSecret . }}"
|
name: "{{ tpl .Values.envFromSecret . }}"
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- dockerize -wait "tcp://$DB_HOST:$DB_PORT" -timeout 120s
|
- |
|
||||||
|
# See supersetNode.initContainers for the rationale.
|
||||||
|
SECONDS=0
|
||||||
|
until (echo > /dev/tcp/"$DB_HOST"/"$DB_PORT") 2>/dev/null; do
|
||||||
|
if [ "$SECONDS" -ge 120 ]; then
|
||||||
|
echo "timeout waiting for postgres at $DB_HOST:$DB_PORT after 120s" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "waiting for postgres at $DB_HOST:$DB_PORT (elapsed ${SECONDS}s)"
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
echo "postgres at $DB_HOST:$DB_PORT is up"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
|||||||
Reference in New Issue
Block a user