Skip to content

Commit 6564a81

Browse files
committed
temp: switch to branch for deployment test
1 parent 69f882a commit 6564a81

4 files changed

Lines changed: 9 additions & 114 deletions

File tree

stacks/end-to-end-security/postgres_superset_dump.sql

Lines changed: 5 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ SET standard_conforming_strings = on;
1212
--
1313

1414
CREATE ROLE postgres;
15-
ALTER ROLE postgres WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION BYPASSRLS PASSWORD 'SCRAM-SHA-256$4096:iDUbItVdCcc1vqYRvqfIcg==$T2lvgLih9M+hoJN6yGUaDdYC1iIzddqOXNlkpW0hZ6c=:BT6snm5yjdJqcsBKxMVBClzfKa3uXS1zAhvjHbkRROs=';
15+
ALTER ROLE postgres WITH SUPERUSER INHERIT CREATEROLE CREATEDB LOGIN REPLICATION BYPASSRLS PASSWORD 'SCRAM-SHA-256$4096:sGx/aeHPQh2TYqDu/3VtKg==$MDwWvH8UgxEn/Nx2hZXAvw5ENCrSpXi6yRR7ZQ+QEF4=:sO4JMyhpvAYkbLKXUZLIuh6Q++k4IthhhbGarVxMVU8=';
1616
CREATE ROLE superset;
17-
ALTER ROLE superset WITH NOSUPERUSER INHERIT NOCREATEROLE CREATEDB LOGIN NOREPLICATION NOBYPASSRLS PASSWORD 'SCRAM-SHA-256$4096:p6e3ePv5ESwDFfGta4n7WQ==$nV8kd+fctX2aOR5zfmao5pwoObb5HA1SiBfpJ0S0+Hs=:p9Kq3XFamto4o9HgZDsqkNPaMcdL5YD2VCmxH7P0B7o=';
17+
ALTER ROLE superset WITH NOSUPERUSER INHERIT NOCREATEROLE CREATEDB LOGIN NOREPLICATION NOBYPASSRLS PASSWORD 'SCRAM-SHA-256$4096:nf8bNZfxkSrMvCUkD3R/hg==$C1xQNqtwM2riQ6Gck5KLps8qHpeQx1EG8nJ5gYEIBa4=:sz0up3ELagR5pFex7D1elNtU99KbgDKKvoDWQtrHHcg=';
1818

1919
--
2020
-- User Configurations
@@ -3306,110 +3306,6 @@ COPY public.ab_permission_view_role (id, permission_view_id, role_id) FROM stdin
33063306
392 169 5
33073307
393 170 5
33083308
394 174 5
3309-
395 7 6
3310-
396 8 6
3311-
397 11 6
3312-
398 15 6
3313-
399 16 6
3314-
400 17 6
3315-
401 22 6
3316-
402 23 6
3317-
403 29 6
3318-
404 42 6
3319-
405 43 6
3320-
406 44 6
3321-
407 45 6
3322-
408 46 6
3323-
409 47 6
3324-
410 48 6
3325-
411 50 6
3326-
412 51 6
3327-
413 52 6
3328-
414 53 6
3329-
415 54 6
3330-
416 55 6
3331-
417 57 6
3332-
418 58 6
3333-
419 65 6
3334-
420 66 6
3335-
421 67 6
3336-
422 68 6
3337-
423 69 6
3338-
424 70 6
3339-
425 71 6
3340-
426 72 6
3341-
427 73 6
3342-
428 74 6
3343-
429 80 6
3344-
430 81 6
3345-
431 82 6
3346-
432 83 6
3347-
433 86 6
3348-
434 91 6
3349-
435 92 6
3350-
436 96 6
3351-
437 97 6
3352-
438 98 6
3353-
439 105 6
3354-
440 106 6
3355-
441 108 6
3356-
442 110 6
3357-
443 111 6
3358-
444 112 6
3359-
445 113 6
3360-
446 116 6
3361-
447 118 6
3362-
448 120 6
3363-
449 121 6
3364-
450 122 6
3365-
451 123 6
3366-
452 124 6
3367-
453 125 6
3368-
454 126 6
3369-
455 137 6
3370-
456 138 6
3371-
457 139 6
3372-
458 140 6
3373-
459 141 6
3374-
460 142 6
3375-
461 143 6
3376-
462 144 6
3377-
463 146 6
3378-
464 147 6
3379-
465 154 6
3380-
466 155 6
3381-
467 156 6
3382-
468 157 6
3383-
469 158 6
3384-
470 159 6
3385-
471 161 6
3386-
472 163 6
3387-
473 164 6
3388-
474 174 6
3389-
475 175 6
3390-
476 176 6
3391-
477 1 6
3392-
478 2 6
3393-
479 19 6
3394-
480 79 6
3395-
481 84 6
3396-
482 85 6
3397-
483 87 6
3398-
484 88 6
3399-
485 114 6
3400-
486 117 6
3401-
487 119 6
3402-
488 130 6
3403-
489 131 6
3404-
490 132 6
3405-
491 133 6
3406-
492 134 6
3407-
493 135 6
3408-
494 136 6
3409-
495 167 6
3410-
496 168 6
3411-
497 169 6
3412-
498 170 6
34133309
500 182 9
34143310
502 180 8
34153311
509 197 1
@@ -3587,7 +3483,6 @@ COPY public.ab_role (id, name) FROM stdin;
35873483
3 Alpha
35883484
4 Gamma
35893485
5 sql_lab
3590-
6 Gamma_extended
35913486
7 Marketing
35923487
8 Compliance and Regulation Analytics
35933488
9 Customer Service Analytics
@@ -3605,8 +3500,8 @@ COPY public.ab_user (id, first_name, last_name, username, password, active, emai
36053500
5 Mark Ketting mark.ketting pbkdf2:sha256:600000$9PjSpVaXmmI2rpyi$9ccaf75fe3f36ab9ccf05004efe1b74e2d76d9bcf4dc4f5b28773d3d4454ed90 t mark.ketting@knab.com 2024-03-27 12:25:50.846849 1 0 2024-03-27 12:25:50.840258 2024-03-27 12:25:50.840267 \N \N
36063501
2 Daniel King daniel.king pbkdf2:sha256:600000$XobvWsPoxpUBXba2$d55ffd2384a0ef4a547f9b1a28f129be7c953e319616cd3ebfc32c843f6e7f89 t daniel.king@knab.com 2025-07-28 13:06:05.987585 5 0 2024-03-27 11:22:57.458016 2024-03-27 11:22:57.458026 \N \N
36073502
1 Superset Admin admin pbkdf2:sha256:600000$VtEwC0rP1mLkLXCr$7f88b3bf4078f2a7f141faa6fc3adb740a012813caf0e4186a5f8686b98f6e7b t admin@superset.com 2026-07-06 08:52:42.652933 20 0 2024-03-27 09:00:58.213426 2024-03-27 09:00:58.213437 \N \N
3608-
6 Pamela Scott pamela.scott pbkdf2:sha256:600000$8fxRZw3aVI4bfwi7$ea9f35223de6eac05aa9545514e9435043897aaf76ceb2c24f0d63f1844c34ee t pamela.scott@knab.com 2026-07-06 08:53:52.10865 3 0 2024-03-27 12:26:07.70948 2024-03-27 12:26:07.709489 \N \N
36093503
8 William Lewis william.lewis pbkdf2:sha256:600000$tNYDu1gAgzC4Zw38$dc4c35bdf39728d6154a66cc32f1058e7105aafa048bb27e177b7a903f14d298 t william.lewis@knab.com 2026-07-06 08:55:04.087295 2 0 2024-03-27 12:26:38.250925 2024-03-27 12:26:38.250934 \N \N
3504+
6 Pamela Scott pamela.scott pbkdf2:sha256:600000$8fxRZw3aVI4bfwi7$ea9f35223de6eac05aa9545514e9435043897aaf76ceb2c24f0d63f1844c34ee t pamela.scott@knab.com 2026-07-06 09:30:54.011095 4 0 2024-03-27 12:26:07.70948 2024-03-27 12:26:07.709489 \N \N
36103505
\.
36113506

36123507

@@ -3833,8 +3728,8 @@ COPY public.dashboard_user (id, user_id, dashboard_id) FROM stdin;
38333728
--
38343729

38353730
COPY public.dashboards (created_on, changed_on, id, dashboard_title, position_json, created_by_fk, changed_by_fk, css, description, slug, json_metadata, published, uuid, certified_by, certification_details, is_managed_externally, external_url, theme_id) FROM stdin;
3836-
2024-03-27 13:33:13.947737 2024-03-27 14:21:33.680941 3 Customer analytics {"CHART-TxbrYIozYw": {"children": [], "id": "CHART-TxbrYIozYw", "meta": {"chartId": 4, "height": 33, "sliceName": "Customers per state", "uuid": "fa8b274f-8a69-4449-819e-521b4a6600a2", "width": 10}, "parents": ["ROOT_ID", "GRID_ID", "ROW-crD1lbf1oU"], "type": "CHART"}, "CHART-i53yFbHq6z": {"children": [], "id": "CHART-i53yFbHq6z", "meta": {"chartId": 3, "height": 33, "sliceName": "Number of customers", "uuid": "bb2aacd7-a074-4289-a795-71ecca300f04", "width": 2}, "parents": ["ROOT_ID", "GRID_ID", "ROW-crD1lbf1oU"], "type": "CHART"}, "DASHBOARD_VERSION_KEY": "v2", "GRID_ID": {"children": ["ROW-crD1lbf1oU"], "id": "GRID_ID", "parents": ["ROOT_ID"], "type": "GRID"}, "HEADER_ID": {"id": "HEADER_ID", "meta": {"text": "Customer analytics"}, "type": "HEADER"}, "ROOT_ID": {"children": ["GRID_ID"], "id": "ROOT_ID", "type": "ROOT"}, "ROW-crD1lbf1oU": {"children": ["CHART-i53yFbHq6z", "CHART-TxbrYIozYw"], "id": "ROW-crD1lbf1oU", "meta": {"background": "BACKGROUND_TRANSPARENT"}, "parents": ["ROOT_ID", "GRID_ID"], "type": "ROW"}} 4 4 \N \N {"chart_configuration": {"4": {"id": 4, "crossFilters": {"scope": "global", "chartsInScope": [3]}}}, "global_chart_configuration": {"scope": {"rootPath": ["ROOT_ID"], "excluded": []}, "chartsInScope": [3, 4]}, "color_scheme": "", "refresh_frequency": 0, "shared_label_colors": {}, "color_scheme_domain": [], "expanded_slices": {}, "label_colors": {}, "timed_refresh_immune_slices": [], "cross_filters_enabled": true, "native_filter_configuration": []} t c39aadfb-9037-4424-b9cc-98762297b25a f \N \N
38373731
2024-03-27 13:19:04.095758 2024-03-27 13:28:21.264343 2 Customer compliance {"CHART-_-vtEcReJp": {"children": [], "id": "CHART-_-vtEcReJp", "meta": {"chartId": 2, "height": 52, "sliceName": "Customers per gender and martial status", "uuid": "6293babd-b3bc-4d05-a70d-5b58e7717458", "width": 12}, "parents": ["ROOT_ID", "GRID_ID", "ROW-i-iK_9GOj"], "type": "CHART"}, "CHART-explore-1-1": {"children": [], "id": "CHART-explore-1-1", "meta": {"chartId": 1, "height": 43, "sliceName": "Customer age", "uuid": "5faaa605-6dbd-47d4-a8c8-64839fb8ff12", "width": 12}, "parents": ["ROOT_ID", "GRID_ID", "ROW-Z7X4HOaDSO"], "type": "CHART"}, "DASHBOARD_VERSION_KEY": "v2", "GRID_ID": {"children": ["ROW-Z7X4HOaDSO", "ROW-i-iK_9GOj"], "id": "GRID_ID", "parents": ["ROOT_ID"], "type": "GRID"}, "HEADER_ID": {"id": "HEADER_ID", "meta": {"text": "Customer compliance"}, "type": "HEADER"}, "ROOT_ID": {"children": ["GRID_ID"], "id": "ROOT_ID", "type": "ROOT"}, "ROW-Z7X4HOaDSO": {"children": ["CHART-explore-1-1"], "id": "ROW-Z7X4HOaDSO", "meta": {"0": "ROOT_ID", "background": "BACKGROUND_TRANSPARENT"}, "parents": ["ROOT_ID", "GRID_ID"], "type": "ROW"}, "ROW-i-iK_9GOj": {"children": ["CHART-_-vtEcReJp"], "id": "ROW-i-iK_9GOj", "meta": {"background": "BACKGROUND_TRANSPARENT"}, "parents": ["ROOT_ID", "GRID_ID"], "type": "ROW"}} 2 2 \N \N {"chart_configuration": {"1": {"id": 1, "crossFilters": {"scope": "global", "chartsInScope": [2]}}, "2": {"id": 2, "crossFilters": {"scope": "global", "chartsInScope": [1]}}}, "global_chart_configuration": {"scope": {"rootPath": ["ROOT_ID"], "excluded": []}, "chartsInScope": [1, 2]}, "color_scheme": "", "refresh_frequency": 0, "shared_label_colors": {"count": "#1FA8C9"}, "color_scheme_domain": [], "expanded_slices": {}, "label_colors": {}, "timed_refresh_immune_slices": [], "cross_filters_enabled": true, "native_filter_configuration": []} t c33d4006-d49f-473a-b3b4-93c39e3c8310 f \N \N
3732+
2024-03-27 13:33:13.947737 2024-03-27 14:21:33.680941 3 Customer analytics {"CHART-TxbrYIozYw": {"children": [], "id": "CHART-TxbrYIozYw", "meta": {"chartId": 4, "height": 33, "sliceName": "Customers per state", "uuid": "fa8b274f-8a69-4449-819e-521b4a6600a2", "width": 10}, "parents": ["ROOT_ID", "GRID_ID", "ROW-crD1lbf1oU"], "type": "CHART"}, "CHART-i53yFbHq6z": {"children": [], "id": "CHART-i53yFbHq6z", "meta": {"chartId": 3, "height": 33, "sliceName": "Number of customers", "uuid": "bb2aacd7-a074-4289-a795-71ecca300f04", "width": 2}, "parents": ["ROOT_ID", "GRID_ID", "ROW-crD1lbf1oU"], "type": "CHART"}, "DASHBOARD_VERSION_KEY": "v2", "GRID_ID": {"children": ["ROW-crD1lbf1oU"], "id": "GRID_ID", "parents": ["ROOT_ID"], "type": "GRID"}, "HEADER_ID": {"id": "HEADER_ID", "meta": {"text": "Customer analytics"}, "type": "HEADER"}, "ROOT_ID": {"children": ["GRID_ID"], "id": "ROOT_ID", "type": "ROOT"}, "ROW-crD1lbf1oU": {"children": ["CHART-i53yFbHq6z", "CHART-TxbrYIozYw"], "id": "ROW-crD1lbf1oU", "meta": {"background": "BACKGROUND_TRANSPARENT"}, "parents": ["ROOT_ID", "GRID_ID"], "type": "ROW"}} 4 1 \N \N {"chart_configuration": {"4": {"id": 4, "crossFilters": {"scope": "global", "chartsInScope": [3]}}}, "global_chart_configuration": {"scope": {"rootPath": ["ROOT_ID"], "excluded": []}, "chartsInScope": [3, 4]}, "color_scheme": "", "refresh_frequency": 0, "shared_label_colors": [], "color_scheme_domain": [], "expanded_slices": {}, "label_colors": {}, "timed_refresh_immune_slices": [], "cross_filters_enabled": true, "native_filter_configuration": [], "map_label_colors": {}} t c39aadfb-9037-4424-b9cc-98762297b25a f \N \N
38383733
\.
38393734

38403735

@@ -4296,7 +4191,7 @@ SELECT pg_catalog.setval('public.ab_user_id_seq', 8, true);
42964191
-- Name: ab_user_role_id_seq; Type: SEQUENCE SET; Schema: public; Owner: superset
42974192
--
42984193

4299-
SELECT pg_catalog.setval('public.ab_user_role_id_seq', 20, true);
4194+
SELECT pg_catalog.setval('public.ab_user_role_id_seq', 23, true);
43004195

43014196

43024197
--

stacks/end-to-end-security/setup-postgresql.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
- |
1717
kubectl rollout status --watch statefulset/postgresql-superset
1818
cd /tmp
19-
curl --fail -O https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/postgres_superset_dump.sql
19+
curl --fail -O https://raw.githubusercontent.com/stackabletech/demos/feat/e2e-superset-opa/stacks/end-to-end-security/postgres_superset_dump.sql
2020
2121
# We need to omit changing the users password, as otherwise the content in the Secrets does not match
2222
# the actual password in Postgres.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
- authenticationClass: keycloak
2828
oidc:
2929
clientCredentialsSecret: superset-keycloak-client
30-
userRegistrationRole: Gamma_extended
30+
userRegistrationRole: Gamma
3131
# Superset roles are assigned at every login based on the Keycloak group
3232
# memberships, see superset-regorules.yaml
3333
authorization:

stacks/stacks-v2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,9 @@ stacks:
542542
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/trino-regorules.yaml
543543
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/trino-policies.yaml
544544
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/rbac.yaml
545-
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/setup-postgresql.yaml
545+
- plainYaml: stacks/end-to-end-security/setup-postgresql.yaml
546546
- plainYaml: stacks/end-to-end-security/superset-regorules.yaml
547-
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/end-to-end-security/superset.yaml
547+
- plainYaml: stacks/end-to-end-security/superset.yaml
548548
parameters:
549549
- name: keycloakAdminPassword
550550
description: Password of the Keycloak admin user

0 commit comments

Comments
 (0)