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,866 @@
1
+ # Fast2.Dev Platform Deployment CLI
2
+
3
+ This CLI provides a comprehensive deployment solution for the Fast2.Dev platform across multiple cloud providers.
4
+
5
+ ## 📦 Module Map
6
+
7
+ The CLI is split into focused Python modules under `platform/cli/`,
8
+ with a thin bootstrap at `platform/cli.py` that runs the host precheck
9
+ before importing the Click command.
10
+
11
+ | Module | Responsibility |
12
+ |----------------|----------------|
13
+ | `cli.py` (root)| **Bootstrap.** Creates/reuses `platform/.venv`, runs the precheck, then forwards to `cli.main`. |
14
+ | `cli/main.py` | The Click command + the 6-phase `DeploymentManager`. The bulk of the deployment logic. |
15
+ | `cli/precheck.py` | Host precheck: Python runtime + `pip` packages + external tools (kubectl, gcloud, terraform, …). Cross-platform (Linux, macOS, Windows + WSL2). |
16
+ | `cli/state.py` | `DeploymentState` — load/save the deployment-progress JSON file. |
17
+ | `cli/destroy.py` | `EnvironmentDestroyer` and `cleanup_local_environment`. Handles `--destroy` and `--cleanup`. |
18
+ | `cli/generate_only.py` | `--generate-only`: placeholder kubeconfig, the guard that skips remote calls, and the closing file summary. |
19
+ | `cli/wizard.py`| Interactive prompts (`collect_basic_config`, `safe_input`, `safe_select`, `validate_customer_name_strict`, …). |
20
+ | `cli/config.py`| YAML config file loaders (the `basic` / `infrastructure_deployment` / `secrets` / … → flat-key transform). |
21
+ | `cli/logging.py` | Centralized file logger + `TG_DOWNLOAD_DIR` setup. |
22
+ | `cli/fixers.py`| One-shot fixers (currently `fix_kubeconfig`). |
23
+ | `cli/exit_codes.py` | Named exit-code constants (`RC_OK`, `RC_PRECHECK_FAILED`, …). |
24
+ | `cli/__main__.py` | `python -m cli` entrypoint. |
25
+ | `cli/config/` | Service version configs (data + infrastructure) consumed by the deployer. |
26
+ | `cli/prerequisites/` | Legacy shell/PowerShell installer scripts. Kept as a fallback; the precheck is the recommended path. |
27
+
28
+ Run `python -m cli.precheck {check,install,ensure-venv}` directly to
29
+ manage the precheck without going through the wizard.
30
+
31
+ ## 🧾 Generate files only (`--generate-only`)
32
+
33
+ Runs the same wizard and writes every deployment and secret file, but deploys nothing:
34
+ no Terraform apply, no `helm`, `kubectl` or Vault calls, no git clone or push. Every
35
+ command runs against a placeholder kubeconfig, and any call that would reach a cloud,
36
+ a cluster or a git remote is skipped and counted.
37
+
38
+ ```bash
39
+ python cli.py --generate-only
40
+ python cli.py --generate-only --config my-deployment.yaml --non-interactive
41
+ python cli.py --generate-only --phase 5 # re-render one phase after phase 2 has run
42
+ ```
43
+
44
+ What you get:
45
+
46
+ | Output | Where |
47
+ |---|---|
48
+ | Terraform/Terragrunt inputs | `terraform/google_cloud/terragrunt/` |
49
+ | Helm values, manifests, Keycloak realm, Grafana alerts and dashboards | `charts/**` |
50
+ | All platform secrets (plain text, mode 0600) | `cli/state/secrets/<customer>_customer_vault_structure.json` |
51
+ | Initial content for the DAG and dbt repositories | `cli/state/generated/<customer>_repos/` |
52
+ | Your answers | `cli/state/generated_state.json` |
53
+
54
+ Good to know:
55
+
56
+ - Your deployment state (`cli/state/deployment_state.json`) is not touched. The generated
57
+ state keeps only your answers, so a later real deployment starts from phase 1:
58
+ `python cli.py --state-file cli/state/generated_state.json`.
59
+ - Values that only exist after Terraform (cluster, external IP, service account keys) are
60
+ placeholders. Without service account files, a placeholder service account is used.
61
+ - Phase 6 is skipped: it encrypts the files of a deployed platform and pushes them to the
62
+ deployment repository.
63
+ - The secrets file and the rendered values and realm files contain passwords. Keep them private.
64
+ - `--dry-run` is an alias.
65
+
66
+ ## 🔁 Continue from the deployment repository (`--from-repo`)
67
+
68
+ Phase 6 encrypts every generated file and pushes it to the deployment-files repository:
69
+ Terraform inputs, Helm values and manifests, the Keycloak realm, the secrets file and the
70
+ installer state (`installer/`). Before encrypting, the secrets file is refreshed from Vault.
71
+ The key is stored in the cluster's Vault and copied to
72
+ `cli/state/secrets/<customer>_deployment_files.key`; move that copy to a password manager.
73
+
74
+ To work on the platform from another machine (or after phase 6 removed the local files):
75
+
76
+ ```bash
77
+ FAST2DEV_GIT_TOKEN=<token> python cli.py --from-repo https://github.com/acme/deployment-files.git --key-file acme.key
78
+ python cli.py --state-file cli/state/deployment_state.json
79
+ ```
80
+
81
+ The key comes from `--key-file`, `FAST2DEV_DEPLOYMENT_KEY`, the cluster's Vault (when
82
+ `KUBECONFIG` points at it) or a prompt. Nothing is written when the key is wrong, and existing
83
+ local files are only overwritten after confirmation.
84
+
85
+ ## ⚠️ Security Warning
86
+
87
+ **IMPORTANT**: The configuration files in this directory contain example values only. Never use real credentials, API keys, or sensitive information in public repositories. Always:
88
+
89
+ - Replace all example values with your actual credentials
90
+ - Use environment variables or secure secret management for sensitive data
91
+ - Never commit real credentials to version control
92
+ - Use `.gitignore` to exclude configuration files with real credentials
93
+
94
+ ## 📋 Prerequisites
95
+
96
+ > **🆕 Recommended path: let `python cli.py` handle this for you.**
97
+ > Every CLI launch now runs an automatic host precheck
98
+ > ([`platform/utils/host_prep.py`](../utils/host_prep.py)) that
99
+ > creates a project virtualenv, installs missing Python packages,
100
+ > and reports the status of every required external tool. The
101
+ > manual instructions below are kept for users who want a
102
+ > system-wide install or who need to bootstrap a host where the
103
+ > precheck cannot run.
104
+
105
+ Before using the Fast2.Dev CLI, you need to install the required tools and dependencies.
106
+
107
+ ### Required Tools
108
+
109
+ | Tool | Purpose | Installation |
110
+ |------|---------|-------------|
111
+ | **Python >=3.10** | CLI runtime | [Download](https://python.org) or use system package manager |
112
+ | **kubectl** | Kubernetes management | [Install kubectl](https://kubernetes.io/docs/tasks/tools/) |
113
+ | **gcloud CLI** | Google Cloud authentication | [Install gcloud](https://cloud.google.com/sdk/docs/install) |
114
+ | **Terraform** | Infrastructure as Code | [Install Terraform](https://terraform.io/downloads) |
115
+ | **Terragrunt** | Terraform wrapper | [Install Terragrunt](https://terragrunt.gruntwork.io/docs/getting-started/install/) |
116
+ | **Helm** | Kubernetes package manager | [Install Helm](https://helm.sh/docs/intro/install/) |
117
+ | **Git** | Repository operations | [Install Git](https://git-scm.com/downloads) |
118
+ | **Docker** | Container operations (optional) | [Install Docker](https://docker.com/get-started) |
119
+ | **jq** | JSON processing | [Install jq](https://jqlang.github.io/jq/download/) |
120
+
121
+ ### Quick Installation
122
+
123
+ **Option 1: Automatic via the CLI itself (Recommended)**
124
+
125
+ ```bash
126
+ # Just run the CLI. The host precheck runs first.
127
+ python cli.py
128
+
129
+ # Or pre-flight only (prints the table, exits without deploying):
130
+ python cli.py --show-prereq-status
131
+
132
+ # Or auto-install everything (no prompts):
133
+ python cli.py --auto-install-prereqs
134
+
135
+ # Or in JSON for CI / monitoring:
136
+ python cli.py --show-prereq-status --json
137
+ ```
138
+
139
+ On a clean host the precheck:
140
+
141
+ 1. Creates `platform/.venv` (project-local) and re-execs the CLI into it
142
+ (no `sudo` required, no `--break-system-packages` needed).
143
+ 2. Installs every Python package from `platform/requirements.txt`
144
+ and `platform/cli/prerequisites/requirements.txt` silently.
145
+ 3. Probes every required external tool and asks before installing
146
+ the missing ones. Inside Docker / CI the system Python is
147
+ considered throwaway, so a venv is not created and packages
148
+ install straight into the system interpreter.
149
+
150
+ On a fully prepared host the precheck takes the fast path
151
+ (<100 ms, one `shutil.which` per tool) and the user sees a single
152
+ `✅ host ready` line.
153
+
154
+ **Option 2: Legacy shell installers (fallback)**
155
+
156
+ The `cli/prerequisites/` directory still contains cross-platform
157
+ shell / PowerShell / batch installers. They are kept as a fallback
158
+ for users who need a system-wide install. See
159
+ [`cli/prerequisites/README.md`](prerequisites/README.md).
160
+
161
+ #### macOS/Linux
162
+ ```bash
163
+ # Run the cross-platform installer
164
+ ./cli/prerequisites/install-prerequisites.sh
165
+
166
+ # Verify installation
167
+ ./cli/prerequisites/verify-prerequisites.sh
168
+ ```
169
+
170
+ #### Windows (PowerShell)
171
+ ```powershell
172
+ # Run the PowerShell installer
173
+ .\cli\prerequisites\install-prerequisites.ps1
174
+
175
+ # Verify installation
176
+ .\cli\prerequisites\verify-prerequisites.sh
177
+ ```
178
+
179
+ #### Windows (Batch File)
180
+ ```cmd
181
+ # Run the batch installer (recommends PowerShell)
182
+ .\cli\prerequisites\install-prerequisites.bat
183
+ ```
184
+
185
+ **Note**: The installation scripts automatically detect your operating system and run the appropriate installation method for your platform.
186
+
187
+ **Option 2: Manual Installation**
188
+
189
+ #### macOS
190
+ ```bash
191
+ # Install using Homebrew
192
+ brew install python kubectl google-cloud-sdk terraform terragrunt helm git docker jq
193
+
194
+ # Verify installation
195
+ python --version
196
+ kubectl version --client
197
+ gcloud --version
198
+ terraform --version
199
+ terragrunt --version
200
+ helm version
201
+ ```
202
+
203
+ #### Linux (Ubuntu/Debian)
204
+ ```bash
205
+ # Update package list
206
+ sudo apt update
207
+
208
+ # Install Python
209
+ sudo apt install python3 python3-pip
210
+
211
+ # Install kubectl
212
+ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
213
+ sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
214
+
215
+ # Install gcloud CLI
216
+ curl https://sdk.cloud.google.com | bash
217
+ exec -l $SHELL
218
+
219
+ # Install Terraform
220
+ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
221
+ sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
222
+ sudo apt-get update && sudo apt-get install terraform
223
+
224
+ # Install Terragrunt v0.88.1
225
+ sudo curl -fsSL -o /usr/local/bin/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v0.88.1/terragrunt_linux_amd64
226
+ sudo chmod +x /usr/local/bin/terragrunt
227
+
228
+ # Install Helm
229
+ curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
230
+
231
+ # Install other tools
232
+ sudo apt install git docker.io jq
233
+ ```
234
+
235
+ #### Windows (WSL2)
236
+ ```powershell
237
+ # Fast2.Dev CLI now requires WSL2 for Windows compatibility
238
+ # The installer will automatically install WSL2 and Ubuntu if needed
239
+ .\cli\prerequisites\install-prerequisites.ps1
240
+
241
+ # After WSL2 installation, complete setup in WSL2:
242
+ wsl -d Ubuntu
243
+ git clone https://github.com/m7xlab/fast2dev.git
244
+ cd m7xlab/fast2dev
245
+ chmod +x cli/prerequisites/install-prerequisites.sh
246
+ ./cli/prerequisites/install-prerequisites.sh
247
+ python cli.py
248
+ ```
249
+
250
+ **Why WSL2?**
251
+ - Eliminates Windows-specific compatibility issues
252
+ - Provides consistent behavior across all platforms
253
+ - Native Linux environment for all tools
254
+
255
+ ### Cloud Provider Setup
256
+
257
+ #### Google Cloud Platform (GCP)
258
+ ```bash
259
+ # Authenticate with GCP
260
+ gcloud auth login
261
+
262
+ # Set default project
263
+ gcloud config set project YOUR_PROJECT_ID
264
+
265
+ # Enable required APIs
266
+ gcloud services enable compute.googleapis.com
267
+ gcloud services enable container.googleapis.com
268
+ gcloud services enable dns.googleapis.com
269
+ ```
270
+
271
+ #### Amazon Web Services (AWS)
272
+ ```bash
273
+ # Configure AWS credentials
274
+ aws configure
275
+
276
+ # Or set environment variables
277
+ export AWS_ACCESS_KEY_ID=your_access_key
278
+ export AWS_SECRET_ACCESS_KEY=your_secret_key
279
+ export AWS_DEFAULT_REGION=us-west-2
280
+ ```
281
+
282
+ #### Microsoft Azure
283
+ ```bash
284
+ # Login to Azure
285
+ az login
286
+
287
+ # Set subscription
288
+ az account set --subscription "your-subscription-id"
289
+ ```
290
+
291
+ ### Verification
292
+
293
+ After installation, verify all tools are working:
294
+
295
+ ```bash
296
+ # Check Python version
297
+ python --version # Should be 3.10+
298
+
299
+ # Check kubectl
300
+ kubectl version --client
301
+
302
+ # Check gcloud
303
+ gcloud --version
304
+
305
+ # Check Terraform
306
+ terraform --version
307
+
308
+ # Check Terragrunt
309
+ terragrunt --version
310
+
311
+ # Check Helm
312
+ helm version
313
+
314
+ # Check Git
315
+ git --version
316
+ ```
317
+
318
+ ### Troubleshooting Prerequisites
319
+
320
+ #### Common Issues
321
+
322
+ 1. **Python Version Too Old**
323
+ ```bash
324
+ # Update Python to 3.10+
325
+ python --version
326
+ # If < 3.10, install newer version
327
+ ```
328
+
329
+ 2. **kubectl Not Found**
330
+ ```bash
331
+ # Add kubectl to PATH
332
+ export PATH=$PATH:/usr/local/bin
333
+ ```
334
+
335
+ 3. **gcloud Authentication Issues**
336
+ ```bash
337
+ # Re-authenticate
338
+ gcloud auth login
339
+ gcloud auth application-default login
340
+ ```
341
+
342
+ 4. **Terraform/Terragrunt Issues**
343
+ ```bash
344
+ # Verify installation
345
+ which terraform
346
+ which terragrunt
347
+ ```
348
+
349
+ For detailed installation instructions, see [Prerequisites Documentation](prerequisites/README.md).
350
+
351
+ ## Features
352
+
353
+ - **Multi-Cloud Support**: GCP, AWS, Azure, and On-Premises deployments
354
+ - **Phase-Based Deployment**: 6 distinct phases for controlled deployment
355
+ - **State Management**: Resume deployments from any phase
356
+ - **Non-Interactive Mode**: Automated deployment using configuration files
357
+ - **Service Tracking**: Skip already deployed services
358
+ - **Security**: Encrypted deployment files with key management
359
+
360
+ ## Quick Start
361
+
362
+ > **🆕 Automatic host precheck (Phase 0).** Every `python cli.py`
363
+ > invocation now runs a host readiness check first. If a project
364
+ > virtualenv (`platform/.venv`) is missing it is created automatically
365
+ > and the process re-execs into it (PEP 668 friendly — no
366
+ > `--break-system-packages` needed). Missing Python packages are
367
+ > installed silently with `pip`; missing external tools (`kubectl`,
368
+ > `gcloud`, `terraform`, `terragrunt`, `helm`, `git`, `jq`, `curl`,
369
+ > `docker`) are reported and the user is asked before any non-pip
370
+ > install runs. See the new `--show-prereq-status`, `--auto-install-prereqs`,
371
+ > and `--skip-prereq-check` flags below.
372
+
373
+ ### Interactive Mode
374
+ ```bash
375
+ # Run all phases interactively
376
+ python cli.py
377
+
378
+ # Run specific phase
379
+ python cli.py --phase 1
380
+
381
+ # Use simple input (better for pasting)
382
+ python cli.py --simple-input
383
+ ```
384
+
385
+ ### Non-Interactive Mode
386
+ ```bash
387
+ # First, copy an example configuration file
388
+ cp cli/deployment_configuration_gcp_example.yaml cli/deployment_configuration.yaml
389
+ # Edit cli/deployment_configuration.yaml with your real credentials
390
+
391
+ # Deploy using configuration file
392
+ python cli.py --config cli/deployment_configuration.yaml --non-interactive
393
+
394
+ # Run specific phases
395
+ python cli.py --config cli/deployment_configuration.yaml --non-interactive --phase 1,2,3
396
+ ```
397
+
398
+ `--non-interactive` only runs with `--config <file>`. No question waits for input: each answer comes from the
399
+ file or the question's default and is printed as `🤖 question -> answer` (secrets as `<hidden>`). When a required
400
+ answer has no default, the run stops and names the question, so add that value to the file and run again.
401
+
402
+ ## Configuration Files Structure
403
+
404
+ Fast2.Dev CLI uses a structured approach to configuration management:
405
+
406
+ ### Main Configuration Files
407
+
408
+ 1. **`deployment_configuration.yaml`** - **Local deployment file** (git-ignored, contains real credentials)
409
+ 2. **`deployment_configuration_gcp_example.yaml`** - GCP-specific example
410
+ 3. **`deployment_configuration_aws_example.yaml`** - AWS-specific example
411
+ 4. **`deployment_configuration_onprem_example.yaml`** - On-premise example
412
+ 5. **`config/`** - Service version management and metadata
413
+
414
+ **Important**:
415
+ - `deployment_configuration.yaml` is **git-ignored** and should contain your real credentials
416
+ - Example files (`*_example.yaml`) are **safe for public repositories** and contain anonymized data
417
+ - Copy an example file to `deployment_configuration.yaml` and customize with your real values
418
+
419
+ ### Configuration File Structure
420
+
421
+ The configuration file uses a Helm-like structure with different cloud provider sections:
422
+
423
+ ```yaml
424
+ # Basic Configuration (Phase 1)
425
+ basic:
426
+ customer: "*mycompany"
427
+ user_email: "*admin@mycompany.com"
428
+ cloud_provider: "*gcp" # Options: gcp, aws, azure, onprem
429
+ project_region: "*us-central1"
430
+ domain_name: "*mycompany.com"
431
+
432
+ # Infrastructure Configuration (Phase 1)
433
+ infrastructure_deployment:
434
+ # GCP Configuration (enabled for GCP deployments)
435
+ gcp:
436
+ enabled: true # Set to true for GCP deployment
437
+ deployment_type: "basic" # Options: basic, advanced
438
+ billing_account_id: "*01A393-2D8A12-EXAMPLE"
439
+ parent_folder: "*6570382EXAMPLE"
440
+ whitelisted_ips: "*xx.xx.xx.xx/24"
441
+
442
+ # AWS Configuration (disabled for GCP deployments)
443
+ aws:
444
+ enabled: false
445
+ # aws_access_key_id: "*AKIAIOSFODNN7EXAMPLE"
446
+ # aws_secret_access_key: "*wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
447
+ # aws_region: "*us-west-2"
448
+
449
+ # Azure Configuration (disabled for GCP deployments)
450
+ azure:
451
+ enabled: false
452
+ # subscription_id: "*12345678-1234-1234-1234-123456789012"
453
+ # tenant_id: "*12345678-1234-1234-1234-123456789012"
454
+
455
+ # On-Premises Configuration (disabled for GCP deployments)
456
+ onprem:
457
+ enabled: false
458
+ # kubeconfig_path: "*path/to/kubeconfig"
459
+ ```
460
+
461
+ ## Deployment Phases
462
+
463
+ ### Phase 1: Infrastructure Deployment
464
+ - Deploy cloud infrastructure (GCP/AWS/Azure)
465
+ - Or configure existing infrastructure with kubeconfig
466
+ - Sets up Kubernetes cluster and networking
467
+
468
+ ### Phase 2: Generate Platform Secrets
469
+ - Platform secrets are stored in HashiCorp Vault
470
+ - Set up data analysis and warehouse platforms
471
+ - Configure Git repositories and access methods
472
+ - Generate platform secrets
473
+
474
+ ### Phase 3: Configure Data Platform Repositories
475
+ - Configure data orchestration and modeling repositories
476
+ - Set up repository access (deploy keys, access tokens)
477
+ - Verify repository connectivity
478
+
479
+ ### Phase 4: Deploy Infrastructure Services
480
+ - Deploy Kubernetes infrastructure services:
481
+ - Secret Operator
482
+ - Cert Manager
483
+ - External DNS
484
+ - Traefik Load Balancer
485
+ - StackGres PostgreSQL
486
+ - Log Collector
487
+ - Services Monitoring
488
+ - Cluster Cleaner
489
+ - IDP SSO Manager
490
+ - Cluster PVC Autoscaler
491
+
492
+ ### Phase 5: Deploy Data Services
493
+ - Deploy Kubernetes data services:
494
+ - CICD Workload Runner
495
+ - Object Storage Operator
496
+ - Argo Workflows
497
+ - Data Replication
498
+ - Data Orchestration
499
+ - Data Modeling
500
+ - Data Analysis
501
+ - Data Governance
502
+ - Data Platform User Console
503
+
504
+ ### Phase 6: Finalize Deployment
505
+ - Save deployment files to Git repository
506
+ - Generate encryption key for secure storage
507
+ - Provide access information
508
+
509
+ ## Cloud Provider Configuration
510
+
511
+ ### GCP Deployment
512
+ ```yaml
513
+ infrastructure_deployment:
514
+ gcp:
515
+ enabled: true
516
+ deployment_type: "basic" # or "advanced"
517
+ billing_account_id: "*01A393-2D8A12-EXAMPLE"
518
+ parent_folder: "*6570382EXAMPLE"
519
+ whitelisted_ips: "*xx.xx.xx.xx/24"
520
+ ```
521
+
522
+ ### AWS Deployment
523
+ ```yaml
524
+ infrastructure_deployment:
525
+ aws:
526
+ enabled: true
527
+ aws_access_key_id: "*AKIAIOSFODNN7EXAMPLE"
528
+ aws_secret_access_key: "*wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
529
+ aws_region: "*us-west-2"
530
+ vpc_cidr: "10.0.0.0/16"
531
+ cluster_name: "fast2dev-cluster"
532
+ instance_type: "t3.medium"
533
+ ```
534
+
535
+ ### Azure Deployment
536
+ ```yaml
537
+ infrastructure_deployment:
538
+ azure:
539
+ enabled: true
540
+ subscription_id: "*12345678-1234-1234-1234-123456789012"
541
+ tenant_id: "*12345678-1234-1234-1234-123456789012"
542
+ client_id: "*12345678-1234-1234-1234-123456789012"
543
+ client_secret: "*your-client-secret"
544
+ resource_group: "*fast2dev-rg"
545
+ location: "*eastus"
546
+ ```
547
+
548
+ ### On-Premises Deployment
549
+ ```yaml
550
+ infrastructure_deployment:
551
+ onprem:
552
+ enabled: true
553
+ kubeconfig_path: "*path/to/kubeconfig"
554
+ cluster_name: "*onprem-cluster"
555
+ storage_class: "*local-storage"
556
+ ```
557
+
558
+ ## CLI Options
559
+
560
+ ```bash
561
+ python cli.py [OPTIONS]
562
+
563
+ Options:
564
+ --config, -c TEXT Path to configuration file (YAML)
565
+ --interactive / --no-interactive Run in interactive mode
566
+ --phase INTEGER Execute specific phase only (1-6)
567
+ --simple-input Use simple input method (better for pasting)
568
+ --state-file TEXT Path to state file
569
+ --show-config Show configuration summary and exit
570
+ --keycloak-help Show Keycloak setup help and exit
571
+ --non-interactive Run without questions; needs --config <file>
572
+ --environment [production|development]
573
+ Platform environment: sizing of every service
574
+ --destroy Destroy entire environment (infrastructure + Kubernetes resources)
575
+ --destroy-confirm Skip confirmation for destroy operation
576
+
577
+ # ── Host precheck (Phase 0) — handled by the bootstrap before cli_main loads
578
+ --show-prereq-status Print the host precheck status table and exit
579
+ (combine with --json for machine-readable output)
580
+ --auto-install-prereqs Auto-install missing Python packages AND
581
+ external tools without prompting
582
+ --skip-prereq-check Bypass the host precheck entirely
583
+ (use only if you know your host is ready)
584
+ ```
585
+
586
+ ## Destroy Functionality
587
+
588
+ The CLI includes a comprehensive destroy feature that removes the entire environment:
589
+
590
+ ### Basic Usage
591
+ ```bash
592
+ # Destroy with confirmation prompt
593
+ python cli.py --destroy
594
+
595
+ # Destroy without confirmation (use with caution)
596
+ python cli.py --destroy --destroy-confirm
597
+ ```
598
+
599
+ ### What Gets Destroyed
600
+
601
+ 1. **Kubernetes Resources** (in reverse deployment order):
602
+ - Data Services (User Console, Data Governance, Data Analysis, etc.)
603
+ - Infrastructure Services (IDP SSO Manager, Traefik, Cert Manager, etc.)
604
+ - Custom Namespaces (vault, datahub, elastic-system, etc.)
605
+
606
+ 2. **Cloud Infrastructure**:
607
+ - GCP: Uses `terragrunt destroy --all` to remove all Terraform resources
608
+ - AWS: Infrastructure destruction (to be implemented)
609
+ - Azure: Infrastructure destruction (to be implemented)
610
+
611
+ 3. **State and Configuration**:
612
+ - Deployment state file
613
+ - Kubeconfig file
614
+ - Temporary Terraform files
615
+
616
+ ### Destroy Process
617
+
618
+ The destroy operation follows a specific order to ensure clean removal:
619
+
620
+ 1. **Step 1**: Destroy Kubernetes resources (Helm charts and namespaces)
621
+ 2. **Step 2**: Destroy cloud infrastructure (Terraform/Terragrunt)
622
+ 3. **Step 3**: Clean up state and configuration files
623
+
624
+ ### Safety Features
625
+
626
+ - **Confirmation Prompt**: By default, requires user confirmation before destruction
627
+ - **Destruction Summary**: Shows what will be destroyed before proceeding
628
+ - **Error Handling**: Continues with partial destruction even if some resources fail
629
+ - **Timeout Protection**: Prevents hanging on stuck resources
630
+
631
+ ### Example Output
632
+
633
+ ```bash
634
+ $ python cli.py --destroy
635
+
636
+ ⚠️ WARNING: This will destroy the entire environment!
637
+ This includes:
638
+ - All Kubernetes resources (Helm charts, namespaces)
639
+ - Cloud infrastructure (GCP/AWS/Azure resources)
640
+ - All data and configurations
641
+
642
+ Are you sure you want to proceed with destruction? [y/N]: y
643
+
644
+ 🗑️ ENVIRONMENT DESTRUCTION
645
+ ==================================================
646
+ 📋 Destruction Summary:
647
+ Customer: mycompany
648
+ Cloud Provider: gcp
649
+ Domain: mycompany.com
650
+ Infrastructure Services: 9 deployed
651
+ Data Services: 10 deployed
652
+
653
+ 🔧 Step 1: Destroying Kubernetes resources...
654
+ 📊 Destroying data services...
655
+ 🗑️ Destroying 10.0_user_console...
656
+ ✅ 10.0_user_console destroyed
657
+ 🗑️ Destroying 9.0_data_governance...
658
+ ✅ 9.0_data_governance destroyed
659
+ 🏗️ Destroying infrastructure services...
660
+ 🗑️ Destroying 9.0_idp_sso_manager...
661
+ ✅ 9.0_idp_sso_manager destroyed
662
+ 🗂️ Cleaning up custom namespaces...
663
+ ✅ Namespace vault deleted
664
+ ✅ Namespace datahub deleted
665
+ ✅ Kubernetes resources destroyed successfully
666
+
667
+ ☁️ Step 2: Destroying cloud infrastructure...
668
+ 🗑️ Destroying GCP infrastructure...
669
+ 🔧 Running 'terragrunt destroy --all'...
670
+ ✅ GCP infrastructure destroyed successfully
671
+
672
+ 🧹 Step 3: Cleaning up state and configuration...
673
+ ✅ State file deleted
674
+ ✅ Kubeconfig file deleted
675
+ ✅ Cleanup completed
676
+
677
+ ✅ Environment destruction completed successfully!
678
+ 💡 You can now run 'python cli.py' to start a fresh deployment.
679
+ ```
680
+
681
+ ## State Management
682
+
683
+ The CLI maintains deployment state in `cli/state/deployment_state.json`:
684
+ - Configuration parameters
685
+ - Phase completion status
686
+ - Individual service deployment tracking
687
+ - Kubeconfig path
688
+
689
+ ## Security Features
690
+
691
+ - **Encrypted Deployment Files**: All deployment files are encrypted before saving to Git
692
+ - **Encryption Key Management**: Secure key generation and storage
693
+ - **Access Token Handling**: Secure handling of cloud provider credentials
694
+ - **Vault Integration**: Integration with HashiCorp Vault for secret management
695
+
696
+ ## Access Information
697
+
698
+ After successful deployment, you'll get access to:
699
+
700
+ - **IDP Console**: `https://login.{customer}.{domain}` (SSO administration)
701
+ - **Fast2.Dev Platform**: `https://{customer}.{domain}` (main platform)
702
+
703
+ ## Examples
704
+
705
+ See the cloud-specific example files for complete configuration examples:
706
+ - **GCP**: `cli/deployment_configuration_gcp_example.yaml`
707
+ - **AWS**: `cli/deployment_configuration_aws_example.yaml`
708
+ - **On-Premise**: `cli/deployment_configuration_onprem_example.yaml`
709
+
710
+ ## Troubleshooting
711
+
712
+ ### Common Issues
713
+
714
+ 1. **Configuration File Not Found**
715
+ ```bash
716
+ python cli.py --config path/to/config.yaml --non-interactive
717
+ ```
718
+
719
+ 2. **Phase Already Completed**
720
+ - The CLI will skip already completed phases
721
+ - Check state file for current progress
722
+
723
+ 3. **Service Deployment Failed**
724
+ - Check Kubernetes cluster connectivity
725
+ - Verify service account permissions
726
+ - Review logs for specific error messages
727
+
728
+ ### Debug Mode
729
+
730
+ ```bash
731
+ # Show current configuration
732
+ python cli.py --show-config
733
+
734
+ # Show Keycloak setup help
735
+ python cli.py --keycloak-help
736
+ ```
737
+
738
+ ## 📋 Service Version Management
739
+
740
+ Fast2.Dev uses a centralized version management system in the `cli/config/` directory to ensure compatibility and proper service deployment.
741
+
742
+ ### Config Directory Structure
743
+
744
+ ```
745
+ cli/config/
746
+ ├── data_services_config.json # Data services versions and metadata
747
+ └── infrastructure_services_config.json # Infrastructure services versions
748
+ ```
749
+
750
+ ### Data Services Configuration (`data_services_config.json`)
751
+
752
+ This file defines all data services with their:
753
+ - **Chart versions** (Helm chart versions)
754
+ - **App versions** (Application versions)
755
+ - **Required parameters** for deployment
756
+ - **Deployment phases** (for complex services)
757
+
758
+ **Example Data Services:**
759
+ - **CICD Workload Runner**: `chart_version: "0.23.7"`
760
+ - **Data Orchestration (Airflow)**: `chart_version: "1.16.0"`, `app_version: "v2.11.0"`
761
+ - **Data Analysis**: `chart_version: "1.7.4"`, `app_version: "0.1975.0"`
762
+ - **Data Governance (DataHub)**: `chart_version: "0.6.17"`, `app_version: "v1.2.0"`
763
+
764
+ ### Infrastructure Services Configuration (`infrastructure_services_config.json`)
765
+
766
+ This file defines infrastructure services with:
767
+ - **Chart versions** for different deployment methods
768
+ - **Required parameters** for each service
769
+
770
+ **Example Infrastructure Services:**
771
+ - **Secret Operator**: External Secrets Operator and HashiCorp Vault chart versions
772
+ - **Cert Manager**: `chart_version: "v1.18.2"`
773
+ - **Traefik Load Balancer**: `chart_version: "37.0.0"`
774
+
775
+ ### Version Management Best Practices
776
+
777
+ #### 1. **Data Analysis Platform Selection**
778
+ When choosing different data analysis platforms, ensure compatible versions:
779
+
780
+ ```yaml
781
+ # In your deployment_configuration.yaml
782
+ secrets:
783
+ data_analysis_platform: "*superset" # Options: lightdash, superset, metabase
784
+ ```
785
+
786
+ **Supported Platforms:**
787
+ - **Lightdash**: Open-source BI platform
788
+ - **Superset**: Apache Superset (default)
789
+ - **Metabase**: User-friendly BI tool
790
+
791
+ #### 2. **Data Warehouse Platform Selection**
792
+ Different warehouse platforms require specific configurations:
793
+
794
+ ```yaml
795
+ secrets:
796
+ data_warehouse_platform: "*bigquery" # Options: bigquery, snowflake, redshift
797
+ # BigQuery specific (only if using BigQuery)
798
+ bigquery_project_id: "your-project-id"
799
+ bigquery_region: "us-central1"
800
+ ```
801
+
802
+ #### 3. **Git Provider Integration**
803
+ Different Git providers require specific runner configurations:
804
+
805
+ ```yaml
806
+ secrets:
807
+ git_provider: "*github" # Options: github, gitlab, bitbucket, fast2dev
808
+ repo_access_method: "*deploy_keys" # Options: access_token, deploy_keys, ssh_keys
809
+ ```
810
+
811
+ #### 4. **Vault**
812
+ HashiCorp Vault deployed in Kubernetes is the only secret manager:
813
+
814
+ ```yaml
815
+ secrets:
816
+ ```
817
+
818
+ ### Updating Service Versions
819
+
820
+ To update service versions:
821
+
822
+ 1. **Check current versions** in `cli/config/*.json`
823
+ 2. **Update chart versions** in the JSON files
824
+ 3. **Test compatibility** with your chosen platforms
825
+ 4. **Update deployment configuration** if needed
826
+
827
+ **Example version update:**
828
+ ```json
829
+ {
830
+ "8.0_data_analysis": {
831
+ "chart_version": "1.7.5", // Updated from 1.7.4
832
+ "app_version": "0.1976.0" // Updated from 0.1975.0
833
+ }
834
+ }
835
+ ```
836
+
837
+ ### Service Dependencies
838
+
839
+ Some services have complex dependencies:
840
+
841
+ #### Data Governance (DataHub)
842
+ - **Elasticsearch Operator**: `chart_version: "0.16.0"`
843
+ - **Elasticsearch Cluster**: `app_version: "8.17.0"`
844
+ - **Elasticsearch Operator**: `chart_version: "3.1.0"`
845
+ - **DataHub Prerequisites**: Custom deployment phase
846
+ - **DataHub**: Main application
847
+
848
+ #### Secret Operator
849
+ - **Local Vault**: HashiCorp Vault + Secret Operator
850
+
851
+ ### Troubleshooting Version Issues
852
+
853
+ 1. **Chart Version Conflicts**: Check Helm repository compatibility
854
+ 2. **App Version Mismatches**: Ensure app_version matches chart_version requirements
855
+ 3. **Parameter Validation**: Verify all required parameters are provided
856
+ 4. **Dependency Issues**: Check service deployment order and dependencies
857
+
858
+ For version compatibility issues, refer to the individual service documentation or contact support.
859
+
860
+ ## Support
861
+
862
+ For issues and questions:
863
+ 1. Check the state file for deployment progress
864
+ 2. Review Kubernetes cluster logs
865
+ 3. Verify configuration file syntax
866
+ 4. Ensure all required parameters are provided