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.
Files changed (543) hide show
  1. f2dev/__init__.py +1 -0
  2. f2dev/__main__.py +5 -0
  3. f2dev/_bundle/platform/.dockerignore +80 -0
  4. f2dev/_bundle/platform/.gitignore +82 -0
  5. f2dev/_bundle/platform/LICENSE +202 -0
  6. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
  7. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
  8. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
  9. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
  10. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
  11. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
  12. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
  13. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
  14. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
  15. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
  16. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
  17. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
  18. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
  19. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
  20. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
  21. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
  22. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
  23. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
  24. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
  25. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
  26. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
  27. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
  28. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
  29. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
  30. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
  31. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
  32. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
  33. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
  34. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
  35. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
  36. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
  37. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
  38. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
  39. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
  40. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
  41. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
  42. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
  43. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
  44. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
  45. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
  46. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
  47. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
  48. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
  49. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
  50. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
  51. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
  52. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
  53. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
  54. f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
  55. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
  56. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
  57. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
  58. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
  59. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
  60. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
  61. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
  62. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
  63. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
  64. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
  65. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
  66. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
  67. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
  68. f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
  69. f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
  70. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
  71. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
  72. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
  73. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
  74. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
  75. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
  76. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
  77. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
  78. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
  79. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
  80. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
  81. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
  82. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
  83. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
  84. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
  85. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
  86. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
  87. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
  88. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
  89. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
  90. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
  91. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
  92. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
  93. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
  94. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
  95. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
  96. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
  97. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
  98. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
  99. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
  100. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
  101. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
  102. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
  103. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
  104. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
  105. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
  106. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
  107. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
  108. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
  109. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
  110. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
  111. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
  112. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
  113. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
  114. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
  115. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
  116. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
  117. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
  118. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
  119. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
  120. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
  121. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
  122. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
  123. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
  124. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
  125. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
  126. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
  127. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
  128. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
  129. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
  130. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
  131. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
  132. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
  133. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
  134. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
  135. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
  136. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
  137. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
  138. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
  139. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
  140. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
  141. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
  142. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
  143. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
  144. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
  145. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
  146. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
  147. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
  148. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
  149. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
  150. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
  151. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
  152. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
  153. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
  154. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
  155. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
  156. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
  157. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
  158. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
  159. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
  160. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
  161. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
  162. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
  163. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
  164. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
  165. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
  166. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
  167. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
  168. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
  169. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
  170. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
  171. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
  172. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
  173. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
  174. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
  175. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
  176. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
  177. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
  178. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
  179. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
  180. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
  181. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
  182. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
  183. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
  184. f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
  185. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
  186. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
  187. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
  188. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
  189. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
  190. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
  191. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
  192. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
  193. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
  194. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
  195. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
  196. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
  197. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
  198. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
  199. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
  200. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
  201. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
  202. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
  203. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
  204. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
  205. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
  206. f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
  207. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
  208. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
  209. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
  210. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
  211. f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
  212. f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
  213. f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
  214. f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
  215. f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
  216. f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
  217. f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
  218. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
  219. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
  220. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
  221. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
  222. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
  223. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
  224. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
  225. f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
  226. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
  227. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
  228. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
  229. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
  230. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
  231. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
  232. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
  233. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
  234. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
  235. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
  236. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
  237. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
  238. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
  239. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
  240. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
  241. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
  242. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
  243. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
  244. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
  245. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
  246. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
  247. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
  248. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
  249. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
  250. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
  251. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
  252. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
  253. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
  254. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
  255. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
  256. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
  257. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
  258. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
  259. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
  260. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
  261. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
  262. f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
  263. f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
  264. f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
  265. f2dev/_bundle/platform/cli/README.md +866 -0
  266. f2dev/_bundle/platform/cli/__init__.py +42 -0
  267. f2dev/_bundle/platform/cli/__main__.py +17 -0
  268. f2dev/_bundle/platform/cli/cert_providers.py +369 -0
  269. f2dev/_bundle/platform/cli/command_record.py +144 -0
  270. f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
  271. f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
  272. f2dev/_bundle/platform/cli/config/images.json +129 -0
  273. f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
  274. f2dev/_bundle/platform/cli/config.py +252 -0
  275. f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
  276. f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
  277. f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
  278. f2dev/_bundle/platform/cli/destroy.py +677 -0
  279. f2dev/_bundle/platform/cli/dns_check.py +27 -0
  280. f2dev/_bundle/platform/cli/dns_providers.py +405 -0
  281. f2dev/_bundle/platform/cli/exit_codes.py +32 -0
  282. f2dev/_bundle/platform/cli/fixers.py +56 -0
  283. f2dev/_bundle/platform/cli/generate_only.py +336 -0
  284. f2dev/_bundle/platform/cli/health_report.py +114 -0
  285. f2dev/_bundle/platform/cli/logging.py +206 -0
  286. f2dev/_bundle/platform/cli/main.py +5293 -0
  287. f2dev/_bundle/platform/cli/precheck.py +1523 -0
  288. f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
  289. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
  290. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
  291. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
  292. f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
  293. f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
  294. f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
  295. f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
  296. f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
  297. f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
  298. f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
  299. f2dev/_bundle/platform/cli/restore.py +179 -0
  300. f2dev/_bundle/platform/cli/service_gates.py +160 -0
  301. f2dev/_bundle/platform/cli/state.py +332 -0
  302. f2dev/_bundle/platform/cli/wizard.py +782 -0
  303. f2dev/_bundle/platform/cli.py +235 -0
  304. f2dev/_bundle/platform/deployers/__init__.py +4 -0
  305. f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
  306. f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
  307. f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
  308. f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
  309. f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
  310. f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
  311. f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
  312. f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
  313. f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
  314. f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
  315. f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
  316. f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
  317. f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
  318. f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
  319. f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
  320. f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
  321. f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
  322. f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
  323. f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
  324. f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
  325. f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
  326. f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
  327. f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
  328. f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
  329. f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
  330. f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
  331. f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
  332. f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
  333. f2dev/_bundle/platform/readme.md +47 -0
  334. f2dev/_bundle/platform/requirements.txt +14 -0
  335. f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
  336. f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
  337. f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
  338. f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
  339. f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
  340. f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
  341. f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
  342. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
  343. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
  344. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
  345. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
  346. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
  347. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
  348. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
  349. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
  350. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
  351. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
  352. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
  353. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
  354. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
  355. f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
  356. f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
  357. f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
  358. f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
  359. f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
  360. f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
  361. f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
  362. f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
  363. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
  364. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
  365. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
  366. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
  367. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
  368. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
  369. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
  370. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
  371. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
  372. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
  373. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
  374. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
  375. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
  376. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
  377. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
  378. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
  379. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
  380. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
  381. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
  382. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
  383. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
  384. f2dev/_bundle/platform/utils/__init__.py +0 -0
  385. f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
  386. f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
  387. f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
  388. f2dev/_bundle/platform/utils/helm_utils.py +215 -0
  389. f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
  390. f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
  391. f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
  392. f2dev/_bundle/platform/utils/raw_extras.py +34 -0
  393. f2dev/_bundle/platform/utils/readiness.py +330 -0
  394. f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
  395. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
  396. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
  397. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
  398. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
  399. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
  400. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
  401. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
  402. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
  403. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
  404. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
  405. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
  406. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
  407. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
  408. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
  409. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
  410. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
  411. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
  412. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
  413. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
  414. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
  415. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
  416. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
  417. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
  418. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
  419. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
  420. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
  421. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
  422. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
  423. f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
  424. f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
  425. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
  426. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
  427. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
  428. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
  429. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
  430. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
  431. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
  432. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
  433. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
  434. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
  435. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
  436. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
  437. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
  438. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
  439. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
  440. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
  441. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
  442. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
  443. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
  444. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
  445. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
  446. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
  447. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
  448. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
  449. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
  450. f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
  451. f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
  452. f2dev/_bundle/terraform-modules/README.md +12 -0
  453. f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
  454. f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
  455. f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
  456. f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
  457. f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
  458. f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
  459. f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
  460. f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
  461. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
  462. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
  463. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
  464. f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
  465. f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
  466. f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
  467. f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
  468. f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
  469. f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
  470. f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
  471. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
  472. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
  473. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
  474. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
  475. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
  476. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
  477. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
  478. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
  479. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
  480. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
  481. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
  482. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
  483. f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
  484. f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
  485. f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
  486. f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
  487. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
  488. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
  489. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
  490. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
  491. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
  492. f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
  493. f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
  494. f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
  495. f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
  496. f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
  497. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
  498. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
  499. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
  500. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
  501. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
  502. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
  503. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
  504. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
  505. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
  506. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
  507. f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
  508. f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
  509. f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
  510. f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
  511. f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
  512. f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
  513. f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
  514. f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
  515. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
  516. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
  517. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
  518. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
  519. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
  520. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
  521. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
  522. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
  523. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
  524. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
  525. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
  526. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
  527. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
  528. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
  529. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
  530. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
  531. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
  532. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
  533. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
  534. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
  535. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
  536. f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
  537. f2dev/launcher.py +153 -0
  538. fast2dev-1.0.0.dist-info/METADATA +201 -0
  539. fast2dev-1.0.0.dist-info/RECORD +543 -0
  540. fast2dev-1.0.0.dist-info/WHEEL +4 -0
  541. fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
  542. fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
  543. fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
@@ -0,0 +1,1167 @@
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
+ # fullnameOverride and nameOverride distinguishes blank strings, null values,
8
+ # and non-blank strings. For more details, see the configuration reference.
9
+ fullnameOverride: "data-modeling-ide-hub"
10
+ # enabled is ignored by the jupyterhub chart itself, but a chart depending on
11
+ # the jupyterhub chart conditionally can make use this config option as the
12
+ # condition.
13
+ enabled:
14
+ # custom can contain anything you want to pass to the hub pod, as all passed
15
+ # Helm template values will be made available there.
16
+ custom: {}
17
+ # imagePullSecret is configuration to create a k8s Secret that Helm chart's pods
18
+ # can get credentials from to pull their images.
19
+ imagePullSecret:
20
+ create: false
21
+ automaticReferenceInjection: true
22
+ registry:
23
+ username:
24
+ password:
25
+ email:
26
+ # imagePullSecrets is configuration to reference the k8s Secret resources the
27
+ # Helm chart's pods can get credentials from to pull their images.
28
+ imagePullSecrets: []
29
+ # hub relates to the hub pod, responsible for running JupyterHub, its configured
30
+ # Authenticator class KubeSpawner, and its configured Proxy class
31
+ # ConfigurableHTTPProxy. KubeSpawner creates the user pods, and
32
+ # ConfigurableHTTPProxy speaks with the actual ConfigurableHTTPProxy server in
33
+ # the proxy pod.
34
+ {%- endraw %}
35
+ hub:
36
+ revisionHistoryLimit: 31
37
+ config:
38
+ Authenticator:
39
+ enable_auth_state: true
40
+ {%- if airflow_mcp_enabled or mcp_hub_enabled %}
41
+ auth_refresh_age: 60
42
+ {%- endif %}
43
+ auto_login: true
44
+ auto_login_oauth2_authorize: true
45
+ GenericOAuthenticator:
46
+ client_id: {{ oauth_client_id }}
47
+ client_secret: {{ oauth_client_secret }}
48
+ oauth_callback_url: {{ oauth_callback_url }}
49
+ authorize_url: {{ oauth_auth_url }}
50
+ token_url: {{ oauth_token_url }}
51
+ userdata_url: {{ oauth_userinfo_url }}
52
+ login_service: keycloak
53
+ username_claim: email
54
+ scope: ["openid", "email", "profile", "offline_access"]
55
+ claim_groups_key: groups
56
+ allowed_groups:
57
+ - User
58
+ admin_groups:
59
+ - Admin
60
+ manage_groups: True
61
+ JupyterHub:
62
+ authenticator_class: generic-oauth
63
+ {%- raw %}
64
+ service:
65
+ type: ClusterIP
66
+ annotations: {}
67
+ ports:
68
+ nodePort:
69
+ extraPorts: []
70
+ loadBalancerIP:
71
+ baseUrl: /
72
+ {%- endraw %}
73
+ cookieSecret: {{ oauth_client_secret_token }}
74
+ {%- raw %}
75
+ initContainers: []
76
+ nodeSelector: {}
77
+ tolerations: []
78
+ concurrentSpawnLimit: 64
79
+ consecutiveFailureLimit: 5
80
+ activeServerLimit:
81
+ deploymentStrategy:
82
+ type: RollingUpdate
83
+ {%- endraw %}
84
+ db:
85
+ type: postgres
86
+ url: postgresql+psycopg2://{{ data_modeling_psql_username }}:{{ data_modeling_psql_password }}@{{ data_modeling_psql_host }}:{{ data_modeling_psql_port }}/{{ data_modeling_psql_database }}?sslmode=prefer
87
+ {%- raw %}
88
+ labels:
89
+ fast2dev: data-modeling
90
+ annotations: {}
91
+ command: []
92
+ args: []
93
+ extraConfig:
94
+ code_spawner.py: |
95
+ from kubespawner.spawner import KubeSpawner
96
+ from jupyterhub.spawner import _quote_safe
97
+
98
+ CODE_SERVER_PORT = 8080
99
+ # Must match initialization.sh: extensions + User/settings live here, not
100
+ # in notebook_dir (that is the workspace / git clone).
101
+ CODE_SERVER_USER_DATA_DIR = "/home/coder/.local/share/code-server"
102
+
103
+ class VSCodeKubeSpawner(KubeSpawner):
104
+ def get_args(self):
105
+ # `code` is the default:true profile, so an options-less spawn lands here too.
106
+ if self.user_options.get("profile", "code") != "code":
107
+ return super().get_args()
108
+ args = ["--auth", "none", "--disable-telemetry"]
109
+ args += ["--bind-addr", f"127.0.0.1:{CODE_SERVER_PORT}"]
110
+ args += ["--user-data-dir", CODE_SERVER_USER_DATA_DIR]
111
+ args += ["--extensions-dir", f"{CODE_SERVER_USER_DATA_DIR}/extensions"]
112
+ if self.debug:
113
+ args += ["-vvv"]
114
+ args.extend(self.args)
115
+ return args
116
+
117
+ c.JupyterHub.spawner_class = VSCodeKubeSpawner
118
+ {%- endraw %}
119
+ code_settings.py: |
120
+ c.JupyterHub.authenticate_prometheus = False
121
+ c.JupyterHub.tornado_settings = {
122
+ 'headers': {
123
+ 'Content-Security-Policy': "frame-ancestors 'self' {{ customer_root_domain }} login.{{ customer_root_domain }}"
124
+ }
125
+ }
126
+ c.KubeSpawner.delete_pvc = False
127
+ {%- if airflow_mcp_enabled or mcp_hub_enabled %}
128
+ keycloak_token_refresh.py: |
129
+ import base64
130
+ import json
131
+ import time
132
+
133
+ KEYCLOAK_REFRESH_MARGIN_SECONDS = 120
134
+
135
+ def _access_token_exp(access_token):
136
+ try:
137
+ payload = access_token.split(".")[1]
138
+ payload += "=" * (-len(payload) % 4)
139
+ return int(json.loads(base64.urlsafe_b64decode(payload)).get("exp", 0))
140
+ except (AttributeError, IndexError, ValueError, TypeError):
141
+ return 0
142
+
143
+ async def keycloak_refresh_user_hook(authenticator, user, auth_state):
144
+ if not auth_state or not auth_state.get("refresh_token"):
145
+ return None
146
+ if _access_token_exp(auth_state.get("access_token")) - time.time() > KEYCLOAK_REFRESH_MARGIN_SECONDS:
147
+ return None
148
+ refresh_token = auth_state["refresh_token"]
149
+ try:
150
+ token_info = await authenticator.get_token_info(
151
+ None, authenticator.build_refresh_token_request_params(refresh_token)
152
+ )
153
+ except Exception as e:
154
+ authenticator.log.info(f"Keycloak refresh failed for {user.name}: {e}")
155
+ return None
156
+ if not token_info.get("refresh_token"):
157
+ token_info["refresh_token"] = refresh_token
158
+ return await authenticator._token_to_auth_model(token_info)
159
+
160
+ c.GenericOAuthenticator.refresh_user_hook = keycloak_refresh_user_hook
161
+ {%- endif %}
162
+ extraFiles: {}
163
+ extraEnv: {}
164
+ extraContainers: []
165
+ {%- if cloud_provider == "self-managed" and dns_provider == "coredns" %}
166
+ extraVolumes:
167
+ - name: ca-certs
168
+ csi:
169
+ driver: csi.cert-manager.io
170
+ readOnly: true
171
+ volumeAttributes:
172
+ # This enables the trust functionality
173
+ csi.cert-manager.io/issuer-name: {{ customer }}-ca-issuer
174
+ csi.cert-manager.io/issuer-kind: ClusterIssuer
175
+ # Important: This enables trust mode specifically
176
+ csi.cert-manager.io/mount-as: trusted-ca
177
+ csi.cert-manager.io/fs-group: "1000"
178
+ {%- else %}
179
+ extraVolumes: []
180
+ {%- endif %}
181
+ {%- if cloud_provider == "self-managed" and dns_provider == "coredns" %}
182
+ extraVolumeMounts:
183
+ - name: ca-certs
184
+ mountPath: /etc/ssl/certs
185
+ readOnly: false
186
+ {%- else %}
187
+ extraVolumeMounts: []
188
+ {%- endif %}
189
+ {%- raw %}
190
+ image:
191
+ name: quay.io/jupyterhub/k8s-hub
192
+ tag: "4.4.5"
193
+ pullPolicy:
194
+ pullSecrets: []
195
+ resources:
196
+ requests:
197
+ cpu: 100m
198
+ memory: 256Mi
199
+ podSecurityContext:
200
+ runAsNonRoot: true
201
+ fsGroup: 1000
202
+ seccompProfile:
203
+ type: "RuntimeDefault"
204
+ containerSecurityContext:
205
+ runAsUser: 1000
206
+ runAsGroup: 1000
207
+ allowPrivilegeEscalation: false
208
+ capabilities:
209
+ drop: ["ALL"]
210
+ lifecycle: {}
211
+ {%- endraw %}
212
+ {%- if airflow_mcp_enabled or mcp_hub_enabled %}
213
+ loadRoles:
214
+ server:
215
+ description: "Post activity, access own server, read own auth_state for MCP tokens"
216
+ scopes:
217
+ - users:activity!user
218
+ - access:servers!server
219
+ - admin:auth_state!user
220
+ {%- else %}
221
+ loadRoles: {}
222
+ {%- endif %}
223
+ {%- raw %}
224
+ services: {}
225
+ pdb:
226
+ enabled: false
227
+ maxUnavailable:
228
+ minAvailable: 1
229
+ networkPolicy:
230
+ enabled: false
231
+ ingress: []
232
+ egress: []
233
+ egressAllowRules:
234
+ cloudMetadataServer: true
235
+ dnsPortsCloudMetadataServer: true
236
+ dnsPortsKubeSystemNamespace: true
237
+ dnsPortsPrivateIPs: true
238
+ nonPrivateIPs: true
239
+ privateIPs: true
240
+ interNamespaceAccessLabels: ignore
241
+ allowedIngressPorts: []
242
+ allowNamedServers: true
243
+ # Users can keep one server per flavour running concurrently (code + jlab + headroom).
244
+ namedServerLimitPerUser: 5
245
+ authenticatePrometheus:
246
+ redirectToServer:
247
+ shutdownOnLogout:
248
+ templatePaths: []
249
+ templateVars: {}
250
+ livenessProbe:
251
+ # The livenessProbe's aim to give JupyterHub sufficient time to startup but
252
+ # be able to restart if it becomes unresponsive for ~5 min.
253
+ enabled: true
254
+ initialDelaySeconds: 300
255
+ periodSeconds: 10
256
+ failureThreshold: 30
257
+ timeoutSeconds: 3
258
+ readinessProbe:
259
+ # The readinessProbe's aim is to provide a successful startup indication,
260
+ # but following that never become unready before its livenessProbe fail and
261
+ # restarts it if needed. To become unready following startup serves no
262
+ # purpose as there are no other pod to fallback to in our non-HA deployment.
263
+ enabled: true
264
+ initialDelaySeconds: 0
265
+ periodSeconds: 2
266
+ failureThreshold: 1000
267
+ timeoutSeconds: 1
268
+ existingSecret: ""
269
+ serviceAccount:
270
+ create: true
271
+ name:
272
+ annotations: {}
273
+ extraPodSpec: {}
274
+
275
+ rbac:
276
+ create: true
277
+
278
+ # proxy relates to the proxy pod, the proxy-public service, and the autohttps
279
+ # pod and proxy-http service.
280
+ {%- endraw %}
281
+ proxy:
282
+ secretToken: {{ oauth_client_secret_token }}
283
+ {%- raw %}
284
+ annotations: {}
285
+ deploymentStrategy:
286
+ ## type: Recreate
287
+ ## - JupyterHub's interaction with the CHP proxy becomes a lot more robust
288
+ ## with this configuration. To understand this, consider that JupyterHub
289
+ ## during startup will interact a lot with the k8s service to reach a
290
+ ## ready proxy pod. If the hub pod during a helm upgrade is restarting
291
+ ## directly while the proxy pod is making a rolling upgrade, the hub pod
292
+ ## could end up running a sequence of interactions with the old proxy pod
293
+ ## and finishing up the sequence of interactions with the new proxy pod.
294
+ ## As CHP proxy pods carry individual state this is very error prone. One
295
+ ## outcome when not using Recreate as a strategy has been that user pods
296
+ ## have been deleted by the hub pod because it considered them unreachable
297
+ ## as it only configured the old proxy pod but not the new before trying
298
+ ## to reach them.
299
+ type: Recreate
300
+ ## rollingUpdate:
301
+ ## - WARNING:
302
+ ## This is required to be set explicitly blank! Without it being
303
+ ## explicitly blank, k8s will let eventual old values under rollingUpdate
304
+ ## remain and then the Deployment becomes invalid and a helm upgrade would
305
+ ## fail with an error like this:
306
+ ##
307
+ ## UPGRADE FAILED
308
+ ## Error: Deployment.apps "proxy" is invalid: spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate'
309
+ ## Error: UPGRADE FAILED: Deployment.apps "proxy" is invalid: spec.strategy.rollingUpdate: Forbidden: may not be specified when strategy `type` is 'Recreate'
310
+ rollingUpdate:
311
+ # service relates to the proxy-public service
312
+ service:
313
+ type: ClusterIP
314
+ labels: {}
315
+ annotations: {}
316
+ nodePorts:
317
+ http:
318
+ https:
319
+ disableHttpPort: false
320
+ extraPorts: []
321
+ loadBalancerIP:
322
+ loadBalancerSourceRanges: []
323
+ # chp relates to the proxy pod, which is responsible for routing traffic based
324
+ # on dynamic configuration sent from JupyterHub to CHP's REST API.
325
+ chp:
326
+ revisionHistoryLimit:
327
+ containerSecurityContext:
328
+ runAsNonRoot: true
329
+ runAsUser: 65534 # nobody user
330
+ runAsGroup: 65534 # nobody group
331
+ allowPrivilegeEscalation: false
332
+ capabilities:
333
+ drop: ["ALL"]
334
+ seccompProfile:
335
+ type: "RuntimeDefault"
336
+ image:
337
+ name: quay.io/jupyterhub/configurable-http-proxy
338
+ # tag is automatically bumped to new patch versions by the
339
+ # watch-dependencies.yaml workflow.
340
+ #
341
+ tag: "5.4.0" # https://github.com/jupyterhub/configurable-http-proxy/tags
342
+ pullPolicy:
343
+ pullSecrets: []
344
+ extraCommandLineFlags: []
345
+ livenessProbe:
346
+ enabled: true
347
+ initialDelaySeconds: 60
348
+ periodSeconds: 10
349
+ failureThreshold: 30
350
+ timeoutSeconds: 3
351
+ readinessProbe:
352
+ enabled: true
353
+ initialDelaySeconds: 0
354
+ periodSeconds: 2
355
+ failureThreshold: 1000
356
+ timeoutSeconds: 1
357
+ resources: {}
358
+ defaultTarget:
359
+ errorTarget:
360
+ extraEnv: {}
361
+ nodeSelector: {}
362
+ tolerations: []
363
+ networkPolicy:
364
+ enabled: false
365
+ ingress: []
366
+ egress: []
367
+ egressAllowRules:
368
+ cloudMetadataServer: true
369
+ dnsPortsCloudMetadataServer: true
370
+ dnsPortsKubeSystemNamespace: true
371
+ dnsPortsPrivateIPs: true
372
+ nonPrivateIPs: true
373
+ privateIPs: true
374
+ interNamespaceAccessLabels: ignore
375
+ allowedIngressPorts: [http, https]
376
+ pdb:
377
+ enabled: false
378
+ maxUnavailable:
379
+ minAvailable: 1
380
+ extraPodSpec: {}
381
+ # traefik relates to the autohttps pod, which is responsible for TLS
382
+ # termination when proxy.https.type=letsencrypt.
383
+ traefik:
384
+ revisionHistoryLimit:
385
+ containerSecurityContext:
386
+ runAsNonRoot: true
387
+ runAsUser: 65534 # nobody user
388
+ runAsGroup: 65534 # nobody group
389
+ allowPrivilegeEscalation: false
390
+ capabilities:
391
+ drop: ["ALL"]
392
+ seccompProfile:
393
+ type: "RuntimeDefault"
394
+ image:
395
+ name: traefik
396
+ # tag is automatically bumped to new patch versions by the
397
+ # watch-dependencies.yaml workflow.
398
+ #
399
+ tag: "v3.6.12" # ref: https://hub.docker.com/_/traefik?tab=tags
400
+ pullPolicy:
401
+ pullSecrets: []
402
+ hsts:
403
+ includeSubdomains: false
404
+ preload: false
405
+ maxAge: 15724800 # About 6 months
406
+ resources: {}
407
+ labels: {}
408
+ extraInitContainers: []
409
+ extraEnv: {}
410
+ extraVolumes: []
411
+ extraVolumeMounts: []
412
+ extraStaticConfig: {}
413
+ extraDynamicConfig: {}
414
+ nodeSelector: {}
415
+ tolerations: []
416
+ extraPorts: []
417
+ networkPolicy:
418
+ enabled: false
419
+ ingress: []
420
+ egress: []
421
+ egressAllowRules:
422
+ cloudMetadataServer: true
423
+ dnsPortsCloudMetadataServer: true
424
+ dnsPortsKubeSystemNamespace: true
425
+ dnsPortsPrivateIPs: true
426
+ nonPrivateIPs: true
427
+ privateIPs: true
428
+ interNamespaceAccessLabels: ignore
429
+ allowedIngressPorts: [http, https]
430
+ pdb:
431
+ enabled: false
432
+ maxUnavailable:
433
+ minAvailable: 1
434
+ serviceAccount:
435
+ create: true
436
+ name:
437
+ annotations: {}
438
+ extraPodSpec: {}
439
+ secretSync:
440
+ containerSecurityContext:
441
+ runAsNonRoot: true
442
+ runAsUser: 65534 # nobody user
443
+ runAsGroup: 65534 # nobody group
444
+ allowPrivilegeEscalation: false
445
+ capabilities:
446
+ drop: ["ALL"]
447
+ seccompProfile:
448
+ type: "RuntimeDefault"
449
+ image:
450
+ name: quay.io/jupyterhub/k8s-secret-sync
451
+ tag: "4.4.5"
452
+ pullPolicy:
453
+ pullSecrets: []
454
+ resources: {}
455
+ labels: {}
456
+ https:
457
+ enabled: false
458
+ type: letsencrypt
459
+ #type: letsencrypt, manual, offload, secret
460
+ letsencrypt:
461
+ contactEmail:
462
+ # Specify custom server here (https://acme-staging-v02.api.letsencrypt.org/directory) to hit staging LE
463
+ acmeServer: https://acme-v02.api.letsencrypt.org/directory
464
+ manual:
465
+ key:
466
+ cert:
467
+ secret:
468
+ name:
469
+ key: tls.key
470
+ crt: tls.crt
471
+ hosts: []
472
+
473
+ # singleuser relates to the configuration of KubeSpawner which runs in the hub
474
+ # pod, and its spawning of user pods such as jupyter-myusername.
475
+ singleuser:
476
+ podNameTemplate:
477
+ extraTolerations: []
478
+ nodeSelector: {}
479
+ extraNodeAffinity:
480
+ required: []
481
+ preferred: []
482
+ extraPodAffinity:
483
+ required: []
484
+ preferred: []
485
+ extraPodAntiAffinity:
486
+ required: []
487
+ preferred: []
488
+ networkTools:
489
+ image:
490
+ name: quay.io/jupyterhub/k8s-network-tools
491
+ tag: "4.4.5"
492
+ pullPolicy:
493
+ pullSecrets: []
494
+ resources: {}
495
+ cloudMetadata:
496
+ # block set to true will append a privileged initContainer using the
497
+ # iptables to block the sensitive metadata server at the provided ip.
498
+ blockWithIptables: false
499
+ ip: 169.254.169.254
500
+ networkPolicy:
501
+ enabled: false
502
+ ingress: []
503
+ egress: []
504
+ egressAllowRules:
505
+ cloudMetadataServer: false
506
+ dnsPortsCloudMetadataServer: true
507
+ dnsPortsKubeSystemNamespace: true
508
+ dnsPortsPrivateIPs: true
509
+ nonPrivateIPs: true
510
+ privateIPs: false
511
+ interNamespaceAccessLabels: ignore
512
+ allowedIngressPorts: []
513
+ events: true
514
+ extraAnnotations: {}
515
+ extraLabels:
516
+ hub.jupyter.org/network-access-hub: "true"
517
+ extraFiles:
518
+ code-server-shim.conf:
519
+ mountPath: /etc/shim/code-server-shim.conf
520
+ stringData: |
521
+ worker_processes 1;
522
+ pid /tmp/nginx/nginx.pid;
523
+ error_log /dev/stderr warn;
524
+ events { worker_connections 2048; }
525
+ http {
526
+ access_log off;
527
+ client_body_temp_path /tmp/nginx/body;
528
+ proxy_temp_path /tmp/nginx/proxy;
529
+ fastcgi_temp_path /tmp/nginx/fastcgi;
530
+ uwsgi_temp_path /tmp/nginx/uwsgi;
531
+ scgi_temp_path /tmp/nginx/scgi;
532
+ client_max_body_size 0;
533
+ large_client_header_buffers 8 64k;
534
+ client_header_buffer_size 16k;
535
+ proxy_buffer_size 64k;
536
+ proxy_buffers 8 64k;
537
+ proxy_busy_buffers_size 128k;
538
+ map $http_upgrade $connection_upgrade { default upgrade; '' close; }
539
+ server {
540
+ listen 8888;
541
+ location = __PREFIX__ { return 302 __PREFIX__/; }
542
+ location __PREFIX__/ {
543
+ proxy_pass http://127.0.0.1:8080/;
544
+ proxy_http_version 1.1;
545
+ proxy_set_header Upgrade $http_upgrade;
546
+ proxy_set_header Connection $connection_upgrade;
547
+ proxy_set_header Host $host;
548
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
549
+ proxy_set_header X-Forwarded-Proto $scheme;
550
+ proxy_read_timeout 86400s;
551
+ proxy_send_timeout 86400s;
552
+ proxy_buffering off;
553
+ }
554
+ }
555
+ }
556
+ extraEnv:
557
+ GIT_REPO_URL:
558
+ valueFrom:
559
+ secretKeyRef:
560
+ name: data-modeling-repo-urls
561
+ key: data_repo_url
562
+ {%- endraw %}
563
+ {%- if superset_mcp_enabled %}
564
+ SUPERSET_MCP_URL: "{{ superset_mcp_url }}"
565
+ SUPERSET_MCP_TOKEN_URL: "https://login.{{ customer_root_domain }}/realms/{{ customer }}/protocol/openid-connect/token"
566
+ SUPERSET_MCP_CLIENT_ID:
567
+ valueFrom:
568
+ secretKeyRef:
569
+ name: data-modeling-bi-sso-secrets
570
+ key: CLIENT_ID
571
+ optional: true
572
+ SUPERSET_MCP_CLIENT_SECRET:
573
+ valueFrom:
574
+ secretKeyRef:
575
+ name: data-modeling-bi-sso-secrets
576
+ key: CLIENT_SECRET
577
+ optional: true
578
+ {%- endif %}
579
+ {%- if airflow_mcp_enabled %}
580
+ AIRFLOW_MCP_URL: "{{ airflow_mcp_url }}"
581
+ AIRFLOW_MCP_TOKEN_URL: "{{ airflow_mcp_token_url }}"
582
+ {%- endif %}
583
+ {%- if mcp_hub_enabled %}
584
+ MCP_HUB_URL: "{{ mcp_hub_url }}"
585
+ {%- endif %}
586
+ MCP_GIT_PROVIDER: "{{ mcp_git_provider }}"
587
+ {%- raw %}
588
+ lifecycleHooks: {}
589
+ initContainers: []
590
+ extraContainers: []
591
+ allowPrivilegeEscalation: false
592
+ uid: 1000
593
+ fsGid: 100
594
+ serviceAccountName:
595
+ storage:
596
+ type: dynamic
597
+ extraLabels: {}
598
+ extraVolumes: []
599
+ extraVolumeMounts: []
600
+ static:
601
+ pvcName:
602
+ subPath: "{username}"
603
+ capacity: 10Gi
604
+ homeMountPath: /home/jovyan
605
+ dynamic:
606
+ pvcNameTemplate: ide-storage-{username}{servername}
607
+ volumeNameTemplate: volume-{username}{servername}
608
+ storageAccessModes: [ReadWriteOnce]
609
+ {%- endraw %}
610
+ image:
611
+ name: "{{ data_modeling_app_name }}"
612
+ tag: "{{ data_modeling_app_version }}"
613
+ pullPolicy: IfNotPresent
614
+ pullSecrets: []
615
+ startTimeout: 300
616
+ {%- if cloud_provider == "self-managed" %}
617
+ cpu: {}
618
+ memory: {}
619
+ {%- else %}
620
+ cpu:
621
+ limit:
622
+ guarantee: 2
623
+ memory:
624
+ limit:
625
+ guarantee: 4G
626
+ {%- endif %}
627
+ {%- raw %}
628
+ extraResource:
629
+ limits: {}
630
+ guarantees: {}
631
+ cmd: jupyterhub-singleuser
632
+ defaultUrl:
633
+ extraPodConfig: {}
634
+ {%- endraw %}
635
+ profileList:
636
+ - display_name: "VS Code"
637
+ profile_name: code
638
+ slug: code
639
+ default: true
640
+ kubespawner_override:
641
+ default_url: /
642
+ image_pull_policy: IfNotPresent
643
+ cmd: ""
644
+ notebook_dir: /home/coder/fast2dev_notebook
645
+ working_dir: /home/coder/fast2dev_notebook/
646
+ volume_mounts:
647
+ - name: volume-{username}{servername}
648
+ mountPath: /home/coder
649
+ extra_containers:
650
+ - name: path-shim
651
+ image: nginxinc/nginx-unprivileged:1.27-alpine
652
+ imagePullPolicy: IfNotPresent
653
+ env:
654
+ - name: JH_USER
655
+ value: "{unescaped_username}"
656
+ - name: JH_SERVER
657
+ value: "{unescaped_servername}"
658
+ securityContext:
659
+ allowPrivilegeEscalation: false
660
+ volumeMounts:
661
+ - name: files
662
+ mountPath: /etc/shim
663
+ command:
664
+ - /bin/sh
665
+ - -c
666
+ - 'PREFIX=/user/$JH_USER; if [ -n "$JH_SERVER" ]; then PREFIX=$PREFIX/$JH_SERVER; fi; mkdir -p /tmp/nginx; sed "s|__PREFIX__|$PREFIX|g" /etc/shim/code-server-shim.conf > /tmp/nginx.conf; exec nginx -c /tmp/nginx.conf -g "daemon off;"'
667
+ init_containers:
668
+ - name: chown-working-dir
669
+ image: busybox
670
+ imagePullPolicy: IfNotPresent
671
+ command: ['sh', '-c', '
672
+ mkdir -p /home/coder/fast2dev_notebook/ &&
673
+ chown -R 1000:100 /home/coder/fast2dev_notebook/ &&
674
+ mkdir -p /home/coder/.ssh &&
675
+ chown -R 1000:100 /home/coder/.ssh
676
+ ']
677
+ volumeMounts:
678
+ - mountPath: /home/coder/
679
+ name: volume-{username}{servername}
680
+ - name: customization
681
+ image: "{{ data_modeling_app_name }}:{{ data_modeling_app_version }}"
682
+ imagePullPolicy: IfNotPresent
683
+ env:
684
+ - name: SERVICE_URL
685
+ value: https://open-vsx.org/vscode/gallery
686
+ - name: ITEM_URL
687
+ value: https://open-vsx.org/vscode/item
688
+ - name: GIT_REPO_URL
689
+ valueFrom:
690
+ secretKeyRef:
691
+ name: data-modeling-repo-urls
692
+ key: data_repo_url
693
+ - name: GIT_PROVIDER
694
+ value: "gitlab"
695
+ - name: GIT_USER_NAME
696
+ value: "{{ customer }}"
697
+ - name: GIT_USER_EMAIL
698
+ value: "{{ git_user_mail }}"
699
+ - name: CUSTOMER
700
+ value: "{{ customer }}"
701
+ - name: JUPYTERHUB_USER
702
+ value: "{username}"
703
+ - name: SUPERSET_MCP_URL
704
+ value: "{{ superset_mcp_url }}"
705
+ - name: AIRFLOW_MCP_URL
706
+ value: "{{ airflow_mcp_url }}"
707
+ - name: MCP_HUB_URL
708
+ value: "{{ mcp_hub_url }}"
709
+ - name: MCP_GIT_PROVIDER
710
+ value: "{{ mcp_git_provider }}"
711
+ - name: GROUP_ACCESS_TOKEN
712
+ valueFrom:
713
+ secretKeyRef:
714
+ name: data-modeling-group-repo-access-secrets
715
+ key: PRIVATE-TOKEN
716
+ optional: true
717
+ - name: GROUP_ACCESS_TOKEN_NAME
718
+ valueFrom:
719
+ secretKeyRef:
720
+ name: data-modeling-group-repo-access-secrets
721
+ key: PRIVATE-TOKEN-NAME
722
+ optional: true
723
+ - name: SSH_PRIVATE_KEY
724
+ valueFrom:
725
+ secretKeyRef:
726
+ name: data-modeling-group-repo-deploy-keys
727
+ key: private
728
+ optional: true
729
+ - name: SSH_PUBLIC_KEY
730
+ valueFrom:
731
+ secretKeyRef:
732
+ name: data-modeling-group-repo-deploy-keys
733
+ key: public
734
+ optional: true
735
+ command:
736
+ - /usr/init/initialization.sh
737
+ volumeMounts:
738
+ - name: volume-{username}{servername}
739
+ mountPath: /home/coder
740
+ - name: chown-working-dir-finalise
741
+ image: busybox
742
+ imagePullPolicy: IfNotPresent
743
+ command: ['sh', '-c', 'if [ -f "/home/coder/.ssh/id_ed25519" ]; then chown 1000:100 /home/coder/.ssh/id_ed25519 /home/coder/.ssh/id_ed25519.pub /home/coder/.ssh/known_hosts; fi']
744
+ volumeMounts:
745
+ - mountPath: /home/coder/
746
+ name: volume-{username}{servername}
747
+ - display_name: "JupyterLab"
748
+ profile_name: jlab
749
+ slug: jlab
750
+ default: false
751
+ kubespawner_override:
752
+ default_url: /lab
753
+ image: "{{ data_modeling_jlab_app_name }}:{{ data_modeling_jlab_app_version }}"
754
+ image_pull_policy: IfNotPresent
755
+ port: 8888
756
+ cmd: jupyterhub-singleuser
757
+ notebook_dir: /home/jovyan
758
+ working_dir: /home/jovyan
759
+ environment:
760
+ SERVICE_URL: https://open-vsx.org/vscode/gallery
761
+ ITEM_URL: https://open-vsx.org/vscode/item
762
+ GIT_PROVIDER: "gitlab"
763
+ GIT_USER_NAME: "{{ customer }}"
764
+ GIT_USER_EMAIL: "{{ git_user_mail }}"
765
+ CUSTOMER: "{{ customer }}"
766
+ {%- if superset_mcp_enabled %}
767
+ SUPERSET_MCP_URL: "{{ superset_mcp_url }}"
768
+ SUPERSET_MCP_TOKEN_URL: "https://login.{{ customer_root_domain }}/realms/{{ customer }}/protocol/openid-connect/token"
769
+ SUPERSET_MCP_CLIENT_ID:
770
+ valueFrom:
771
+ secretKeyRef:
772
+ name: data-modeling-bi-sso-secrets
773
+ key: CLIENT_ID
774
+ optional: true
775
+ SUPERSET_MCP_CLIENT_SECRET:
776
+ valueFrom:
777
+ secretKeyRef:
778
+ name: data-modeling-bi-sso-secrets
779
+ key: CLIENT_SECRET
780
+ optional: true
781
+ {%- endif %}
782
+ {%- if airflow_mcp_enabled %}
783
+ AIRFLOW_MCP_URL: "{{ airflow_mcp_url }}"
784
+ AIRFLOW_MCP_TOKEN_URL: "{{ airflow_mcp_token_url }}"
785
+ {%- endif %}
786
+ {%- if mcp_hub_enabled %}
787
+ MCP_HUB_URL: "{{ mcp_hub_url }}"
788
+ {%- endif %}
789
+ MCP_GIT_PROVIDER: "{{ mcp_git_provider }}"
790
+ init_containers:
791
+ - name: chown-working-dir
792
+ image: busybox
793
+ imagePullPolicy: IfNotPresent
794
+ command: ['sh', '-c', '
795
+ mkdir -p /home/jovyan/fast2dev_notebook &&
796
+ chown -R 1000:100 /home/jovyan/fast2dev_notebook &&
797
+ mkdir -p /home/jovyan/.ssh &&
798
+ chown -R 1000:100 /home/jovyan/.ssh
799
+ ']
800
+ volumeMounts:
801
+ - mountPath: /home/jovyan/
802
+ name: volume-{username}{servername}
803
+ - name: customization
804
+ image: "{{ data_modeling_jlab_app_name }}:{{ data_modeling_jlab_app_version }}"
805
+ imagePullPolicy: IfNotPresent
806
+ env:
807
+ - name: GIT_REPO_URL
808
+ valueFrom:
809
+ secretKeyRef:
810
+ name: data-modeling-repo-urls
811
+ key: data_repo_url
812
+ - name: GIT_PROVIDER
813
+ value: "gitlab"
814
+ - name: GIT_USER_NAME
815
+ value: "{{ customer }}"
816
+ - name: GIT_USER_EMAIL
817
+ value: "{{ git_user_mail }}"
818
+ - name: CUSTOMER
819
+ value: "{{ customer }}"
820
+ - name: JUPYTERHUB_USER
821
+ value: "{username}"
822
+ - name: SUPERSET_MCP_URL
823
+ value: "{{ superset_mcp_url }}"
824
+ - name: AIRFLOW_MCP_URL
825
+ value: "{{ airflow_mcp_url }}"
826
+ - name: MCP_HUB_URL
827
+ value: "{{ mcp_hub_url }}"
828
+ - name: MCP_GIT_PROVIDER
829
+ value: "{{ mcp_git_provider }}"
830
+ - name: GROUP_ACCESS_TOKEN
831
+ valueFrom:
832
+ secretKeyRef:
833
+ name: data-modeling-group-repo-access-secrets
834
+ key: PRIVATE-TOKEN
835
+ optional: true
836
+ - name: GROUP_ACCESS_TOKEN_NAME
837
+ valueFrom:
838
+ secretKeyRef:
839
+ name: data-modeling-group-repo-access-secrets
840
+ key: PRIVATE-TOKEN-NAME
841
+ optional: true
842
+ - name: SSH_PRIVATE_KEY
843
+ valueFrom:
844
+ secretKeyRef:
845
+ name: data-modeling-group-repo-deploy-keys
846
+ key: private
847
+ optional: true
848
+ - name: SSH_PUBLIC_KEY
849
+ valueFrom:
850
+ secretKeyRef:
851
+ name: data-modeling-group-repo-deploy-keys
852
+ key: public
853
+ optional: true
854
+ command:
855
+ - /usr/init/initialization.sh
856
+ volumeMounts:
857
+ - name: volume-{username}{servername}
858
+ mountPath: /home/jovyan
859
+ - name: chown-working-dir-finalise
860
+ image: busybox
861
+ imagePullPolicy: IfNotPresent
862
+ command: ['sh', '-c', 'if [ -f "/home/jovyan/.ssh/id_ed25519" ]; then chown 1000:100 /home/jovyan/.ssh/id_ed25519 /home/jovyan/.ssh/id_ed25519.pub /home/jovyan/.ssh/known_hosts; fi']
863
+ volumeMounts:
864
+ - mountPath: /home/jovyan/
865
+ name: volume-{username}{servername}
866
+ {%- raw %}
867
+
868
+ # scheduling relates to the user-scheduler pods and user-placeholder pods.
869
+ scheduling:
870
+ userScheduler:
871
+ enabled: true
872
+ revisionHistoryLimit:
873
+ replicas: 1
874
+ logLevel: 4
875
+ # plugins are configured on the user-scheduler to make us score how we
876
+ # schedule user pods in a way to help us schedule on the most busy node. By
877
+ # doing this, we help scale down more effectively. It isn't obvious how to
878
+ # enable/disable scoring plugins, and configure them, to accomplish this.
879
+ #
880
+ # plugins ref: https://kubernetes.io/docs/reference/scheduling/config/#scheduling-plugins-1
881
+ # migration ref: https://kubernetes.io/docs/reference/scheduling/config/#scheduler-configuration-migrations
882
+ #
883
+ plugins:
884
+ score:
885
+ # We make use of the default scoring plugins, but we re-enable some with
886
+ # a new priority, leave some enabled with their lower default priority,
887
+ # and disable some.
888
+ #
889
+ # Below are the default scoring plugins as of 2024-09-23 according to
890
+ # https://kubernetes.io/docs/reference/scheduling/config/#scheduling-plugins.
891
+ #
892
+ # Re-enabled with high priority:
893
+ # - NodeAffinity
894
+ # - InterPodAffinity
895
+ # - NodeResourcesFit
896
+ # - ImageLocality
897
+ #
898
+ # Remains enabled with low default priority:
899
+ # - TaintToleration
900
+ # - PodTopologySpread
901
+ # - VolumeBinding
902
+ #
903
+ # Disabled for scoring:
904
+ # - NodeResourcesBalancedAllocation
905
+ #
906
+ disabled:
907
+ # We disable these plugins (with regards to scoring) to not interfere
908
+ # or complicate our use of NodeResourcesFit.
909
+ - name: NodeResourcesBalancedAllocation
910
+ # Disable plugins to be allowed to enable them again with a different
911
+ # weight and avoid an error.
912
+ - name: NodeAffinity
913
+ - name: InterPodAffinity
914
+ - name: NodeResourcesFit
915
+ - name: ImageLocality
916
+ enabled:
917
+ - name: NodeAffinity
918
+ weight: 14631
919
+ - name: InterPodAffinity
920
+ weight: 1331
921
+ - name: NodeResourcesFit
922
+ weight: 121
923
+ - name: ImageLocality
924
+ weight: 11
925
+ pluginConfig:
926
+ # Here we declare that we should optimize pods to fit based on a
927
+ # MostAllocated strategy instead of the default LeastAllocated.
928
+ - name: NodeResourcesFit
929
+ args:
930
+ scoringStrategy:
931
+ type: MostAllocated
932
+ resources:
933
+ - name: cpu
934
+ weight: 1
935
+ - name: memory
936
+ weight: 1
937
+ containerSecurityContext:
938
+ runAsNonRoot: true
939
+ runAsUser: 65534 # nobody user
940
+ runAsGroup: 65534 # nobody group
941
+ allowPrivilegeEscalation: false
942
+ capabilities:
943
+ drop: ["ALL"]
944
+ seccompProfile:
945
+ type: "RuntimeDefault"
946
+ image:
947
+ # IMPORTANT: Bumping the minor version of this binary should go hand in
948
+ # hand with an inspection of the user-scheduelr's RBAC
949
+ # resources that we have forked in
950
+ # templates/scheduling/user-scheduler/rbac.yaml.
951
+ #
952
+ # Debugging advice:
953
+ #
954
+ # - Is configuration of kube-scheduler broken in
955
+ # templates/scheduling/user-scheduler/configmap.yaml?
956
+ #
957
+ # - Is the kube-scheduler binary's compatibility to work
958
+ # against a k8s api-server that is too new or too old?
959
+ #
960
+ # - You can update the GitHub workflow that runs tests to
961
+ # include "deploy/user-scheduler" in the k8s namespace report
962
+ # and reduce the user-scheduler deployments replicas to 1 in
963
+ # dev-config.yaml to get relevant logs from the user-scheduler
964
+ # pods. Inspect the "Kubernetes namespace report" action!
965
+ #
966
+ # - Typical failures are that kube-scheduler fails to search for
967
+ # resources via its "informers", and won't start trying to
968
+ # schedule pods before they succeed which may require
969
+ # additional RBAC permissions or that the k8s api-server is
970
+ # aware of the resources.
971
+ #
972
+ # - If "successfully acquired lease" can be seen in the logs, it
973
+ # is a good sign kube-scheduler is ready to schedule pods.
974
+ #
975
+ name: registry.k8s.io/kube-scheduler
976
+ # tag is automatically bumped to new patch versions by the
977
+ # watch-dependencies.yaml workflow. The minor version is pinned in the
978
+ # workflow, and should be updated there if a minor version bump is done
979
+ # here. We aim to stay around 1 minor version behind the latest k8s
980
+ # version.
981
+ #
982
+ tag: "v1.30.14" # ref: https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG
983
+ pullPolicy:
984
+ pullSecrets: []
985
+ nodeSelector: {}
986
+ tolerations: []
987
+ labels: {}
988
+ annotations: {}
989
+ pdb:
990
+ enabled: true
991
+ maxUnavailable: 1
992
+ minAvailable:
993
+ resources: {}
994
+ serviceAccount:
995
+ create: true
996
+ name:
997
+ annotations: {}
998
+ extraPodSpec: {}
999
+ podPriority:
1000
+ enabled: false
1001
+ globalDefault: false
1002
+ defaultPriority: 0
1003
+ imagePullerPriority: -5
1004
+ userPlaceholderPriority: -10
1005
+ userPlaceholder:
1006
+ enabled: true
1007
+ image:
1008
+ name: registry.k8s.io/pause
1009
+ # tag is automatically bumped to new patch versions by the
1010
+ # watch-dependencies.yaml workflow.
1011
+ #
1012
+ # If you update this, also update prePuller.pause.image.tag
1013
+ #
1014
+ tag: "3.10.1"
1015
+ pullPolicy:
1016
+ pullSecrets: []
1017
+ revisionHistoryLimit:
1018
+ replicas: 0
1019
+ labels: {}
1020
+ annotations: {}
1021
+ containerSecurityContext:
1022
+ runAsNonRoot: true
1023
+ runAsUser: 65534 # nobody user
1024
+ runAsGroup: 65534 # nobody group
1025
+ allowPrivilegeEscalation: false
1026
+ capabilities:
1027
+ drop: ["ALL"]
1028
+ seccompProfile:
1029
+ type: "RuntimeDefault"
1030
+ resources: {}
1031
+ extraPodSpec: {}
1032
+ corePods:
1033
+ tolerations:
1034
+ - key: hub.jupyter.org/dedicated
1035
+ operator: Equal
1036
+ value: core
1037
+ effect: NoSchedule
1038
+ - key: hub.jupyter.org_dedicated
1039
+ operator: Equal
1040
+ value: core
1041
+ effect: NoSchedule
1042
+ nodeAffinity:
1043
+ matchNodePurpose: prefer
1044
+ userPods:
1045
+ tolerations:
1046
+ - key: hub.jupyter.org/dedicated
1047
+ operator: Equal
1048
+ value: user
1049
+ effect: NoSchedule
1050
+ - key: hub.jupyter.org_dedicated
1051
+ operator: Equal
1052
+ value: user
1053
+ effect: NoSchedule
1054
+ nodeAffinity:
1055
+ matchNodePurpose: prefer
1056
+
1057
+ # prePuller relates to the hook|continuous-image-puller DaemonsSets
1058
+ prePuller:
1059
+ revisionHistoryLimit:
1060
+ labels: {}
1061
+ annotations: {}
1062
+ resources: {}
1063
+ containerSecurityContext:
1064
+ runAsNonRoot: true
1065
+ runAsUser: 65534 # nobody user
1066
+ runAsGroup: 65534 # nobody group
1067
+ allowPrivilegeEscalation: false
1068
+ capabilities:
1069
+ drop: ["ALL"]
1070
+ seccompProfile:
1071
+ type: "RuntimeDefault"
1072
+ extraTolerations: []
1073
+ # hook relates to the hook-image-awaiter Job and hook-image-puller DaemonSet
1074
+ hook:
1075
+ enabled: false
1076
+ pullOnlyOnChanges: true
1077
+ # image and the configuration below relates to the hook-image-awaiter Job
1078
+ image:
1079
+ name: quay.io/jupyterhub/k8s-image-awaiter
1080
+ tag: "4.4.5"
1081
+ pullPolicy:
1082
+ pullSecrets: []
1083
+ containerSecurityContext:
1084
+ runAsNonRoot: true
1085
+ runAsUser: 65534 # nobody user
1086
+ runAsGroup: 65534 # nobody group
1087
+ allowPrivilegeEscalation: false
1088
+ capabilities:
1089
+ drop: ["ALL"]
1090
+ seccompProfile:
1091
+ type: "RuntimeDefault"
1092
+ podSchedulingWaitDuration: 10
1093
+ nodeSelector: {}
1094
+ tolerations: []
1095
+ resources: {}
1096
+ # Service Account for the hook-image-awaiter Job
1097
+ serviceAccount:
1098
+ create: true
1099
+ name:
1100
+ annotations: {}
1101
+ # Service Account for the hook-image-puller DaemonSet
1102
+ serviceAccountImagePuller:
1103
+ create: true
1104
+ name:
1105
+ annotations: {}
1106
+ continuous:
1107
+ enabled: false
1108
+ serviceAccount:
1109
+ create: true
1110
+ name:
1111
+ annotations: {}
1112
+ pullProfileListImages: true
1113
+ extraImages: {}
1114
+ pause:
1115
+ containerSecurityContext:
1116
+ runAsNonRoot: true
1117
+ runAsUser: 65534 # nobody user
1118
+ runAsGroup: 65534 # nobody group
1119
+ allowPrivilegeEscalation: false
1120
+ capabilities:
1121
+ drop: ["ALL"]
1122
+ seccompProfile:
1123
+ type: "RuntimeDefault"
1124
+ image:
1125
+ name: registry.k8s.io/pause
1126
+ # tag is automatically bumped to new patch versions by the
1127
+ # watch-dependencies.yaml workflow.
1128
+ #
1129
+ # If you update this, also update scheduling.userPlaceholder.image.tag
1130
+ #
1131
+ tag: "3.10.1"
1132
+ pullPolicy:
1133
+ pullSecrets: []
1134
+ {%- endraw %}
1135
+ ingress:
1136
+ enabled: true
1137
+ ingressClassName: traefik
1138
+ annotations:
1139
+ external-dns.alpha.kubernetes.io/hostname: {{ ingress_host }}
1140
+ # cert-manager.io/cluster-issuer: lets-encrypt-issuer
1141
+ traefik.ingress.kubernetes.io/router.middlewares: traefik-ingress-redirect-https@kubernetescrd
1142
+ hosts: [{{ ingress_host }}]
1143
+ pathType: ImplementationSpecific
1144
+ tls: [] # Using Fast2.Dev WildCard Certificate namespace traefik-ingress
1145
+ # - secretName: ide-tls-cert
1146
+ # hosts:
1147
+ # - {{ ingress_host }}
1148
+ # cull relates to the jupyterhub-idle-culler service, responsible for evicting
1149
+ # inactive singleuser pods.
1150
+ #
1151
+ # The configuration below, except for enabled, corresponds to command-line flags
1152
+ # for jupyterhub-idle-culler as documented here:
1153
+ # https://github.com/jupyterhub/jupyterhub-idle-culler#as-a-standalone-script
1154
+ #
1155
+ cull:
1156
+ enabled: true
1157
+ users: true # --cull-users
1158
+ adminUsers: true # --cull-admin-users
1159
+ removeNamedServers: false # --remove-named-servers
1160
+ timeout: 3600 # --timeout
1161
+ every: 600 # --cull-every
1162
+ concurrency: 10 # --concurrency
1163
+ maxAge: 0 # --max-age
1164
+ debug:
1165
+ enabled: false
1166
+ global:
1167
+ safeToShowValues: false