fast2dev 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- f2dev/__init__.py +1 -0
- f2dev/__main__.py +5 -0
- f2dev/_bundle/platform/.dockerignore +80 -0
- f2dev/_bundle/platform/.gitignore +82 -0
- f2dev/_bundle/platform/LICENSE +202 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
- f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
- f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
- f2dev/_bundle/platform/cli/README.md +866 -0
- f2dev/_bundle/platform/cli/__init__.py +42 -0
- f2dev/_bundle/platform/cli/__main__.py +17 -0
- f2dev/_bundle/platform/cli/cert_providers.py +369 -0
- f2dev/_bundle/platform/cli/command_record.py +144 -0
- f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
- f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
- f2dev/_bundle/platform/cli/config/images.json +129 -0
- f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
- f2dev/_bundle/platform/cli/config.py +252 -0
- f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
- f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
- f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
- f2dev/_bundle/platform/cli/destroy.py +677 -0
- f2dev/_bundle/platform/cli/dns_check.py +27 -0
- f2dev/_bundle/platform/cli/dns_providers.py +405 -0
- f2dev/_bundle/platform/cli/exit_codes.py +32 -0
- f2dev/_bundle/platform/cli/fixers.py +56 -0
- f2dev/_bundle/platform/cli/generate_only.py +336 -0
- f2dev/_bundle/platform/cli/health_report.py +114 -0
- f2dev/_bundle/platform/cli/logging.py +206 -0
- f2dev/_bundle/platform/cli/main.py +5293 -0
- f2dev/_bundle/platform/cli/precheck.py +1523 -0
- f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
- f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
- f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
- f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
- f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
- f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
- f2dev/_bundle/platform/cli/restore.py +179 -0
- f2dev/_bundle/platform/cli/service_gates.py +160 -0
- f2dev/_bundle/platform/cli/state.py +332 -0
- f2dev/_bundle/platform/cli/wizard.py +782 -0
- f2dev/_bundle/platform/cli.py +235 -0
- f2dev/_bundle/platform/deployers/__init__.py +4 -0
- f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
- f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
- f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
- f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
- f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
- f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
- f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
- f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
- f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
- f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
- f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
- f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
- f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
- f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
- f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
- f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
- f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
- f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
- f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
- f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
- f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
- f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
- f2dev/_bundle/platform/readme.md +47 -0
- f2dev/_bundle/platform/requirements.txt +14 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
- f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
- f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
- f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/utils/__init__.py +0 -0
- f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
- f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
- f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
- f2dev/_bundle/platform/utils/helm_utils.py +215 -0
- f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
- f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
- f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
- f2dev/_bundle/platform/utils/raw_extras.py +34 -0
- f2dev/_bundle/platform/utils/readiness.py +330 -0
- f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
- f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
- f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
- f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
- f2dev/_bundle/terraform-modules/README.md +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
- f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
- f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
- f2dev/launcher.py +153 -0
- fast2dev-1.0.0.dist-info/METADATA +201 -0
- fast2dev-1.0.0.dist-info/RECORD +543 -0
- fast2dev-1.0.0.dist-info/WHEEL +4 -0
- fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
- fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
- fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml
ADDED
|
@@ -0,0 +1,1562 @@
|
|
|
1
|
+
## Fast2.Dev Deployment
|
|
2
|
+
# Helm deployment values for Service.
|
|
3
|
+
# Helm Chart name: {{ chart_name }}
|
|
4
|
+
# Helm Chart repo: {{ chart_repo }}
|
|
5
|
+
# Helm Chart version {{ chart_version }}
|
|
6
|
+
{%- raw %}
|
|
7
|
+
|
|
8
|
+
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
9
|
+
# contributor license agreements. See the NOTICE file distributed with
|
|
10
|
+
# this work for additional information regarding copyright ownership.
|
|
11
|
+
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
12
|
+
# (the "License"); you may not use this file except in compliance with
|
|
13
|
+
# the License. You may obtain a copy of the License at
|
|
14
|
+
#
|
|
15
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
#
|
|
17
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
+
# See the License for the specific language governing permissions and
|
|
21
|
+
# limitations under the License.
|
|
22
|
+
#
|
|
23
|
+
|
|
24
|
+
# Default values for superset.
|
|
25
|
+
# This is a YAML-formatted file.
|
|
26
|
+
# Declare variables to be passed into your templates.
|
|
27
|
+
|
|
28
|
+
# A README is automatically generated from this file to document it,
|
|
29
|
+
# using helm-docs (see https://github.com/norwoodj/helm-docs)
|
|
30
|
+
# To update it, install helm-docs and run helm-docs from the root of this chart
|
|
31
|
+
|
|
32
|
+
# -- Provide a name to override the name of the chart
|
|
33
|
+
nameOverride: ~
|
|
34
|
+
# -- Provide a name to override the full names of resources
|
|
35
|
+
fullnameOverride: "data-analysis-hub"
|
|
36
|
+
|
|
37
|
+
# -- Kubernetes cluster configuration
|
|
38
|
+
# Used for constructing service URLs between chart components
|
|
39
|
+
cluster:
|
|
40
|
+
# -- Kubernetes cluster domain (default: .svc.cluster.local)
|
|
41
|
+
# Override if using a custom cluster domain
|
|
42
|
+
domain: ".svc.cluster.local"
|
|
43
|
+
# -- Database service name (default: {{ .Release.Name }}-postgresql)
|
|
44
|
+
# Override if using a different service name for the database
|
|
45
|
+
databaseServiceName: ~
|
|
46
|
+
# -- Redis service name (default: {{ .Release.Name }}-redis-headless)
|
|
47
|
+
# Override if using a different service name for Redis
|
|
48
|
+
redisServiceName: ~
|
|
49
|
+
# -- WebSocket service name (default: {{ .Release.Name }}-ws)
|
|
50
|
+
# Override if using a different service name for the WebSocket service
|
|
51
|
+
websocketServiceName: ~
|
|
52
|
+
|
|
53
|
+
# -- Labels to be added to all resources
|
|
54
|
+
extraLabels: {}
|
|
55
|
+
|
|
56
|
+
# -- Global pod annotations to be added to all pods
|
|
57
|
+
# Use this to set annotations that apply to all Superset components
|
|
58
|
+
# Component-specific podAnnotations will be merged with these global annotations
|
|
59
|
+
globalPodAnnotations: {}
|
|
60
|
+
|
|
61
|
+
# -- User ID directive. This user must have enough permissions to run the bootstrap script
|
|
62
|
+
# Running containers as root is not recommended in production. Change this to another UID - e.g. 1000 to be more secure
|
|
63
|
+
runAsUser: 0
|
|
64
|
+
{%- endraw %}
|
|
65
|
+
# -- Specify rather or not helm should create the secret described in `secret-env.yaml` template
|
|
66
|
+
secretEnv:
|
|
67
|
+
# -- Change to false in order to support externally created secret (Binami "Sealed Secrets" for Kubernetes or External Secrets Operator)
|
|
68
|
+
# note: when externally creating the secret, the chart still expects to pull values from a secret with the name of the release defaults to `release-name-superset-env` - full logic located in _helpers.tpl file: `define "superset.fullname"`
|
|
69
|
+
create: true
|
|
70
|
+
# -- Annotations to be added to the secret
|
|
71
|
+
annotations: {}
|
|
72
|
+
|
|
73
|
+
# -- Specify service account name to be used
|
|
74
|
+
serviceAccountName: ~
|
|
75
|
+
serviceAccount:
|
|
76
|
+
# -- Create custom service account for Superset. If create: true and serviceAccountName is not provided, `superset.fullname` will be used.
|
|
77
|
+
create: true
|
|
78
|
+
annotations:
|
|
79
|
+
{%- if cloud_provider == "gcp" %}
|
|
80
|
+
{% if bi_data_k8s_sa %}
|
|
81
|
+
iam.gke.io/gcp-service-account: {{ bi_data_k8s_sa }}
|
|
82
|
+
{%- else %}
|
|
83
|
+
{}
|
|
84
|
+
{%- endif %}
|
|
85
|
+
{%- else %}
|
|
86
|
+
{}
|
|
87
|
+
{%- endif %}
|
|
88
|
+
{%- raw %}
|
|
89
|
+
# -- Install additional packages and do any other bootstrap configuration in this script
|
|
90
|
+
# For production clusters it's recommended to build own image with this step done in CI
|
|
91
|
+
# @default -- see `values.yaml`
|
|
92
|
+
|
|
93
|
+
bootstrapScript: |
|
|
94
|
+
#!/bin/bash
|
|
95
|
+
# Merge CA certificates
|
|
96
|
+
if [ -f /etc/fast2dev/certs/ca.crt ] && [ -f /etc/ssl/certs/ca-certificates.crt ]; then
|
|
97
|
+
echo "Merging custom CA with system CA certificates..."
|
|
98
|
+
mkdir -p /etc/fast2dev/ssl/certs
|
|
99
|
+
cat /etc/fast2dev/certs/ca.crt /etc/ssl/certs/ca-certificates.crt > /etc/fast2dev/ssl/certs/ca.crt
|
|
100
|
+
# Set proper permissions
|
|
101
|
+
chmod 644 /etc/fast2dev/ssl/certs/ca.crt
|
|
102
|
+
echo "CA certificates merged successfully"
|
|
103
|
+
else
|
|
104
|
+
echo "Warning: Required certificate files not found. Certificate merging skipped."
|
|
105
|
+
fi
|
|
106
|
+
|
|
107
|
+
if [ ! -f ~/bootstrap ]; then
|
|
108
|
+
echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap
|
|
109
|
+
fi
|
|
110
|
+
# -- The name of the secret which we will use to generate a superset_config.py file
|
|
111
|
+
# Note: this secret must have the key superset_config.py in it and can include other files as well
|
|
112
|
+
configFromSecret: '{{ template "superset.fullname" . }}-config'
|
|
113
|
+
|
|
114
|
+
# -- Specify whether Helm should apply additional settings to a secret containing configuration files
|
|
115
|
+
secretConfig:
|
|
116
|
+
# -- Annotations to be added to the secret which contains configuration files
|
|
117
|
+
annotations: {}
|
|
118
|
+
|
|
119
|
+
# -- The name of the secret which we will use to populate env vars in deployed pods
|
|
120
|
+
# This can be useful for secret keys, etc.
|
|
121
|
+
envFromSecret: '{{ template "superset.fullname" . }}-env'
|
|
122
|
+
# -- This can be a list of templated strings
|
|
123
|
+
envFromSecrets: []
|
|
124
|
+
{%- endraw %}
|
|
125
|
+
# -- Extra environment variables that will be passed into pods
|
|
126
|
+
extraEnv:
|
|
127
|
+
# Different gunicorn settings, refer to the gunicorn documentation
|
|
128
|
+
# https://docs.gunicorn.org/en/stable/settings.html#
|
|
129
|
+
# These variables are used as Flags at the gunicorn startup
|
|
130
|
+
# https://github.com/apache/superset/blob/master/docker/run-server.sh#L22
|
|
131
|
+
# Extend timeout to allow long running queries.
|
|
132
|
+
GUNICORN_TIMEOUT: 600
|
|
133
|
+
# Increase the gunicorn worker amount, can improve performance drastically
|
|
134
|
+
# See: https://docs.gunicorn.org/en/stable/design.html#how-many-workers
|
|
135
|
+
# SERVER_WORKER_AMOUNT: 6
|
|
136
|
+
# WORKER_MAX_REQUESTS: 0
|
|
137
|
+
# WORKER_MAX_REQUESTS_JITTER: 0
|
|
138
|
+
# SERVER_THREADS_AMOUNT: 12
|
|
139
|
+
# GUNICORN_KEEPALIVE: 4
|
|
140
|
+
# SERVER_LIMIT_REQUEST_LINE: 0
|
|
141
|
+
# SERVER_LIMIT_REQUEST_FIELD_SIZE: 0
|
|
142
|
+
SMTP_HOST: "{{ bi_smtp_host }}"
|
|
143
|
+
SMTP_USER: "{{ bi_smtp_user }}"
|
|
144
|
+
SMTP_PORT: "{{ bi_smtp_port }}"
|
|
145
|
+
SMTP_MAIL_FROM: "{{ bi_smtp_mail_from }}"
|
|
146
|
+
OIDC_SERVER_METADATA_URL: "{{ oauth_real_well_known_url }}"
|
|
147
|
+
OIDC_API_BASE_URL: "{{ oauth_protocol_url }}"
|
|
148
|
+
OIDC_ISSUER: "{{ oauth_realm_url }}"
|
|
149
|
+
GUEST_ROLE_NAME: "Public"
|
|
150
|
+
GUEST_TOKEN_JWT_EXP_SECONDS: 600
|
|
151
|
+
SUPERSET_WEBSERVER_BASEURL: "https://{{ ingress_host }}"
|
|
152
|
+
|
|
153
|
+
# # If a whitelist is not set, any address that can use your OAuth2 endpoint will be able to login.
|
|
154
|
+
# # this includes any random Gmail address if your OAuth2 Web App is set to External.
|
|
155
|
+
# OAUTH_WHITELIST_REGEX: ...
|
|
156
|
+
{%- raw %}
|
|
157
|
+
# -- Extra environment variables in RAW format that will be passed into pods
|
|
158
|
+
extraEnvRaw: []
|
|
159
|
+
# Load DB password from other secret (e.g. for zalando operator)
|
|
160
|
+
# - name: DB_PASS
|
|
161
|
+
# valueFrom:
|
|
162
|
+
# secretKeyRef:
|
|
163
|
+
# name: superset.superset-postgres.credentials.postgresql.acid.zalan.do
|
|
164
|
+
# key: password
|
|
165
|
+
{%- endraw %}
|
|
166
|
+
# -- Extra environment variables to pass as secrets
|
|
167
|
+
extraSecretEnv:
|
|
168
|
+
# MAPBOX_API_KEY: ...
|
|
169
|
+
# # Generate your own secret key for encryption. Use openssl rand -base64 42 to generate a good key
|
|
170
|
+
SUPERSET_SECRET_KEY: "{{ bi_cookie_secret }}"
|
|
171
|
+
SMTP_PASSWORD: "{{ bi_smtp_password }}"
|
|
172
|
+
OIDC_CLIENT_ID: "{{ oauth_client_id }}"
|
|
173
|
+
OIDC_CLIENT_SECRET: "{{ oauth_client_secret }}"
|
|
174
|
+
OIDC_SECRET_KEY: "{{ oauth_client_secret_token }}"
|
|
175
|
+
{%- raw %}
|
|
176
|
+
# -- Extra files to mount on `/app/pythonpath`
|
|
177
|
+
extraConfigs: {}
|
|
178
|
+
# import_datasources.yaml: |
|
|
179
|
+
# databases:
|
|
180
|
+
# - allow_file_upload: true
|
|
181
|
+
# allow_ctas: true
|
|
182
|
+
# allow_cvas: true
|
|
183
|
+
# database_name: example-db
|
|
184
|
+
# extra: "{\r\n \"metadata_params\": {},\r\n \"engine_params\": {},\r\n \"\
|
|
185
|
+
# metadata_cache_timeout\": {},\r\n \"schemas_allowed_for_file_upload\": []\r\n\
|
|
186
|
+
# }"
|
|
187
|
+
# sqlalchemy_uri: example://example-db.local
|
|
188
|
+
# tables: []
|
|
189
|
+
|
|
190
|
+
# -- Extra files to mount on `/app/pythonpath` as secrets
|
|
191
|
+
extraSecrets: {}
|
|
192
|
+
{%- endraw %}
|
|
193
|
+
{%- if cloud_provider == "self-managed" and dns_provider == "coredns" %}
|
|
194
|
+
extraVolumes:
|
|
195
|
+
- name: ca-certs
|
|
196
|
+
csi:
|
|
197
|
+
driver: csi.cert-manager.io
|
|
198
|
+
readOnly: true
|
|
199
|
+
volumeAttributes:
|
|
200
|
+
# This enables the trust functionality
|
|
201
|
+
csi.cert-manager.io/issuer-name: {{ customer }}-ca-issuer
|
|
202
|
+
csi.cert-manager.io/issuer-kind: ClusterIssuer
|
|
203
|
+
#csi.cert-manager.io/fs-group: "1000"
|
|
204
|
+
csi.cert-manager.io/mount-as: trusted-ca
|
|
205
|
+
- name: fast2dev-certs
|
|
206
|
+
emptyDir: {}
|
|
207
|
+
extraVolumeMounts:
|
|
208
|
+
- name: ca-certs
|
|
209
|
+
mountPath: /etc/fast2dev/certs
|
|
210
|
+
readOnly: false
|
|
211
|
+
- name: fast2dev-certs
|
|
212
|
+
mountPath: /etc/fast2dev/ssl/certs
|
|
213
|
+
readOnly: false
|
|
214
|
+
{%- else %}
|
|
215
|
+
{%- raw %}
|
|
216
|
+
extraVolumes: []
|
|
217
|
+
# - name: customConfig
|
|
218
|
+
# configMap:
|
|
219
|
+
# name: '{{ template "superset.fullname" . }}-custom-config'
|
|
220
|
+
# - name: additionalSecret
|
|
221
|
+
# secret:
|
|
222
|
+
# secretName: my-secret
|
|
223
|
+
# defaultMode: 0600
|
|
224
|
+
|
|
225
|
+
extraVolumeMounts: []
|
|
226
|
+
# - name: customConfig
|
|
227
|
+
# mountPath: /mnt/config
|
|
228
|
+
# readOnly: true
|
|
229
|
+
# - name: additionalSecret:
|
|
230
|
+
# mountPath: /mnt/secret
|
|
231
|
+
|
|
232
|
+
{%- endraw %}
|
|
233
|
+
{%- endif %}
|
|
234
|
+
{%- raw %}
|
|
235
|
+
# -- A dictionary of overrides to append at the end of superset_config.py - the name does not matter
|
|
236
|
+
# WARNING: the order is not guaranteed
|
|
237
|
+
# Files can be passed as helm --set-file configOverrides.my-override=my-file.py
|
|
238
|
+
configOverrides:
|
|
239
|
+
stats_logger: |
|
|
240
|
+
from superset.stats_logger import StatsdStatsLogger
|
|
241
|
+
STATS_LOGGER = StatsdStatsLogger(host="127.0.0.1", port=9125, prefix="superset")
|
|
242
|
+
extra_config: |
|
|
243
|
+
FEATURE_FLAGS = {
|
|
244
|
+
"EMBEDDED_SUPERSET": True,
|
|
245
|
+
}
|
|
246
|
+
OVERRIDE_HTTP_HEADERS = {'X-Frame-Options': 'ALLOWALL'}
|
|
247
|
+
TALISMAN_ENABLED = False
|
|
248
|
+
ENABLE_CORS = True
|
|
249
|
+
HTTP_HEADERS={"X-Frame-Options":"ALLOWALL"}
|
|
250
|
+
enable_swagger: |
|
|
251
|
+
FAB_API_SWAGGER_UI = True
|
|
252
|
+
FAB_ADD_SECURITY_API = True
|
|
253
|
+
from flask import session
|
|
254
|
+
from flask import Flask
|
|
255
|
+
from datetime import timedelta
|
|
256
|
+
|
|
257
|
+
# Set up max age of session to 24 hours
|
|
258
|
+
PERMANENT_SESSION_LIFETIME = timedelta(hours=24)
|
|
259
|
+
MAX_COOKIE_SIZE = 4096*1024
|
|
260
|
+
enable_oauth: |
|
|
261
|
+
import os
|
|
262
|
+
import logging
|
|
263
|
+
import jwt
|
|
264
|
+
import requests
|
|
265
|
+
from datetime import timedelta
|
|
266
|
+
from base64 import b64decode
|
|
267
|
+
from cryptography.hazmat.primitives import serialization
|
|
268
|
+
from tokenize import Exponent
|
|
269
|
+
from flask_appbuilder.security.manager import AUTH_OAUTH
|
|
270
|
+
from superset.security import SupersetSecurityManager
|
|
271
|
+
from flask_appbuilder import expose
|
|
272
|
+
from flask_appbuilder.security.views import AuthOAuthView
|
|
273
|
+
import logging
|
|
274
|
+
from logging.handlers import RotatingFileHandler
|
|
275
|
+
{%- endraw %}
|
|
276
|
+
{%- if cloud_provider == "self-managed" and dns_provider == "coredns" %}
|
|
277
|
+
os.environ['SSL_CERT_FILE'] = "/etc/fast2dev/ssl/certs/ca.crt"
|
|
278
|
+
os.environ['REQUESTS_CA_BUNDLE'] = "/etc/fast2dev/ssl/certs/ca.crt"
|
|
279
|
+
{%- endif %}
|
|
280
|
+
{%- raw %}
|
|
281
|
+
# Set up a specific logger with our desired output level
|
|
282
|
+
log = logging.getLogger(__name__)
|
|
283
|
+
|
|
284
|
+
# log.setLevel(logging.DEBUG)
|
|
285
|
+
|
|
286
|
+
# # Add the log message handler to the logger
|
|
287
|
+
# handler = RotatingFileHandler('superset_custom_auth.log', maxBytes=10000, backupCount=1)
|
|
288
|
+
# handler.setLevel(logging.DEBUG)
|
|
289
|
+
|
|
290
|
+
# # Create a logging format
|
|
291
|
+
# formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
|
292
|
+
# handler.setFormatter(formatter)
|
|
293
|
+
|
|
294
|
+
# # Add the handler to the logger
|
|
295
|
+
# log.addHandler(handler)
|
|
296
|
+
|
|
297
|
+
# Flask-WTF flag for CSRF
|
|
298
|
+
WTF_CSRF_ENABLED = False
|
|
299
|
+
# ----------------------------------------------------
|
|
300
|
+
# AUTHENTICATION CONFIG
|
|
301
|
+
# ----------------------------------------------------
|
|
302
|
+
# For details on how to set up each of the following authentication, see
|
|
303
|
+
# http://flask-appbuilder.readthedocs.io/en/latest/security.html# authentication-methods
|
|
304
|
+
# for details.
|
|
305
|
+
|
|
306
|
+
AUTH_TYPE = AUTH_OAUTH
|
|
307
|
+
|
|
308
|
+
AUTH_USER_REGISTRATION = True
|
|
309
|
+
AUTH_ROLES_SYNC_AT_LOGIN = True
|
|
310
|
+
AUTH_ROLES_MAPPING = {
|
|
311
|
+
"Admin": ["Admin"],
|
|
312
|
+
"User": ["Alpha"],
|
|
313
|
+
"Viewer": ["Gamma"]
|
|
314
|
+
}
|
|
315
|
+
SESSION_COOKIE_SECURE = True
|
|
316
|
+
OIDC_COOKIE_SECURE = True
|
|
317
|
+
# TLS terminates at the ingress; without these FAB builds OAuth
|
|
318
|
+
# redirect_uri as http://bi.../oauth-authorized/... which Mixed-Content
|
|
319
|
+
# blocks when the control plane embeds BI in an https iframe.
|
|
320
|
+
ENABLE_PROXY_FIX = True
|
|
321
|
+
PREFERRED_URL_SCHEME = "https"
|
|
322
|
+
CLIENT_ID = os.environ.get('OIDC_CLIENT_ID')
|
|
323
|
+
CLIENT_SECRET = os.environ.get('OIDC_CLIENT_SECRET')
|
|
324
|
+
OIDC_SERVER_METADATA_URL = os.environ.get('OIDC_SERVER_METADATA_URL')
|
|
325
|
+
OIDC_API_BASE_URL = os.environ.get('OIDC_API_BASE_URL')
|
|
326
|
+
OIDC_ISSUER = os.environ.get('OIDC_ISSUER')
|
|
327
|
+
# Public HTTPS origin (also set as SUPERSET_WEBSERVER_BASEURL env).
|
|
328
|
+
# Used to pin the OAuth callback so scheme never falls back to http.
|
|
329
|
+
SUPERSET_WEBSERVER_BASEURL = (os.environ.get('SUPERSET_WEBSERVER_BASEURL') or '').rstrip('/')
|
|
330
|
+
OAUTH_REDIRECT_URI = (
|
|
331
|
+
f"{SUPERSET_WEBSERVER_BASEURL}/oauth-authorized/Fast2.Dev-SSO"
|
|
332
|
+
if SUPERSET_WEBSERVER_BASEURL else None
|
|
333
|
+
)
|
|
334
|
+
|
|
335
|
+
OAUTH_PROVIDERS = [
|
|
336
|
+
{
|
|
337
|
+
'name': 'Fast2.Dev-SSO',
|
|
338
|
+
'icon': 'fa-key',
|
|
339
|
+
'token_key': 'access_token', # Keycloak uses 'access_token' for the access token
|
|
340
|
+
'remote_app': {
|
|
341
|
+
'client_id': CLIENT_ID,
|
|
342
|
+
'client_secret': CLIENT_SECRET,
|
|
343
|
+
'client_kwargs': {
|
|
344
|
+
'scope': 'openid profile email groups',
|
|
345
|
+
},
|
|
346
|
+
'server_metadata_url': OIDC_SERVER_METADATA_URL,
|
|
347
|
+
'api_base_url': OIDC_API_BASE_URL,
|
|
348
|
+
**({'redirect_uri': OAUTH_REDIRECT_URI} if OAUTH_REDIRECT_URI else {}),
|
|
349
|
+
},
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
req = requests.get(OIDC_ISSUER)
|
|
354
|
+
#logging.debug(f"Oauth2 provider with req: {req}")
|
|
355
|
+
key_der_base64 = req.json()["public_key"]
|
|
356
|
+
key_der = b64decode(key_der_base64.encode())
|
|
357
|
+
public_key = serialization.load_der_public_key(key_der)
|
|
358
|
+
|
|
359
|
+
class CustomAuthRemoteUserView(AuthOAuthView):
|
|
360
|
+
@expose("/logout/")
|
|
361
|
+
def logout(self):
|
|
362
|
+
"""Delete access token before logging out."""
|
|
363
|
+
return super().logout()
|
|
364
|
+
|
|
365
|
+
class CustomSecurityManager(SupersetSecurityManager):
|
|
366
|
+
authoauthview = CustomAuthRemoteUserView
|
|
367
|
+
|
|
368
|
+
def oauth_user_info(self, provider, response):
|
|
369
|
+
if provider == "Fast2.Dev-SSO":
|
|
370
|
+
token = response["access_token"]
|
|
371
|
+
me = jwt.decode(token, public_key, algorithms=['HS256', 'RS256'], audience=CLIENT_ID)
|
|
372
|
+
#Debug
|
|
373
|
+
#logging.debug(f"Oauth2 provider with me: {me}")
|
|
374
|
+
# Retrieve both realm_access roles and groups from the JWT token
|
|
375
|
+
roles = me.get("realm_access", {}).get("roles", [])
|
|
376
|
+
groups = me.get("groups", [])
|
|
377
|
+
|
|
378
|
+
# Specify the required group
|
|
379
|
+
required_group = '/Data Platform Services/Data_Analysis'
|
|
380
|
+
|
|
381
|
+
# Check if the user is part of the required group
|
|
382
|
+
if required_group not in groups:
|
|
383
|
+
# If the user is not part of the required group, handle accordingly
|
|
384
|
+
# For example, log the attempt and return an empty dict to deny login
|
|
385
|
+
log.info(f"User {me.get('preferred_username')} not authorized. Missing required group: {required_group}")
|
|
386
|
+
return {} # Deny login
|
|
387
|
+
|
|
388
|
+
# If the user is part of the required group, process as before
|
|
389
|
+
if len(roles) < 1:
|
|
390
|
+
roles = ["Public"]
|
|
391
|
+
else:
|
|
392
|
+
roles = [role_str for role_str in roles]
|
|
393
|
+
|
|
394
|
+
username = me.get("preferred_username") or (me.get("email") or "").split("@")[0]
|
|
395
|
+
userinfo = {
|
|
396
|
+
"username": me.get("preferred_username"),
|
|
397
|
+
"email": me.get("email"),
|
|
398
|
+
"first_name": me.get("given_name") or username,
|
|
399
|
+
"last_name": me.get("family_name") or username,
|
|
400
|
+
"role_keys": roles,
|
|
401
|
+
}
|
|
402
|
+
log.info("user info: {0}".format(userinfo))
|
|
403
|
+
return userinfo
|
|
404
|
+
else:
|
|
405
|
+
return {}
|
|
406
|
+
CUSTOM_SECURITY_MANAGER = CustomSecurityManager
|
|
407
|
+
|
|
408
|
+
# Guarantee FAB url_for(_external=True) OAuth callbacks use https even if
|
|
409
|
+
# a hop drops X-Forwarded-Proto (public entry is always TLS at the ingress).
|
|
410
|
+
def FLASK_APP_MUTATOR(app):
|
|
411
|
+
@app.before_request
|
|
412
|
+
def _force_https_url_scheme():
|
|
413
|
+
from flask import request as _req
|
|
414
|
+
_req.environ["wsgi.url_scheme"] = "https"
|
|
415
|
+
_install_mcp_user_resolver()
|
|
416
|
+
mcp_auth: |
|
|
417
|
+
import os as _mcp_os
|
|
418
|
+
_MCP_ISSUER = (_mcp_os.environ.get('OIDC_ISSUER') or '').rstrip('/')
|
|
419
|
+
MCP_AUTH_ENABLED = bool(_MCP_ISSUER)
|
|
420
|
+
MCP_JWT_ALGORITHM = "RS256"
|
|
421
|
+
MCP_JWKS_URI = f"{_MCP_ISSUER}/protocol/openid-connect/certs" if _MCP_ISSUER else None
|
|
422
|
+
MCP_JWT_ISSUER = _MCP_ISSUER or None
|
|
423
|
+
MCP_JWT_AUDIENCE = [a.strip() for a in (_mcp_os.environ.get('MCP_JWT_AUDIENCE') or 'data-mcp-hub-fast2dev-data-platform,bi-fast2dev-data-platform').split(',') if a.strip()]
|
|
424
|
+
MCP_SERVICE_URL = (_mcp_os.environ.get('SUPERSET_WEBSERVER_BASEURL') or '').rstrip('/') or None
|
|
425
|
+
MCP_RBAC_ENABLED = True
|
|
426
|
+
MCP_DEV_USERNAME = _mcp_os.environ.get('MCP_SERVICE_USERNAME') or 'mcp-service'
|
|
427
|
+
|
|
428
|
+
def _mcp_token_claims():
|
|
429
|
+
try:
|
|
430
|
+
from fastmcp.server.dependencies import get_access_token
|
|
431
|
+
token = get_access_token()
|
|
432
|
+
except Exception:
|
|
433
|
+
return None
|
|
434
|
+
return dict(getattr(token, "claims", None) or {}) if token else None
|
|
435
|
+
|
|
436
|
+
def _install_mcp_user_resolver():
|
|
437
|
+
import sys as _sys
|
|
438
|
+
if "mcp" not in _sys.argv:
|
|
439
|
+
return
|
|
440
|
+
try:
|
|
441
|
+
from superset.mcp_service import auth as _mcp_auth
|
|
442
|
+
except Exception:
|
|
443
|
+
return
|
|
444
|
+
if getattr(_mcp_auth, "_fast2dev_user_resolver", False):
|
|
445
|
+
return
|
|
446
|
+
_service_user = _mcp_auth.get_user_from_request
|
|
447
|
+
|
|
448
|
+
def get_user_from_request():
|
|
449
|
+
claims = _mcp_token_claims()
|
|
450
|
+
username = (claims or {}).get("preferred_username") or ""
|
|
451
|
+
if not username or username.startswith("service-account-"):
|
|
452
|
+
return _service_user()
|
|
453
|
+
user = _mcp_auth.load_user_with_relationships(username)
|
|
454
|
+
if not user or not getattr(user, "is_active", True):
|
|
455
|
+
raise ValueError(f"MCP user '{username}' has no active Superset account; sign in to Superset once first")
|
|
456
|
+
return user
|
|
457
|
+
|
|
458
|
+
_mcp_auth.get_user_from_request = get_user_from_request
|
|
459
|
+
_mcp_auth._fast2dev_user_resolver = True
|
|
460
|
+
secret: |
|
|
461
|
+
# Generate your own secret key for encryption. Use openssl rand -base64 42 to generate a good key
|
|
462
|
+
SECRET_KEY = os.environ.get('OIDC_SECRET_KEY')
|
|
463
|
+
smtp: |
|
|
464
|
+
import ast
|
|
465
|
+
SMTP_HOST = os.getenv("SMTP_HOST","localhost")
|
|
466
|
+
SMTP_STARTTLS = ast.literal_eval(os.getenv("SMTP_STARTTLS", "True"))
|
|
467
|
+
SMTP_SSL = ast.literal_eval(os.getenv("SMTP_SSL", "False"))
|
|
468
|
+
SMTP_USER = os.getenv("SMTP_USER","superset")
|
|
469
|
+
SMTP_PORT = os.getenv("SMTP_PORT",25)
|
|
470
|
+
SMTP_PASSWORD = os.getenv("SMTP_PASSWORD","superset")
|
|
471
|
+
# -- Same as above but the values are files
|
|
472
|
+
configOverridesFiles:
|
|
473
|
+
# extend_timeout: extend_timeout.py
|
|
474
|
+
# enable_oauth: /app/pythonpath/keycloak_security_manager.py
|
|
475
|
+
|
|
476
|
+
configMountPath: "/app/pythonpath"
|
|
477
|
+
|
|
478
|
+
extraConfigMountPath: "/app/configs"
|
|
479
|
+
|
|
480
|
+
image:
|
|
481
|
+
repository: docker.io/m7xlab/fast2dev-analysis-superset
|
|
482
|
+
tag: "v6.1.0-1.0.0"
|
|
483
|
+
pullPolicy: IfNotPresent
|
|
484
|
+
|
|
485
|
+
imagePullSecrets: []
|
|
486
|
+
|
|
487
|
+
service:
|
|
488
|
+
type: ClusterIP
|
|
489
|
+
port: 8088
|
|
490
|
+
annotations: {}
|
|
491
|
+
# cloud.google.com/load-balancer-type: "Internal"
|
|
492
|
+
loadBalancerIP: ~
|
|
493
|
+
nodePort:
|
|
494
|
+
# -- (int)
|
|
495
|
+
http: nil
|
|
496
|
+
{%- endraw %}
|
|
497
|
+
ingress:
|
|
498
|
+
enabled: true
|
|
499
|
+
ingressClassName: traefik
|
|
500
|
+
annotations:
|
|
501
|
+
external-dns.alpha.kubernetes.io/hostname: {{ ingress_host }}
|
|
502
|
+
# cert-manager.io/cluster-issuer: lets-encrypt-issuer
|
|
503
|
+
traefik.ingress.kubernetes.io/router.middlewares: traefik-ingress-redirect-https@kubernetescrd
|
|
504
|
+
path: /
|
|
505
|
+
pathType: ImplementationSpecific
|
|
506
|
+
hosts:
|
|
507
|
+
- {{ ingress_host }}
|
|
508
|
+
tls: [] # Using Fast2.Dev WildCard Certificate namespace traefik-ingress
|
|
509
|
+
# - secretName: superset-tls-cert
|
|
510
|
+
# hosts:
|
|
511
|
+
# - {{ ingress_host }}
|
|
512
|
+
extraHostsRaw: []
|
|
513
|
+
# - secretName: chart-example-tls
|
|
514
|
+
# hosts:
|
|
515
|
+
# - chart-example.local
|
|
516
|
+
{%- raw %}
|
|
517
|
+
# -- Gateway API HTTPRoute for exposing Superset via a Gateway.
|
|
518
|
+
# Requires the Gateway API CRDs (gateway.networking.k8s.io/v1) installed in the cluster.
|
|
519
|
+
# @default -- see `values.yaml`
|
|
520
|
+
httproute:
|
|
521
|
+
enabled: false
|
|
522
|
+
# -- HTTPRoute apiVersion. Override to gateway.networking.k8s.io/v1beta1 for
|
|
523
|
+
# older Gateway API installations that have not promoted HTTPRoute to v1.
|
|
524
|
+
apiVersion: gateway.networking.k8s.io/v1
|
|
525
|
+
# -- Additional labels to add to the HTTPRoute
|
|
526
|
+
labels: {}
|
|
527
|
+
# -- Annotations to add to the HTTPRoute
|
|
528
|
+
annotations: {}
|
|
529
|
+
# -- Gateways this HTTPRoute attaches to
|
|
530
|
+
parentRefs: []
|
|
531
|
+
# - name: my-gateway
|
|
532
|
+
# namespace: gateway-system
|
|
533
|
+
# sectionName: https
|
|
534
|
+
# -- Hostnames that match against the HTTP Host header (templated)
|
|
535
|
+
hostnames: []
|
|
536
|
+
# - chart-example.local
|
|
537
|
+
# -- Routing rules. Each rule is backed by the Superset service. Set `weight`
|
|
538
|
+
# per rule to leave room for traffic splitting (defaults to 1). When
|
|
539
|
+
# `supersetWebsockets.enabled` is true, an extra rule routing
|
|
540
|
+
# `supersetWebsockets.ingress.path` to the `-ws` service is appended
|
|
541
|
+
# automatically, mirroring the ingress behavior. When both `supersetMcp.enabled` and
|
|
542
|
+
# `supersetMcp.httproute.enabled` are true, an extra rule routing
|
|
543
|
+
# `supersetMcp.httproute.path` to the `-mcp` service is also appended.
|
|
544
|
+
rules:
|
|
545
|
+
- matches:
|
|
546
|
+
- path:
|
|
547
|
+
type: PathPrefix
|
|
548
|
+
value: /
|
|
549
|
+
# weight: 1
|
|
550
|
+
# filters: []
|
|
551
|
+
# timeouts: {}
|
|
552
|
+
|
|
553
|
+
resources:
|
|
554
|
+
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
555
|
+
# choice for the user. This also increases chances charts run on environments with little
|
|
556
|
+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
557
|
+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
558
|
+
# The limits below will apply to all Superset components. To set individual resource limitations refer to the pod specific values below.
|
|
559
|
+
# The pod specific values will overwrite anything that is set here.
|
|
560
|
+
limits:
|
|
561
|
+
cpu: 1000m
|
|
562
|
+
memory: 2048Mi
|
|
563
|
+
requests:
|
|
564
|
+
cpu: 600m
|
|
565
|
+
memory: 1024Mi
|
|
566
|
+
|
|
567
|
+
# -- Custom hostAliases for all superset pods
|
|
568
|
+
## https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
|
|
569
|
+
hostAliases: []
|
|
570
|
+
# - hostnames:
|
|
571
|
+
# - nodns.my.lan
|
|
572
|
+
# ip: 18.27.36.45
|
|
573
|
+
|
|
574
|
+
{%- endraw %}
|
|
575
|
+
# -- Database connection configuration for the Superset metadata database
|
|
576
|
+
database:
|
|
577
|
+
# -- Full database URI (overrides host/port/user/pass/name if set)
|
|
578
|
+
# Example: "postgresql+psycopg2://user:pass@host:5432/dbname"
|
|
579
|
+
uri: ~
|
|
580
|
+
# -- Database driver used when uri is not set (default: postgresql+psycopg2 when unset;
|
|
581
|
+
# legacy supersetNode.connections.db_type is honored when this is unset)
|
|
582
|
+
driver: ~
|
|
583
|
+
# -- Database host (default: data-analysis-postgresql)
|
|
584
|
+
host: "{{ bi_psql_host }}"
|
|
585
|
+
# -- Database port (default: 5432 when unset; legacy supersetNode.connections.db_port is honored)
|
|
586
|
+
port: "{{ bi_psql_port }}"
|
|
587
|
+
# -- Database user (default: superset, resolved via superset.db.user)
|
|
588
|
+
user: "{{ bi_psql_username }}"
|
|
589
|
+
# -- Database password (default: superset, resolved via superset.db.password)
|
|
590
|
+
# ⚠️ CHANGE THIS for production
|
|
591
|
+
password: "{{ bi_psql_password }}"
|
|
592
|
+
# -- Database name (default: superset, resolved via superset.db.name)
|
|
593
|
+
name: "{{ bi_psql_database }}"
|
|
594
|
+
# -- Database SSL configuration
|
|
595
|
+
ssl:
|
|
596
|
+
enabled: true
|
|
597
|
+
mode: prefer
|
|
598
|
+
|
|
599
|
+
# -- Redis cache configuration for Superset
|
|
600
|
+
# Redis is optional but recommended for caching and Celery.
|
|
601
|
+
# If redis.enabled (chart dependency) is true, defaults point to the chart's Redis instance.
|
|
602
|
+
cache:
|
|
603
|
+
# -- Enable Redis-based features (cache, Celery). Set to false to disable Redis usage entirely.
|
|
604
|
+
enabled: true
|
|
605
|
+
# -- Full Redis cache URL (overrides host/port/user/pass if set)
|
|
606
|
+
cacheUrl: ~
|
|
607
|
+
# -- Full Redis Celery URL (overrides host/port/user/pass if set)
|
|
608
|
+
celeryUrl: ~
|
|
609
|
+
# -- Redis host (default: data-analysis-redis-headless)
|
|
610
|
+
host: "data-analysis-valkey"
|
|
611
|
+
# -- Redis port (default: 6379 when unset; legacy supersetNode.connections.redis_port is honored)
|
|
612
|
+
port: "6379"
|
|
613
|
+
# -- Redis user (optional, for Redis ACL)
|
|
614
|
+
user: ""
|
|
615
|
+
# -- Redis password
|
|
616
|
+
password: "{{ bi_cache_redis_password }}"
|
|
617
|
+
# -- Redis database number for cache (default: 1 when unset; legacy redis_cache_db is honored)
|
|
618
|
+
cacheDb: "1"
|
|
619
|
+
# -- Redis database number for Celery (default: 0 when unset; legacy redis_celery_db is honored)
|
|
620
|
+
celeryDb: "0"
|
|
621
|
+
# -- Cache key prefix
|
|
622
|
+
keyPrefix: "superset_"
|
|
623
|
+
# -- Default cache timeout in seconds
|
|
624
|
+
defaultTimeout: 86400
|
|
625
|
+
# -- Results backend key prefix
|
|
626
|
+
resultsBackendKeyPrefix: "superset_results"
|
|
627
|
+
# -- Async queries configuration
|
|
628
|
+
asyncQueries:
|
|
629
|
+
keyPrefix: "qc-"
|
|
630
|
+
timeout: 86400
|
|
631
|
+
# -- Redis Sentinel configuration (optional)
|
|
632
|
+
sentinel: ~
|
|
633
|
+
# -- Redis SSL configuration
|
|
634
|
+
ssl:
|
|
635
|
+
enabled: false
|
|
636
|
+
ssl_cert_reqs: required
|
|
637
|
+
certfile: ~
|
|
638
|
+
keyfile: ~
|
|
639
|
+
ca_certs: ~
|
|
640
|
+
# -- Custom Redis driver (e.g. TLS/managed variants); overrides the redis proto in URLs when set.
|
|
641
|
+
# Ports the legacy supersetNode.connections.redis_driver escape hatch.
|
|
642
|
+
driver: ""
|
|
643
|
+
{%- raw %}
|
|
644
|
+
|
|
645
|
+
# -- Superset configuration properties
|
|
646
|
+
# Set any configuration property from superset/config.py here
|
|
647
|
+
# See https://github.com/apache/superset/blob/master/superset/config.py for all available options
|
|
648
|
+
config: {}
|
|
649
|
+
# SECRET_KEY: "your-secret-key-here"
|
|
650
|
+
# ROW_LIMIT: 50000
|
|
651
|
+
# DEBUG: false
|
|
652
|
+
|
|
653
|
+
# -- Feature flags configuration
|
|
654
|
+
# See https://github.com/apache/superset/blob/master/RESOURCES/FEATURE_FLAGS.md
|
|
655
|
+
featureFlags: {}
|
|
656
|
+
# ALERT_REPORTS: true
|
|
657
|
+
# DASHBOARD_RBAC: true
|
|
658
|
+
|
|
659
|
+
# Superset node configuration
|
|
660
|
+
supersetNode:
|
|
661
|
+
replicas:
|
|
662
|
+
enabled: true
|
|
663
|
+
replicaCount: 1
|
|
664
|
+
autoscaling:
|
|
665
|
+
enabled: false
|
|
666
|
+
minReplicas: 1
|
|
667
|
+
maxReplicas: 100
|
|
668
|
+
targetCPUUtilizationPercentage: 80
|
|
669
|
+
# targetMemoryUtilizationPercentage: 80
|
|
670
|
+
# -- Sets the [pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for supersetNode pods
|
|
671
|
+
podDisruptionBudget:
|
|
672
|
+
# -- Whether the pod disruption budget should be created
|
|
673
|
+
enabled: false
|
|
674
|
+
# -- If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
675
|
+
minAvailable: 1
|
|
676
|
+
# -- If set, minAvailable must be unset (`minAvailable: ~`) - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
677
|
+
maxUnavailable: ~
|
|
678
|
+
|
|
679
|
+
# -- Startup command
|
|
680
|
+
# @default -- See `values.yaml`
|
|
681
|
+
command:
|
|
682
|
+
- "/bin/sh"
|
|
683
|
+
- "-c"
|
|
684
|
+
- ". {{ .Values.configMountPath }}/superset_bootstrap.sh; exec /usr/bin/run-server.sh"
|
|
685
|
+
env: {}
|
|
686
|
+
# -- If true, forces deployment to reload on each upgrade
|
|
687
|
+
forceReload: false
|
|
688
|
+
# -- Init containers
|
|
689
|
+
# @default -- a container waiting for postgres
|
|
690
|
+
initContainers:
|
|
691
|
+
- name: wait-for-postgres
|
|
692
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
693
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
694
|
+
envFrom:
|
|
695
|
+
- secretRef:
|
|
696
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
697
|
+
command:
|
|
698
|
+
- /bin/bash
|
|
699
|
+
- -c
|
|
700
|
+
- |
|
|
701
|
+
# opening a /dev/tcp fd performs a TCP connect without sending any
|
|
702
|
+
# payload (avoids postgres "incomplete startup packet" log noise);
|
|
703
|
+
# no external `dockerize`, `nc`, or busybox needed. SECONDS-based
|
|
704
|
+
# deadline mirrors the prior `dockerize -timeout 120s` behaviour.
|
|
705
|
+
SECONDS=0
|
|
706
|
+
until (exec 3<>/dev/tcp/"$DB_HOST"/"$DB_PORT") 2>/dev/null; do
|
|
707
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
708
|
+
echo "timeout waiting for postgres at $DB_HOST:$DB_PORT after 120s" >&2
|
|
709
|
+
exit 1
|
|
710
|
+
fi
|
|
711
|
+
echo "waiting for postgres at $DB_HOST:$DB_PORT (elapsed ${SECONDS}s)"
|
|
712
|
+
sleep 2
|
|
713
|
+
done
|
|
714
|
+
echo "postgres at $DB_HOST:$DB_PORT is up"
|
|
715
|
+
resources:
|
|
716
|
+
limits:
|
|
717
|
+
memory: "256Mi"
|
|
718
|
+
requests:
|
|
719
|
+
cpu: "250m"
|
|
720
|
+
memory: "128Mi"
|
|
721
|
+
|
|
722
|
+
# -- Extra init containers appended after supersetNode initContainers
|
|
723
|
+
extraInitContainers: []
|
|
724
|
+
# -- Launch additional containers into supersetNode pod
|
|
725
|
+
extraContainers:
|
|
726
|
+
- name: statsd-exporter
|
|
727
|
+
image: prom/statsd-exporter:v0.31.0
|
|
728
|
+
imagePullPolicy: IfNotPresent
|
|
729
|
+
args:
|
|
730
|
+
- --statsd.listen-udp=:9125
|
|
731
|
+
- --statsd.listen-tcp=
|
|
732
|
+
- --web.listen-address=:9102
|
|
733
|
+
ports:
|
|
734
|
+
- name: metrics
|
|
735
|
+
containerPort: 9102
|
|
736
|
+
protocol: TCP
|
|
737
|
+
resources:
|
|
738
|
+
requests:
|
|
739
|
+
cpu: 10m
|
|
740
|
+
memory: 32Mi
|
|
741
|
+
limits:
|
|
742
|
+
memory: 64Mi
|
|
743
|
+
# -- Annotations to be added to supersetNode deployment
|
|
744
|
+
deploymentAnnotations: {}
|
|
745
|
+
# -- Labels to be added to supersetNode deployment
|
|
746
|
+
deploymentLabels: {}
|
|
747
|
+
# -- Custom pod spec to be added to supersetNode deployment
|
|
748
|
+
deploymentAdditionalPodSpec: {}
|
|
749
|
+
# -- Affinity to be added to supersetNode deployment
|
|
750
|
+
affinity: {}
|
|
751
|
+
# -- TopologySpreadConstrains to be added to supersetNode deployments
|
|
752
|
+
topologySpreadConstraints: []
|
|
753
|
+
# -- Annotations to be added to supersetNode pods
|
|
754
|
+
podAnnotations: {}
|
|
755
|
+
# -- Labels to be added to supersetNode pods
|
|
756
|
+
podLabels:
|
|
757
|
+
fast2dev: data-analysis-hub
|
|
758
|
+
startupProbe:
|
|
759
|
+
httpGet:
|
|
760
|
+
path: /health
|
|
761
|
+
port: http
|
|
762
|
+
initialDelaySeconds: 15
|
|
763
|
+
timeoutSeconds: 1
|
|
764
|
+
failureThreshold: 360
|
|
765
|
+
periodSeconds: 10
|
|
766
|
+
successThreshold: 1
|
|
767
|
+
livenessProbe:
|
|
768
|
+
httpGet:
|
|
769
|
+
path: /health
|
|
770
|
+
port: http
|
|
771
|
+
initialDelaySeconds: 15
|
|
772
|
+
timeoutSeconds: 1
|
|
773
|
+
failureThreshold: 3
|
|
774
|
+
periodSeconds: 15
|
|
775
|
+
successThreshold: 1
|
|
776
|
+
readinessProbe:
|
|
777
|
+
httpGet:
|
|
778
|
+
path: /health
|
|
779
|
+
port: http
|
|
780
|
+
initialDelaySeconds: 15
|
|
781
|
+
timeoutSeconds: 1
|
|
782
|
+
failureThreshold: 3
|
|
783
|
+
periodSeconds: 15
|
|
784
|
+
successThreshold: 1
|
|
785
|
+
# -- Container lifecycle hooks, e.g. a preStop sleep so the Service/Ingress
|
|
786
|
+
# stops routing to the pod before gunicorn receives SIGTERM
|
|
787
|
+
lifecycle: {}
|
|
788
|
+
# -- Pod termination grace period (seconds). Set greater than GUNICORN_TIMEOUT so
|
|
789
|
+
# in-flight requests can drain before SIGKILL
|
|
790
|
+
terminationGracePeriodSeconds: ~
|
|
791
|
+
# -- Resource settings for the supersetNode pods - these settings overwrite might existing values from the global resources object defined above.
|
|
792
|
+
resources:
|
|
793
|
+
limits: {}
|
|
794
|
+
requests:
|
|
795
|
+
cpu: 100m
|
|
796
|
+
memory: 128Mi
|
|
797
|
+
podSecurityContext: {}
|
|
798
|
+
containerSecurityContext: {}
|
|
799
|
+
strategy: {}
|
|
800
|
+
# type: RollingUpdate
|
|
801
|
+
# rollingUpdate:
|
|
802
|
+
# maxSurge: 25%
|
|
803
|
+
# maxUnavailable: 25%
|
|
804
|
+
|
|
805
|
+
# Superset Celery worker configuration
|
|
806
|
+
supersetWorker:
|
|
807
|
+
replicas:
|
|
808
|
+
enabled: true
|
|
809
|
+
replicaCount: 1
|
|
810
|
+
autoscaling:
|
|
811
|
+
enabled: false
|
|
812
|
+
minReplicas: 1
|
|
813
|
+
maxReplicas: 100
|
|
814
|
+
targetCPUUtilizationPercentage: 80
|
|
815
|
+
# targetMemoryUtilizationPercentage: 80
|
|
816
|
+
# -- Sets the [pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for supersetWorker pods
|
|
817
|
+
podDisruptionBudget:
|
|
818
|
+
# -- Whether the pod disruption budget should be created
|
|
819
|
+
enabled: false
|
|
820
|
+
# -- If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
821
|
+
minAvailable: 1
|
|
822
|
+
# -- If set, minAvailable must be unset (`minAvailable: ~`) - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
823
|
+
maxUnavailable: ~
|
|
824
|
+
# -- Worker startup command
|
|
825
|
+
# @default -- a `celery worker` command
|
|
826
|
+
command:
|
|
827
|
+
- "/bin/sh"
|
|
828
|
+
- "-c"
|
|
829
|
+
- ". {{ .Values.configMountPath }}/superset_bootstrap.sh; exec celery --app=superset.tasks.celery_app:app worker"
|
|
830
|
+
# -- If true, forces deployment to reload on each upgrade
|
|
831
|
+
forceReload: false
|
|
832
|
+
# -- Init container
|
|
833
|
+
# @default -- a container waiting for postgres and redis
|
|
834
|
+
initContainers:
|
|
835
|
+
- name: wait-for-postgres-redis
|
|
836
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
837
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
838
|
+
envFrom:
|
|
839
|
+
- secretRef:
|
|
840
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
841
|
+
command:
|
|
842
|
+
- /bin/bash
|
|
843
|
+
- -c
|
|
844
|
+
- |
|
|
845
|
+
# See supersetNode.initContainers for the rationale.
|
|
846
|
+
SECONDS=0
|
|
847
|
+
wait_for() {
|
|
848
|
+
local host=$1 port=$2 name=$3
|
|
849
|
+
until (exec 3<>/dev/tcp/"$host"/"$port") 2>/dev/null; do
|
|
850
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
851
|
+
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
|
852
|
+
exit 1
|
|
853
|
+
fi
|
|
854
|
+
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
|
855
|
+
sleep 2
|
|
856
|
+
done
|
|
857
|
+
echo "$name at $host:$port is up"
|
|
858
|
+
}
|
|
859
|
+
wait_for "$DB_HOST" "$DB_PORT" postgres
|
|
860
|
+
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
|
861
|
+
resources:
|
|
862
|
+
limits:
|
|
863
|
+
memory: "256Mi"
|
|
864
|
+
requests:
|
|
865
|
+
cpu: "250m"
|
|
866
|
+
memory: "128Mi"
|
|
867
|
+
# -- Extra init containers appended after supersetWorker initContainers
|
|
868
|
+
extraInitContainers: []
|
|
869
|
+
# -- Launch additional containers into supersetWorker pod
|
|
870
|
+
extraContainers:
|
|
871
|
+
- name: statsd-exporter
|
|
872
|
+
image: prom/statsd-exporter:v0.31.0
|
|
873
|
+
imagePullPolicy: IfNotPresent
|
|
874
|
+
args:
|
|
875
|
+
- --statsd.listen-udp=:9125
|
|
876
|
+
- --statsd.listen-tcp=
|
|
877
|
+
- --web.listen-address=:9102
|
|
878
|
+
ports:
|
|
879
|
+
- name: metrics
|
|
880
|
+
containerPort: 9102
|
|
881
|
+
protocol: TCP
|
|
882
|
+
resources:
|
|
883
|
+
requests:
|
|
884
|
+
cpu: 10m
|
|
885
|
+
memory: 32Mi
|
|
886
|
+
limits:
|
|
887
|
+
memory: 64Mi
|
|
888
|
+
# -- Annotations to be added to supersetWorker deployment
|
|
889
|
+
deploymentAnnotations: {}
|
|
890
|
+
# -- Labels to be added to supersetWorker deployment
|
|
891
|
+
deploymentLabels: {}
|
|
892
|
+
# -- Custom pod spec to be added to supersetWorker deployment
|
|
893
|
+
deploymentAdditionalPodSpec: {}
|
|
894
|
+
# -- Affinity to be added to supersetWorker deployment
|
|
895
|
+
affinity: {}
|
|
896
|
+
# -- TopologySpreadConstrains to be added to supersetWorker deployments
|
|
897
|
+
topologySpreadConstraints: []
|
|
898
|
+
# -- Annotations to be added to supersetWorker pods
|
|
899
|
+
podAnnotations: {}
|
|
900
|
+
# -- Labels to be added to supersetWorker pods
|
|
901
|
+
podLabels: {}
|
|
902
|
+
# -- Resource settings for the supersetWorker pods - these settings overwrite might existing values from the global resources object defined above.
|
|
903
|
+
resources:
|
|
904
|
+
limits:
|
|
905
|
+
cpu: 1000m
|
|
906
|
+
memory: 2048Mi
|
|
907
|
+
requests:
|
|
908
|
+
cpu: 600m
|
|
909
|
+
memory: 1024Mi
|
|
910
|
+
podSecurityContext: {}
|
|
911
|
+
containerSecurityContext: {}
|
|
912
|
+
strategy: {}
|
|
913
|
+
# type: RollingUpdate
|
|
914
|
+
# rollingUpdate:
|
|
915
|
+
# maxSurge: 25%
|
|
916
|
+
# maxUnavailable: 25%
|
|
917
|
+
livenessProbe:
|
|
918
|
+
exec:
|
|
919
|
+
# -- Liveness probe command
|
|
920
|
+
# @default -- a `celery inspect ping` command
|
|
921
|
+
command:
|
|
922
|
+
- sh
|
|
923
|
+
- -c
|
|
924
|
+
- celery -A superset.tasks.celery_app:app inspect ping -d celery@$HOSTNAME
|
|
925
|
+
initialDelaySeconds: 120
|
|
926
|
+
timeoutSeconds: 60
|
|
927
|
+
failureThreshold: 3
|
|
928
|
+
periodSeconds: 60
|
|
929
|
+
successThreshold: 1
|
|
930
|
+
# -- Container lifecycle hooks for the worker pod
|
|
931
|
+
lifecycle: {}
|
|
932
|
+
# -- Pod termination grace period (seconds) for the worker pod so in-flight tasks can drain before SIGKILL
|
|
933
|
+
terminationGracePeriodSeconds: ~
|
|
934
|
+
# -- No startup/readiness probes by default since we don't really care about its startup time (it doesn't serve traffic)
|
|
935
|
+
startupProbe: {}
|
|
936
|
+
# -- No startup/readiness probes by default since we don't really care about its startup time (it doesn't serve traffic)
|
|
937
|
+
readinessProbe: {}
|
|
938
|
+
# -- Celery worker file-based health check (worker writes readiness/liveness files via signals;
|
|
939
|
+
# point supersetWorker.readinessProbe/livenessProbe at these files to use them)
|
|
940
|
+
healthCheck:
|
|
941
|
+
# -- Enable the file-based Celery worker health check
|
|
942
|
+
enabled: false
|
|
943
|
+
# -- Readiness file (created when the worker is ready, removed on shutdown)
|
|
944
|
+
readinessFile: "/tmp/celery_worker_ready"
|
|
945
|
+
# -- Liveness file (touched periodically by a heartbeat thread)
|
|
946
|
+
livenessFile: "/tmp/celery_worker_alive"
|
|
947
|
+
# -- Seconds between liveness heartbeats
|
|
948
|
+
livenessHeartbeatInterval: 10
|
|
949
|
+
# -- Set priorityClassName for supersetWorker pods
|
|
950
|
+
priorityClassName: ~
|
|
951
|
+
|
|
952
|
+
# Superset beat configuration (to trigger scheduled jobs like reports)
|
|
953
|
+
supersetCeleryBeat:
|
|
954
|
+
# -- This is only required if you intend to use alerts and reports
|
|
955
|
+
enabled: false
|
|
956
|
+
# -- Sets the [pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for supersetCeleryBeat pods
|
|
957
|
+
podDisruptionBudget:
|
|
958
|
+
# -- Whether the pod disruption budget should be created
|
|
959
|
+
enabled: false
|
|
960
|
+
# -- If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
961
|
+
minAvailable: 1
|
|
962
|
+
# -- If set, minAvailable must be unset (`minAvailable: ~`) - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
963
|
+
maxUnavailable: ~
|
|
964
|
+
# -- Command
|
|
965
|
+
# @default -- a `celery beat` command
|
|
966
|
+
command:
|
|
967
|
+
- "/bin/sh"
|
|
968
|
+
- "-c"
|
|
969
|
+
- ". {{ .Values.configMountPath }}/superset_bootstrap.sh; exec celery --app=superset.tasks.celery_app:app beat --pidfile /tmp/celerybeat.pid --schedule /tmp/celerybeat-schedule"
|
|
970
|
+
# -- If true, forces deployment to reload on each upgrade
|
|
971
|
+
forceReload: false
|
|
972
|
+
# -- List of init containers
|
|
973
|
+
# @default -- a container waiting for postgres
|
|
974
|
+
initContainers:
|
|
975
|
+
- name: wait-for-postgres-redis
|
|
976
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
977
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
978
|
+
envFrom:
|
|
979
|
+
- secretRef:
|
|
980
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
981
|
+
command:
|
|
982
|
+
- /bin/bash
|
|
983
|
+
- -c
|
|
984
|
+
- |
|
|
985
|
+
# See supersetNode.initContainers for the rationale.
|
|
986
|
+
SECONDS=0
|
|
987
|
+
wait_for() {
|
|
988
|
+
local host=$1 port=$2 name=$3
|
|
989
|
+
until (exec 3<>/dev/tcp/"$host"/"$port") 2>/dev/null; do
|
|
990
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
991
|
+
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
|
992
|
+
exit 1
|
|
993
|
+
fi
|
|
994
|
+
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
|
995
|
+
sleep 2
|
|
996
|
+
done
|
|
997
|
+
echo "$name at $host:$port is up"
|
|
998
|
+
}
|
|
999
|
+
wait_for "$DB_HOST" "$DB_PORT" postgres
|
|
1000
|
+
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
|
1001
|
+
resources:
|
|
1002
|
+
limits:
|
|
1003
|
+
memory: "256Mi"
|
|
1004
|
+
requests:
|
|
1005
|
+
cpu: "250m"
|
|
1006
|
+
memory: "128Mi"
|
|
1007
|
+
# -- Extra init containers appended after supersetCeleryBeat initContainers
|
|
1008
|
+
extraInitContainers: []
|
|
1009
|
+
# -- Launch additional containers into supersetCeleryBeat pods
|
|
1010
|
+
extraContainers: []
|
|
1011
|
+
# -- Annotations to be added to supersetCeleryBeat deployment
|
|
1012
|
+
deploymentAnnotations: {}
|
|
1013
|
+
# -- Custom pod spec to be added to supersetCeleryBeat deployment
|
|
1014
|
+
deploymentAdditionalPodSpec: {}
|
|
1015
|
+
# -- Affinity to be added to supersetCeleryBeat deployment
|
|
1016
|
+
affinity: {}
|
|
1017
|
+
# -- TopologySpreadConstrains to be added to supersetCeleryBeat deployments
|
|
1018
|
+
topologySpreadConstraints: []
|
|
1019
|
+
# -- Annotations to be added to supersetCeleryBeat pods
|
|
1020
|
+
podAnnotations: {}
|
|
1021
|
+
# -- Labels to be added to supersetCeleryBeat pods
|
|
1022
|
+
podLabels: {}
|
|
1023
|
+
# -- Resource settings for the CeleryBeat pods - these settings overwrite might existing values from the global resources object defined above.
|
|
1024
|
+
resources:
|
|
1025
|
+
limits: {}
|
|
1026
|
+
# cpu: 100m
|
|
1027
|
+
# memory: 128Mi
|
|
1028
|
+
requests:
|
|
1029
|
+
cpu: 100m
|
|
1030
|
+
memory: 128Mi
|
|
1031
|
+
podSecurityContext: {}
|
|
1032
|
+
containerSecurityContext: {}
|
|
1033
|
+
# -- Set priorityClassName for CeleryBeat pods
|
|
1034
|
+
priorityClassName: ~
|
|
1035
|
+
|
|
1036
|
+
supersetCeleryFlower:
|
|
1037
|
+
# -- Enables a Celery flower deployment (management UI to monitor celery jobs)
|
|
1038
|
+
# WARNING: on superset 1.x, this requires a Superset image that has `flower<1.0.0` installed (which is NOT the case of the default images)
|
|
1039
|
+
# flower>=1.0.0 requires Celery 5+ which Superset 1.5 does not support
|
|
1040
|
+
enabled: false
|
|
1041
|
+
replicaCount: 1
|
|
1042
|
+
# -- Sets the [pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for supersetCeleryFlower pods
|
|
1043
|
+
podDisruptionBudget:
|
|
1044
|
+
# -- Whether the pod disruption budget should be created
|
|
1045
|
+
enabled: false
|
|
1046
|
+
# -- If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
1047
|
+
minAvailable: 1
|
|
1048
|
+
# -- If set, minAvailable must be unset (`minAvailable: ~`) - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
1049
|
+
maxUnavailable: ~
|
|
1050
|
+
# -- Command
|
|
1051
|
+
# @default -- a `celery flower` command
|
|
1052
|
+
command:
|
|
1053
|
+
- "/bin/sh"
|
|
1054
|
+
- "-c"
|
|
1055
|
+
- "celery --app=superset.tasks.celery_app:app flower"
|
|
1056
|
+
service:
|
|
1057
|
+
type: ClusterIP
|
|
1058
|
+
annotations: {}
|
|
1059
|
+
loadBalancerIP: ~
|
|
1060
|
+
port: 5555
|
|
1061
|
+
nodePort:
|
|
1062
|
+
# -- (int)
|
|
1063
|
+
http: nil
|
|
1064
|
+
startupProbe:
|
|
1065
|
+
httpGet:
|
|
1066
|
+
path: /api/workers
|
|
1067
|
+
port: flower
|
|
1068
|
+
initialDelaySeconds: 5
|
|
1069
|
+
timeoutSeconds: 1
|
|
1070
|
+
failureThreshold: 60
|
|
1071
|
+
periodSeconds: 5
|
|
1072
|
+
successThreshold: 1
|
|
1073
|
+
livenessProbe:
|
|
1074
|
+
httpGet:
|
|
1075
|
+
path: /api/workers
|
|
1076
|
+
port: flower
|
|
1077
|
+
initialDelaySeconds: 5
|
|
1078
|
+
timeoutSeconds: 1
|
|
1079
|
+
failureThreshold: 3
|
|
1080
|
+
periodSeconds: 5
|
|
1081
|
+
successThreshold: 1
|
|
1082
|
+
readinessProbe:
|
|
1083
|
+
httpGet:
|
|
1084
|
+
path: /api/workers
|
|
1085
|
+
port: flower
|
|
1086
|
+
initialDelaySeconds: 5
|
|
1087
|
+
timeoutSeconds: 1
|
|
1088
|
+
failureThreshold: 3
|
|
1089
|
+
periodSeconds: 5
|
|
1090
|
+
successThreshold: 1
|
|
1091
|
+
# -- List of init containers
|
|
1092
|
+
# @default -- a container waiting for postgres and redis
|
|
1093
|
+
initContainers:
|
|
1094
|
+
- name: wait-for-postgres-redis
|
|
1095
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
1096
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
1097
|
+
envFrom:
|
|
1098
|
+
- secretRef:
|
|
1099
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
1100
|
+
command:
|
|
1101
|
+
- /bin/bash
|
|
1102
|
+
- -c
|
|
1103
|
+
- |
|
|
1104
|
+
# See supersetNode.initContainers for the rationale.
|
|
1105
|
+
SECONDS=0
|
|
1106
|
+
wait_for() {
|
|
1107
|
+
local host=$1 port=$2 name=$3
|
|
1108
|
+
until (exec 3<>/dev/tcp/"$host"/"$port") 2>/dev/null; do
|
|
1109
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
1110
|
+
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
|
1111
|
+
exit 1
|
|
1112
|
+
fi
|
|
1113
|
+
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
|
1114
|
+
sleep 2
|
|
1115
|
+
done
|
|
1116
|
+
echo "$name at $host:$port is up"
|
|
1117
|
+
}
|
|
1118
|
+
wait_for "$DB_HOST" "$DB_PORT" postgres
|
|
1119
|
+
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
|
1120
|
+
resources:
|
|
1121
|
+
limits:
|
|
1122
|
+
memory: "256Mi"
|
|
1123
|
+
requests:
|
|
1124
|
+
cpu: "250m"
|
|
1125
|
+
memory: "128Mi"
|
|
1126
|
+
# -- Extra init containers appended after supersetCeleryFlower initContainers
|
|
1127
|
+
extraInitContainers: []
|
|
1128
|
+
# -- Launch additional containers into supersetCeleryFlower pods
|
|
1129
|
+
extraContainers: []
|
|
1130
|
+
# -- Annotations to be added to supersetCeleryFlower deployment
|
|
1131
|
+
deploymentAnnotations: {}
|
|
1132
|
+
# -- Custom pod spec to be added to supersetCeleryFlower deployment
|
|
1133
|
+
deploymentAdditionalPodSpec: {}
|
|
1134
|
+
# -- Affinity to be added to supersetCeleryFlower deployment
|
|
1135
|
+
affinity: {}
|
|
1136
|
+
# -- TopologySpreadConstrains to be added to supersetCeleryFlower deployments
|
|
1137
|
+
topologySpreadConstraints: []
|
|
1138
|
+
# -- Annotations to be added to supersetCeleryFlower pods
|
|
1139
|
+
podAnnotations: {}
|
|
1140
|
+
# -- Labels to be added to supersetCeleryFlower pods
|
|
1141
|
+
podLabels: {}
|
|
1142
|
+
# -- Resource settings for the CeleryBeat pods - these settings overwrite might existing values from the global resources object defined above.
|
|
1143
|
+
resources:
|
|
1144
|
+
limits: {}
|
|
1145
|
+
# cpu: 100m
|
|
1146
|
+
# memory: 128Mi
|
|
1147
|
+
requests:
|
|
1148
|
+
cpu: 100m
|
|
1149
|
+
memory: 128Mi
|
|
1150
|
+
podSecurityContext: {}
|
|
1151
|
+
containerSecurityContext: {}
|
|
1152
|
+
# -- Set priorityClassName for supersetCeleryFlower pods
|
|
1153
|
+
priorityClassName: ~
|
|
1154
|
+
|
|
1155
|
+
supersetWebsockets:
|
|
1156
|
+
# -- This is only required if you intend to use `GLOBAL_ASYNC_QUERIES` in `ws` mode
|
|
1157
|
+
# see https://github.com/apache/superset/blob/master/CONTRIBUTING.md#async-chart-queries
|
|
1158
|
+
enabled: false
|
|
1159
|
+
replicaCount: 1
|
|
1160
|
+
# -- Sets the [pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for supersetWebsockets pods
|
|
1161
|
+
podDisruptionBudget:
|
|
1162
|
+
# -- Whether the pod disruption budget should be created
|
|
1163
|
+
enabled: false
|
|
1164
|
+
# -- If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
1165
|
+
minAvailable: 1
|
|
1166
|
+
# -- If set, minAvailable must be unset (`minAvailable: ~`) - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
1167
|
+
maxUnavailable: ~
|
|
1168
|
+
ingress:
|
|
1169
|
+
path: /ws
|
|
1170
|
+
pathType: Prefix
|
|
1171
|
+
image:
|
|
1172
|
+
# -- There is no official image (yet), this one is community-supported
|
|
1173
|
+
repository: oneacrefund/superset-websocket
|
|
1174
|
+
tag: latest
|
|
1175
|
+
pullPolicy: IfNotPresent
|
|
1176
|
+
# -- The config.json to pass to the server, see https://github.com/apache/superset/tree/master/superset-websocket
|
|
1177
|
+
# Note that the configuration can also read from environment variables (which will have priority), see https://github.com/apache/superset/blob/master/superset-websocket/src/config.ts for a list of supported variables
|
|
1178
|
+
# @default -- see `values.yaml`
|
|
1179
|
+
config:
|
|
1180
|
+
{
|
|
1181
|
+
"port": 8080,
|
|
1182
|
+
"logLevel": "debug",
|
|
1183
|
+
"logToFile": false,
|
|
1184
|
+
"logFilename": "app.log",
|
|
1185
|
+
"statsd": { "host": "127.0.0.1", "port": 8125, "globalTags": [] },
|
|
1186
|
+
"redis":
|
|
1187
|
+
{
|
|
1188
|
+
"port": 6379,
|
|
1189
|
+
"host": "127.0.0.1",
|
|
1190
|
+
"password": "",
|
|
1191
|
+
"db": 0,
|
|
1192
|
+
"ssl": false,
|
|
1193
|
+
},
|
|
1194
|
+
"redisStreamPrefix": "async-events-",
|
|
1195
|
+
{%- endraw %}
|
|
1196
|
+
"jwtSecret": "{{ jwt_secret }}",
|
|
1197
|
+
{%- raw %}
|
|
1198
|
+
"jwtCookieName": "async-token",
|
|
1199
|
+
}
|
|
1200
|
+
# -- Annotations to be added to the secret which contains config.json
|
|
1201
|
+
configAnnotations: {}
|
|
1202
|
+
service:
|
|
1203
|
+
type: ClusterIP
|
|
1204
|
+
annotations: {}
|
|
1205
|
+
loadBalancerIP: ~
|
|
1206
|
+
port: 8080
|
|
1207
|
+
nodePort:
|
|
1208
|
+
# -- (int)
|
|
1209
|
+
http: nil
|
|
1210
|
+
command: []
|
|
1211
|
+
# -- List of initContainers
|
|
1212
|
+
# @default -- a container waiting for redis
|
|
1213
|
+
initContainers:
|
|
1214
|
+
- name: wait-for-redis
|
|
1215
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
1216
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
1217
|
+
envFrom:
|
|
1218
|
+
- secretRef:
|
|
1219
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
1220
|
+
command:
|
|
1221
|
+
- /bin/bash
|
|
1222
|
+
- -c
|
|
1223
|
+
- |
|
|
1224
|
+
# See supersetNode.initContainers for the rationale.
|
|
1225
|
+
SECONDS=0
|
|
1226
|
+
until (exec 3<>/dev/tcp/"$REDIS_HOST"/"$REDIS_PORT") 2>/dev/null; do
|
|
1227
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
1228
|
+
echo "timeout waiting for redis at $REDIS_HOST:$REDIS_PORT after 120s" >&2
|
|
1229
|
+
exit 1
|
|
1230
|
+
fi
|
|
1231
|
+
echo "waiting for redis at $REDIS_HOST:$REDIS_PORT (elapsed ${SECONDS}s)"
|
|
1232
|
+
sleep 2
|
|
1233
|
+
done
|
|
1234
|
+
echo "redis at $REDIS_HOST:$REDIS_PORT is up"
|
|
1235
|
+
resources:
|
|
1236
|
+
limits:
|
|
1237
|
+
memory: "256Mi"
|
|
1238
|
+
requests:
|
|
1239
|
+
cpu: "250m"
|
|
1240
|
+
memory: "128Mi"
|
|
1241
|
+
# -- Extra init containers appended after supersetWebsockets initContainers
|
|
1242
|
+
extraInitContainers: []
|
|
1243
|
+
resources: {}
|
|
1244
|
+
# -- Launch additional containers into supersetWebsockets pods
|
|
1245
|
+
extraContainers: []
|
|
1246
|
+
deploymentAnnotations: {}
|
|
1247
|
+
# -- Custom pod spec to be added to supersetWebsockets deployment
|
|
1248
|
+
deploymentAdditionalPodSpec: {}
|
|
1249
|
+
# -- Affinity to be added to supersetWebsockets deployment
|
|
1250
|
+
affinity: {}
|
|
1251
|
+
# -- TopologySpreadConstrains to be added to supersetWebsockets deployments
|
|
1252
|
+
topologySpreadConstraints: []
|
|
1253
|
+
podAnnotations: {}
|
|
1254
|
+
podLabels: {}
|
|
1255
|
+
strategy: {}
|
|
1256
|
+
podSecurityContext: {}
|
|
1257
|
+
containerSecurityContext: {}
|
|
1258
|
+
startupProbe:
|
|
1259
|
+
httpGet:
|
|
1260
|
+
path: /health
|
|
1261
|
+
port: ws
|
|
1262
|
+
initialDelaySeconds: 5
|
|
1263
|
+
timeoutSeconds: 1
|
|
1264
|
+
failureThreshold: 60
|
|
1265
|
+
periodSeconds: 5
|
|
1266
|
+
successThreshold: 1
|
|
1267
|
+
livenessProbe:
|
|
1268
|
+
httpGet:
|
|
1269
|
+
path: /health
|
|
1270
|
+
port: ws
|
|
1271
|
+
initialDelaySeconds: 5
|
|
1272
|
+
timeoutSeconds: 1
|
|
1273
|
+
failureThreshold: 3
|
|
1274
|
+
periodSeconds: 5
|
|
1275
|
+
successThreshold: 1
|
|
1276
|
+
readinessProbe:
|
|
1277
|
+
httpGet:
|
|
1278
|
+
path: /health
|
|
1279
|
+
port: ws
|
|
1280
|
+
initialDelaySeconds: 5
|
|
1281
|
+
timeoutSeconds: 1
|
|
1282
|
+
failureThreshold: 3
|
|
1283
|
+
periodSeconds: 5
|
|
1284
|
+
successThreshold: 1
|
|
1285
|
+
# -- Set priorityClassName for supersetWebsockets pods
|
|
1286
|
+
priorityClassName: ~
|
|
1287
|
+
|
|
1288
|
+
supersetMcp:
|
|
1289
|
+
# -- Enables the Superset MCP Server. To expose it via the shared ingress at /mcp,
|
|
1290
|
+
# also set supersetMcp.ingress.enabled=true.
|
|
1291
|
+
# WARNING: this requires fastMCP to be installed, which can be done by installing `apache-superset[fastmcp]`
|
|
1292
|
+
enabled: true
|
|
1293
|
+
replicaCount: 1
|
|
1294
|
+
# -- Sets the [pod disruption budget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for supersetMcp pods
|
|
1295
|
+
podDisruptionBudget:
|
|
1296
|
+
# -- Whether the pod disruption budget should be created
|
|
1297
|
+
enabled: false
|
|
1298
|
+
# -- If set, maxUnavailable must not be set - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
1299
|
+
minAvailable: 1
|
|
1300
|
+
# -- If set, minAvailable must be unset (`minAvailable: ~`) - see https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
1301
|
+
maxUnavailable: ~
|
|
1302
|
+
# -- Command
|
|
1303
|
+
# @default -- a `superset mcp run` command
|
|
1304
|
+
command:
|
|
1305
|
+
- "/bin/sh"
|
|
1306
|
+
- "-c"
|
|
1307
|
+
- ". {{ .Values.configMountPath }}/superset_bootstrap.sh; superset mcp run --host 0.0.0.0 --port {{ .Values.supersetMcp.service.port }}"
|
|
1308
|
+
# -- If true, forces deployment to reload on each upgrade
|
|
1309
|
+
forceReload: false
|
|
1310
|
+
ingress:
|
|
1311
|
+
# -- If true, the MCP server will be exposed via the ingress /mcp subpath
|
|
1312
|
+
enabled: true
|
|
1313
|
+
path: /mcp
|
|
1314
|
+
pathType: Prefix
|
|
1315
|
+
httproute:
|
|
1316
|
+
# -- If true, the MCP server will be exposed via the HTTPRoute /mcp subpath
|
|
1317
|
+
enabled: false
|
|
1318
|
+
path: /mcp
|
|
1319
|
+
service:
|
|
1320
|
+
type: ClusterIP
|
|
1321
|
+
annotations: {}
|
|
1322
|
+
loadBalancerIP: ~
|
|
1323
|
+
port: 5008
|
|
1324
|
+
nodePort:
|
|
1325
|
+
# -- (int)
|
|
1326
|
+
http: nil
|
|
1327
|
+
# FastMCP 3.x (superset mcp run) serves /mcp only. GET /health 404s
|
|
1328
|
+
# and the official chart probe never becomes ready.
|
|
1329
|
+
startupProbe:
|
|
1330
|
+
httpGet: null
|
|
1331
|
+
tcpSocket:
|
|
1332
|
+
port: mcp
|
|
1333
|
+
initialDelaySeconds: 15
|
|
1334
|
+
timeoutSeconds: 3
|
|
1335
|
+
failureThreshold: 360
|
|
1336
|
+
periodSeconds: 10
|
|
1337
|
+
successThreshold: 1
|
|
1338
|
+
livenessProbe:
|
|
1339
|
+
httpGet: null
|
|
1340
|
+
tcpSocket:
|
|
1341
|
+
port: mcp
|
|
1342
|
+
initialDelaySeconds: 15
|
|
1343
|
+
timeoutSeconds: 3
|
|
1344
|
+
failureThreshold: 3
|
|
1345
|
+
periodSeconds: 15
|
|
1346
|
+
successThreshold: 1
|
|
1347
|
+
readinessProbe:
|
|
1348
|
+
httpGet: null
|
|
1349
|
+
tcpSocket:
|
|
1350
|
+
port: mcp
|
|
1351
|
+
initialDelaySeconds: 15
|
|
1352
|
+
timeoutSeconds: 3
|
|
1353
|
+
failureThreshold: 3
|
|
1354
|
+
periodSeconds: 15
|
|
1355
|
+
successThreshold: 1
|
|
1356
|
+
# -- List of init containers
|
|
1357
|
+
# @default -- a container waiting for postgres and redis
|
|
1358
|
+
initContainers:
|
|
1359
|
+
- name: wait-for-postgres-redis
|
|
1360
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
1361
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
1362
|
+
envFrom:
|
|
1363
|
+
- secretRef:
|
|
1364
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
1365
|
+
command:
|
|
1366
|
+
- /bin/bash
|
|
1367
|
+
- -c
|
|
1368
|
+
- |
|
|
1369
|
+
# See supersetNode.initContainers for the rationale.
|
|
1370
|
+
SECONDS=0
|
|
1371
|
+
wait_for() {
|
|
1372
|
+
local host=$1 port=$2 name=$3
|
|
1373
|
+
until (exec 3<>/dev/tcp/"$host"/"$port") 2>/dev/null; do
|
|
1374
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
1375
|
+
echo "timeout waiting for $name at $host:$port after 120s" >&2
|
|
1376
|
+
exit 1
|
|
1377
|
+
fi
|
|
1378
|
+
echo "waiting for $name at $host:$port (elapsed ${SECONDS}s)"
|
|
1379
|
+
sleep 2
|
|
1380
|
+
done
|
|
1381
|
+
echo "$name at $host:$port is up"
|
|
1382
|
+
}
|
|
1383
|
+
wait_for "$DB_HOST" "$DB_PORT" postgres
|
|
1384
|
+
wait_for "$REDIS_HOST" "$REDIS_PORT" redis
|
|
1385
|
+
resources:
|
|
1386
|
+
limits:
|
|
1387
|
+
memory: "256Mi"
|
|
1388
|
+
requests:
|
|
1389
|
+
cpu: "250m"
|
|
1390
|
+
memory: "128Mi"
|
|
1391
|
+
# -- Extra init containers appended after supersetMcp initContainers
|
|
1392
|
+
extraInitContainers: []
|
|
1393
|
+
# -- Launch additional containers into supersetMcp pods
|
|
1394
|
+
extraContainers: []
|
|
1395
|
+
# -- Annotations to be added to supersetMcp deployment
|
|
1396
|
+
deploymentAnnotations: {}
|
|
1397
|
+
# -- Labels to be added to supersetMcp deployment
|
|
1398
|
+
deploymentLabels: {}
|
|
1399
|
+
# -- Custom pod spec to be added to supersetMcp deployment
|
|
1400
|
+
deploymentAdditionalPodSpec: {}
|
|
1401
|
+
# -- Affinity to be added to supersetMcp deployment
|
|
1402
|
+
affinity: {}
|
|
1403
|
+
# -- TopologySpreadConstrains to be added to supersetMcp deployments
|
|
1404
|
+
topologySpreadConstraints: []
|
|
1405
|
+
# -- Annotations to be added to supersetMcp pods
|
|
1406
|
+
podAnnotations: {}
|
|
1407
|
+
# -- Labels to be added to supersetMcp pods
|
|
1408
|
+
podLabels: {}
|
|
1409
|
+
strategy: {}
|
|
1410
|
+
# type: RollingUpdate
|
|
1411
|
+
# rollingUpdate:
|
|
1412
|
+
# maxSurge: 25%
|
|
1413
|
+
# maxUnavailable: 25%
|
|
1414
|
+
# -- Container lifecycle hooks for the worker pod
|
|
1415
|
+
lifecycle: {}
|
|
1416
|
+
# -- Pod termination grace period (seconds) for the worker pod so in-flight tasks can drain before SIGKILL
|
|
1417
|
+
terminationGracePeriodSeconds: ~
|
|
1418
|
+
# -- Resource settings for the supersetMcp pods - these settings overwrite might existing values from the global resources object defined above.
|
|
1419
|
+
resources: {}
|
|
1420
|
+
# limits:
|
|
1421
|
+
# cpu: 100m
|
|
1422
|
+
# memory: 128Mi
|
|
1423
|
+
# requests:
|
|
1424
|
+
# cpu: 100m
|
|
1425
|
+
# memory: 128Mi
|
|
1426
|
+
podSecurityContext: {}
|
|
1427
|
+
containerSecurityContext: {}
|
|
1428
|
+
# -- Set priorityClassName for supersetMcp pods
|
|
1429
|
+
priorityClassName: ~
|
|
1430
|
+
|
|
1431
|
+
init:
|
|
1432
|
+
# Configure resources
|
|
1433
|
+
# Warning: fab command consumes a lot of ram and can
|
|
1434
|
+
# cause the process to be killed due to OOM if it exceeds limit
|
|
1435
|
+
# Make sure you are giving a strong password for the admin user creation( else make sure you are changing after setup)
|
|
1436
|
+
# Also change the admin email to your own custom email.
|
|
1437
|
+
resources: {}
|
|
1438
|
+
# limits:
|
|
1439
|
+
# cpu:
|
|
1440
|
+
# memory:
|
|
1441
|
+
# requests:
|
|
1442
|
+
# cpu:
|
|
1443
|
+
# memory:
|
|
1444
|
+
# -- Command
|
|
1445
|
+
# @default -- a `superset_init.sh` command
|
|
1446
|
+
command:
|
|
1447
|
+
- "/bin/sh"
|
|
1448
|
+
- "-c"
|
|
1449
|
+
- |
|
|
1450
|
+
. {{ .Values.configMountPath }}/superset_bootstrap.sh
|
|
1451
|
+
. {{ .Values.configMountPath }}/superset_init.sh
|
|
1452
|
+
if ! superset fab list-users 2>/dev/null | grep -q "username:mcp-service"; then
|
|
1453
|
+
superset fab create-user --role Alpha --username mcp-service --firstname MCP --lastname Service --email mcp-service@localhost --password "$(head -c 24 /dev/urandom | base64 | tr -dc A-Za-z0-9)" || true
|
|
1454
|
+
fi
|
|
1455
|
+
enabled: true
|
|
1456
|
+
jobAnnotations:
|
|
1457
|
+
"helm.sh/hook": post-install,post-upgrade
|
|
1458
|
+
"helm.sh/hook-delete-policy": "before-hook-creation"
|
|
1459
|
+
# -- Custom pod spec to be added to init job
|
|
1460
|
+
additionalPodSpec: {}
|
|
1461
|
+
loadExamples: false
|
|
1462
|
+
createAdmin: true
|
|
1463
|
+
{%- endraw %}
|
|
1464
|
+
adminUser:
|
|
1465
|
+
username: {{ bi_basic_user }}
|
|
1466
|
+
firstname: {{ bi_basic_user_name }}
|
|
1467
|
+
lastname: {{ bi_basic_user_last_name }}
|
|
1468
|
+
email: {{ bi_admin_email }}
|
|
1469
|
+
password: {{ bi_admin_password }}
|
|
1470
|
+
{%- raw %}
|
|
1471
|
+
# -- List of initContainers
|
|
1472
|
+
# @default -- a container waiting for postgres
|
|
1473
|
+
initContainers:
|
|
1474
|
+
- name: wait-for-postgres
|
|
1475
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
1476
|
+
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
|
1477
|
+
envFrom:
|
|
1478
|
+
- secretRef:
|
|
1479
|
+
name: "{{ tpl .Values.envFromSecret . }}"
|
|
1480
|
+
command:
|
|
1481
|
+
- /bin/bash
|
|
1482
|
+
- -c
|
|
1483
|
+
- |
|
|
1484
|
+
# See supersetNode.initContainers for the rationale.
|
|
1485
|
+
SECONDS=0
|
|
1486
|
+
until (exec 3<>/dev/tcp/"$DB_HOST"/"$DB_PORT") 2>/dev/null; do
|
|
1487
|
+
if [ "$SECONDS" -ge 120 ]; then
|
|
1488
|
+
echo "timeout waiting for postgres at $DB_HOST:$DB_PORT after 120s" >&2
|
|
1489
|
+
exit 1
|
|
1490
|
+
fi
|
|
1491
|
+
echo "waiting for postgres at $DB_HOST:$DB_PORT (elapsed ${SECONDS}s)"
|
|
1492
|
+
sleep 2
|
|
1493
|
+
done
|
|
1494
|
+
echo "postgres at $DB_HOST:$DB_PORT is up"
|
|
1495
|
+
resources:
|
|
1496
|
+
limits:
|
|
1497
|
+
memory: "256Mi"
|
|
1498
|
+
requests:
|
|
1499
|
+
cpu: "250m"
|
|
1500
|
+
memory: "128Mi"
|
|
1501
|
+
# -- Extra init containers appended after init job initContainers
|
|
1502
|
+
extraInitContainers: []
|
|
1503
|
+
# -- Launch additional containers into init job pod
|
|
1504
|
+
extraContainers: []
|
|
1505
|
+
## Annotations to be added to init job pods
|
|
1506
|
+
podAnnotations: {}
|
|
1507
|
+
# Labels to be added to init job pods
|
|
1508
|
+
podLabels: {}
|
|
1509
|
+
podSecurityContext: {}
|
|
1510
|
+
containerSecurityContext: {}
|
|
1511
|
+
## Tolerations to be added to init job pods
|
|
1512
|
+
tolerations: []
|
|
1513
|
+
## Affinity to be added to init job pods
|
|
1514
|
+
affinity: {}
|
|
1515
|
+
# -- TopologySpreadConstrains to be added to init job
|
|
1516
|
+
topologySpreadConstraints: []
|
|
1517
|
+
# -- Set priorityClassName for init job pods
|
|
1518
|
+
priorityClassName: ~
|
|
1519
|
+
# -- Configuration for compatibility with the Istio service mesh.
|
|
1520
|
+
# Without these mitigations, when the init-db Job runs in a namespace with
|
|
1521
|
+
# automatic Istio sidecar injection enabled, the injected envoy-proxy
|
|
1522
|
+
# container keeps running after the init container has exited, preventing
|
|
1523
|
+
# the Job from ever reaching the Completed state.
|
|
1524
|
+
# See https://github.com/apache/superset/issues/25798
|
|
1525
|
+
istio:
|
|
1526
|
+
# -- When true, adds the `sidecar.istio.io/inject: "false"` label to the
|
|
1527
|
+
# init job pod template, opting it out of Istio automatic sidecar
|
|
1528
|
+
# injection. This is the recommended fix when the cluster's mesh policy
|
|
1529
|
+
# allows opting out per pod.
|
|
1530
|
+
disableSidecarInjection: false
|
|
1531
|
+
# -- When true, the rendered `superset_init.sh` script (from the internal
|
|
1532
|
+
# `superset.initScript` template) registers an `EXIT` trap that POSTs to
|
|
1533
|
+
# the Istio pilot-agent's `/quitquitquit` endpoint after the init logic
|
|
1534
|
+
# finishes, gracefully terminating an injected envoy-proxy sidecar so
|
|
1535
|
+
# the Job can complete. Enable this when sidecar injection cannot be
|
|
1536
|
+
# disabled per pod (e.g. when enforced by a cluster-wide Istio policy).
|
|
1537
|
+
# Note: requires `curl` to be available in the init container image
|
|
1538
|
+
# (it is included in the default `apache/superset` image) and only
|
|
1539
|
+
# takes effect when `init.command` sources the rendered `superset_init.sh`.
|
|
1540
|
+
terminateSidecarOnExit: false
|
|
1541
|
+
# -- Endpoint that the trap POSTs to in order to terminate the sidecar.
|
|
1542
|
+
# The default matches the standard Istio pilot-agent admin port.
|
|
1543
|
+
quitEndpoint: "http://localhost:15020/quitquitquit"
|
|
1544
|
+
|
|
1545
|
+
postgresql:
|
|
1546
|
+
enabled: false
|
|
1547
|
+
redis:
|
|
1548
|
+
enabled: false
|
|
1549
|
+
|
|
1550
|
+
nodeSelector: {}
|
|
1551
|
+
|
|
1552
|
+
tolerations: []
|
|
1553
|
+
|
|
1554
|
+
affinity: {}
|
|
1555
|
+
|
|
1556
|
+
# -- TopologySpreadConstrains to be added to all deployments
|
|
1557
|
+
topologySpreadConstraints: []
|
|
1558
|
+
|
|
1559
|
+
# -- Set priorityClassName for superset pods
|
|
1560
|
+
priorityClassName: ~
|
|
1561
|
+
|
|
1562
|
+
{%- endraw %}
|