Skip to content

Commit ce6243a

Browse files
authored
chore: bump superset version for release 24.11 (#121)
* chore: bump superset version for release * update testing-tools version for superset init
1 parent 175f180 commit ce6243a

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

stacks/end-to-end-security/superset.yaml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: superset
66
spec:
77
image:
8-
productVersion: 3.1.3
8+
productVersion: 4.0.2
99
clusterConfig:
1010
listenerClass: external-unstable
1111
credentialsSecret: superset-credentials
@@ -24,38 +24,38 @@ spec:
2424
# We need to restore the postgres state before the superset container itself starts some database migrations
2525
initContainers:
2626
# The postgres image does not contain curl or wget...
27-
- name: download-dump
28-
image: docker.stackable.tech/stackable/testing-tools:0.1.0-stackable0.1.0
29-
command:
30-
- bash
31-
- -c
32-
- |
33-
cd /tmp
34-
curl --fail -O https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/postgres_superset_dump.sql.gz
35-
gunzip postgres_superset_dump.sql.gz
27+
- name: download-dump
28+
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable24.7.0
29+
command:
30+
- bash
31+
- -c
32+
- |
33+
cd /tmp
34+
curl --fail -O https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/postgres_superset_dump.sql.gz
35+
gunzip postgres_superset_dump.sql.gz
3636
37-
# We need to omit changing the users password, as otherwise the content in the Secrets does not match
38-
# the actual password in Postgres.
39-
grep -vwE '(CREATE ROLE postgres;|CREATE ROLE superset;|ALTER ROLE postgres|ALTER ROLE superset)' postgres_superset_dump.sql > /dump/postgres_superset_dump.sql
40-
volumeMounts:
41-
- name: dump
42-
mountPath: /dump/
43-
- name: restore-postgres
44-
image: docker.io/bitnami/postgresql:16.1.0-debian-11-r11 # Same image as the bitnami postgres helm-chart is using
45-
command:
46-
- bash
47-
- -c
48-
- |
49-
psql --host postgresql-superset --user postgres < /dump/postgres_superset_dump.sql
50-
env:
51-
- name: PGPASSWORD
52-
valueFrom:
53-
secretKeyRef:
54-
name: postgresql-superset
55-
key: postgres-password
56-
volumeMounts:
57-
- name: dump
58-
mountPath: /dump/
37+
# We need to omit changing the users password, as otherwise the content in the Secrets does not match
38+
# the actual password in Postgres.
39+
grep -vwE '(CREATE ROLE postgres;|CREATE ROLE superset;|ALTER ROLE postgres|ALTER ROLE superset)' postgres_superset_dump.sql > /dump/postgres_superset_dump.sql
40+
volumeMounts:
41+
- name: dump
42+
mountPath: /dump/
43+
- name: restore-postgres
44+
image: docker.io/bitnami/postgresql:16.1.0-debian-11-r11 # Same image as the bitnami postgres helm-chart is using
45+
command:
46+
- bash
47+
- -c
48+
- |
49+
psql --host postgresql-superset --user postgres < /dump/postgres_superset_dump.sql
50+
env:
51+
- name: PGPASSWORD
52+
valueFrom:
53+
secretKeyRef:
54+
name: postgresql-superset
55+
key: postgres-password
56+
volumeMounts:
57+
- name: dump
58+
mountPath: /dump/
5959
volumes:
6060
- name: dump
6161
emptyDir: {}

stacks/keycloak-opa-poc/superset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ metadata:
1919
name: superset
2020
spec:
2121
image:
22-
productVersion: 3.0.1
22+
productVersion: 4.0.2
2323
clusterConfig:
2424
credentialsSecret: superset-credentials
2525
listenerClass: external-unstable

0 commit comments

Comments
 (0)