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,1315 @@
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
+ #assertNoLeakedSecrets: false
7
+ {% raw %}
8
+ global:
9
+ # -- Overrides the Docker registry globally for all images
10
+ imageRegistry: null
11
+ # To help compatibility with other charts which use global.imagePullSecrets.
12
+ # Allow either an array of {name: pullSecret} maps (k8s-style), or an array of strings (more common helm-style).
13
+ # Can be tempalted.
14
+ # global:
15
+ # imagePullSecrets:
16
+ # - name: pullSecret1
17
+ # - name: pullSecret2
18
+ # or
19
+ # global:
20
+ # imagePullSecrets:
21
+ # - pullSecret1
22
+ # - pullSecret2
23
+ imagePullSecrets: []
24
+ serviceAccount:
25
+ annotations:
26
+ {% endraw %}
27
+ {% if cloud_provider == "gcp" %}
28
+ {% if monitoring_k8s_sa %}
29
+ iam.gke.io/gcp-service-account: {{ monitoring_k8s_sa }}
30
+ {% else %}
31
+ {}
32
+ {% endif %}
33
+ {% else %}
34
+ {}
35
+ {% endif %}
36
+ {% raw %}
37
+ rbac:
38
+ create: true
39
+ ## Use an existing ClusterRole/Role (depending on rbac.namespaced false/true)
40
+ # useExistingRole: name-of-some-(cluster)role
41
+ pspEnabled: false
42
+ pspUseAppArmor: false
43
+ namespaced: false
44
+ extraRoleRules: []
45
+ # - apiGroups: []
46
+ # resources: []
47
+ # verbs: []
48
+ extraClusterRoleRules: []
49
+ # - apiGroups: []
50
+ # resources: []
51
+ # verbs: []
52
+ serviceAccount:
53
+ create: true
54
+ name: monitoring-sa
55
+ nameTest:
56
+ ## ServiceAccount labels.
57
+ labels: {}
58
+ ## Service account annotations. Can be templated.
59
+ annotations:
60
+ {% endraw %}
61
+ {% if cloud_provider == "gcp" %}
62
+ {% if monitoring_k8s_sa %}
63
+ iam.gke.io/gcp-service-account: {{ monitoring_k8s_sa }}
64
+ {% else %}
65
+ {}
66
+ {% endif %}
67
+ {% else %}
68
+ {}
69
+ {% endif %}
70
+ {% raw %}
71
+ autoMount: true
72
+ replicas: 1
73
+ ## Create a headless service for the deployment
74
+ headlessService: false
75
+ ## Create HorizontalPodAutoscaler object for deployment type
76
+ #
77
+ autoscaling:
78
+ enabled: false
79
+ minReplicas: 1
80
+ maxReplicas: 3
81
+ targetCPU: "80"
82
+ targetMemory: ""
83
+ behavior: {}
84
+ ## See `kubectl explain poddisruptionbudget.spec` for more
85
+ ## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
86
+ podDisruptionBudget: {}
87
+ # minAvailable: 1
88
+ # maxUnavailable: 1
89
+
90
+ ## See `kubectl explain deployment.spec.strategy` for more
91
+ ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
92
+ deploymentStrategy:
93
+ type: Recreate
94
+ readinessProbe:
95
+ httpGet:
96
+ path: /api/health
97
+ port: 3000
98
+ livenessProbe:
99
+ httpGet:
100
+ path: /healthz
101
+ port: 3000
102
+ initialDelaySeconds: 60
103
+ timeoutSeconds: 30
104
+ failureThreshold: 10
105
+ ## Use an alternate scheduler, e.g. "stork".
106
+ ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
107
+ ##
108
+ # schedulerName: "default-scheduler"
109
+ image:
110
+ # -- The Docker registry
111
+ registry: docker.io
112
+ # -- Docker image repository
113
+ repository: grafana/grafana
114
+ # Overrides the Grafana image tag whose default is the chart appVersion
115
+ tag: "13.3.2"
116
+ sha: ""
117
+ pullPolicy: IfNotPresent
118
+ ## Optionally specify an array of imagePullSecrets.
119
+ ## Secrets must be manually created in the namespace.
120
+ ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
121
+ ## Can be templated.
122
+ ##
123
+ pullSecrets: []
124
+ # - myRegistrKeySecretName
125
+ testFramework:
126
+ enabled: true
127
+ image:
128
+ # -- The Docker registry
129
+ registry: docker.io
130
+ repository: bats/bats
131
+ tag: "1.14.0"
132
+ imagePullPolicy: IfNotPresent
133
+ securityContext: {}
134
+ securityContext:
135
+ runAsNonRoot: true
136
+ runAsUser: 472
137
+ runAsGroup: 472
138
+ fsGroup: 472
139
+ containerSecurityContext:
140
+ allowPrivilegeEscalation: false
141
+ capabilities:
142
+ drop:
143
+ - ALL
144
+ seccompProfile:
145
+ type: RuntimeDefault
146
+ # Enable creating the grafana configmap
147
+ createConfigmap: true
148
+ # Extra configmaps to mount in grafana pods
149
+ # Values are templated.
150
+ extraConfigmapMounts:
151
+ - name: certs-configmap
152
+ mountPath: /etc/grafana/provisioning/alerting/bi-platform-alerts.yaml
153
+ subPath: bi-platform-alerts.yaml # (optional)
154
+ configMap: grafana-bi-platform-alerts
155
+ # readOnly: true
156
+ extraEmptyDirMounts: []
157
+ # - name: provisioning-notifiers
158
+ # mountPath: /etc/grafana/provisioning/notifiers
159
+ # Apply extra labels to common labels.
160
+ extraLabels: {}
161
+ ## Assign a PriorityClassName to pods if set
162
+ # priorityClassName:
163
+ downloadDashboardsImage:
164
+ # -- The Docker registry
165
+ registry: docker.io
166
+ repository: curlimages/curl
167
+ tag: 8.23.0
168
+ sha: ""
169
+ pullPolicy: IfNotPresent
170
+ downloadDashboards:
171
+ env: {}
172
+ envFromSecret: ""
173
+ resources: {}
174
+ securityContext:
175
+ allowPrivilegeEscalation: false
176
+ capabilities:
177
+ drop:
178
+ - ALL
179
+ seccompProfile:
180
+ type: RuntimeDefault
181
+ envValueFrom: {}
182
+ # ENV_NAME:
183
+ # configMapKeyRef:
184
+ # name: configmap-name
185
+ # key: value_key
186
+ ## Pod Annotations
187
+ # podAnnotations: {}
188
+
189
+ ## Pod Labels
190
+ # podLabels: {}
191
+ podPortName: grafana
192
+ gossipPortName: gossip
193
+ ## Deployment annotations
194
+ # annotations: {}
195
+
196
+ ## Expose the grafana service to be accessed from outside the cluster (LoadBalancer service).
197
+ ## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
198
+ ## ref: http://kubernetes.io/docs/user-guide/services/
199
+ ##
200
+ service:
201
+ enabled: true
202
+ type: ClusterIP
203
+ port: 80
204
+ targetPort: 3000
205
+ # targetPort: 4181 To be used with a proxy extraContainer
206
+ ## Service annotations. Can be templated.
207
+ annotations: {}
208
+ labels: {}
209
+ portName: service
210
+ # Adds the appProtocol field to the service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
211
+ appProtocol: ""
212
+ serviceMonitor:
213
+ ## If true, a ServiceMonitor CRD is created for a prometheus operator
214
+ ## https://github.com/coreos/prometheus-operator
215
+ ##
216
+ enabled: false
217
+ path: /metrics
218
+ # namespace: monitoring (defaults to use the namespace this chart is deployed to)
219
+ labels: {}
220
+ interval: 1m
221
+ scheme: http
222
+ tlsConfig: {}
223
+ scrapeTimeout: 30s
224
+ relabelings: []
225
+ targetLabels: []
226
+ extraExposePorts: []
227
+ # - name: keycloak
228
+ # port: 8080
229
+ # targetPort: 8080
230
+ # type: ClusterIP
231
+
232
+ # overrides pod.spec.hostAliases in the grafana deployment's pods
233
+ hostAliases: []
234
+ # - ip: "1.2.3.4"
235
+ # hostnames:
236
+ # - "my.host.com"
237
+ {% endraw %}
238
+ ingress:
239
+ enabled: true
240
+ # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
241
+ # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
242
+ ingressClassName: traefik
243
+ # Values can be templated
244
+ annotations:
245
+ external-dns.alpha.kubernetes.io/hostname: {{ ingress_host }}
246
+ #cert-manager.io/cluster-issuer: lets-encrypt-issuer
247
+ traefik.ingress.kubernetes.io/router.middlewares: traefik-ingress-redirect-https@kubernetescrd
248
+ # kubernetes.io/ingress.class: nginx
249
+ # kubernetes.io/tls-acme: "true"
250
+ labels: {}
251
+ path: /
252
+ # pathType is only for k8s >= 1.1=
253
+ pathType: Prefix
254
+ hosts:
255
+ - {{ ingress_host }}
256
+ ## Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
257
+ extraPaths: []
258
+ # - path: /*
259
+ # backend:
260
+ # serviceName: ssl-redirect
261
+ # servicePort: use-annotation
262
+ ## Or for k8s > 1.19
263
+ # - path: /*
264
+ # pathType: Prefix
265
+ # backend:
266
+ # service:
267
+ # name: ssl-redirect
268
+ # port:
269
+ # name: use-annotation
270
+ tls: [] # Using Fast2.Dev WildCard Certificate namespace traefik-ingress
271
+ # - secretName: monitoring-tls-cert
272
+ # hosts:
273
+ # - {{ ingress_host }}
274
+ {% if cloud_provider == "self-managed" %}
275
+ resources: {}
276
+ {% else %}
277
+ resources:
278
+ requests:
279
+ cpu: 100m
280
+ memory: 768Mi
281
+ limits:
282
+ cpu: 1
283
+ memory: 1536Mi
284
+ {% endif %}
285
+ {% raw %}
286
+ ## Node labels for pod assignment
287
+ ## ref: https://kubernetes.io/docs/user-guide/node-selection/
288
+ #
289
+ nodeSelector: {}
290
+ ## Tolerations for pod assignment
291
+ ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
292
+ ##
293
+ tolerations: []
294
+ ## Affinity for pod assignment (evaluated as template)
295
+ ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
296
+ ##
297
+ affinity: {}
298
+ ## Topology Spread Constraints
299
+ ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
300
+ ##
301
+ topologySpreadConstraints: []
302
+ ## Additional init containers (evaluated as template)
303
+ ## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
304
+ ##
305
+ extraInitContainers: []
306
+ ## Enable an Specify container in extraContainers. This is meant to allow adding an authentication proxy to a grafana pod
307
+ extraContainers: ""
308
+ # extraContainers: |
309
+ # - name: proxy
310
+ # image: quay.io/gambol99/keycloak-proxy:latest
311
+ # args:
312
+ # - -provider=github
313
+ # - -client-id=
314
+ # - -client-secret=
315
+ # - -github-org=<ORG_NAME>
316
+ # - -email-domain=*
317
+ # - -cookie-secret=
318
+ # - -http-address=http://0.0.0.0:4181
319
+ # - -upstream-url=http://127.0.0.1:3000
320
+ # ports:
321
+ # - name: proxy-web
322
+ # containerPort: 4181
323
+
324
+ ## Volumes that can be used in init containers that will not be mounted to deployment pods
325
+ extraContainerVolumes: []
326
+ # - name: volume-from-secret
327
+ # secret:
328
+ # secretName: secret-to-mount
329
+ # - name: empty-dir-volume
330
+ # emptyDir: {}
331
+ ## Enable persistence using Persistent Volume Claims
332
+ ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
333
+ ##
334
+ persistence:
335
+ type: pvc
336
+ enabled: true
337
+ # storageClassName: default
338
+ accessModes:
339
+ - ReadWriteOnce
340
+ {% endraw %}
341
+ {% if cloud_provider == "self-managed" %}
342
+ size: 1Gi
343
+ {% else %}
344
+ size: 5Gi
345
+ {% endif %}
346
+ {% raw %}
347
+ # annotations: {}
348
+ finalizers:
349
+ - kubernetes.io/pvc-protection
350
+ # selectorLabels: {}
351
+ ## Sub-directory of the PV to mount. Can be templated.
352
+ # subPath: ""
353
+ ## Name of an existing PVC. Can be templated.
354
+ # existingClaim:
355
+ ## Extra labels to apply to a PVC.
356
+ extraPvcLabels: {}
357
+ ## If persistence is not enabled, this allows to mount the
358
+ ## local storage in-memory to improve performance
359
+ ##
360
+ inMemory:
361
+ enabled: false
362
+ ## The maximum usage on memory medium EmptyDir would be
363
+ ## the minimum value between the SizeLimit specified
364
+ ## here and the sum of memory limits of all containers in a pod
365
+ ##
366
+ # sizeLimit: 300Mi
367
+ initChownData:
368
+ ## If false, data ownership will not be reset at startup
369
+ ## This allows the grafana-server to be run with an arbitrary user
370
+ ##
371
+ enabled: true
372
+ ## initChownData container image
373
+ ##
374
+ image:
375
+ # -- The Docker registry
376
+ registry: docker.io
377
+ repository: library/busybox
378
+ tag: "1.38.0"
379
+ sha: ""
380
+ pullPolicy: IfNotPresent
381
+ ## initChownData resource requests and limits
382
+ ## Ref: http://kubernetes.io/docs/user-guide/compute-resources/
383
+ ##
384
+ resources:
385
+ requests:
386
+ cpu: 100m
387
+ memory: 128Mi
388
+ securityContext:
389
+ runAsNonRoot: false
390
+ runAsUser: 0
391
+ seccompProfile:
392
+ type: RuntimeDefault
393
+ capabilities:
394
+ add:
395
+ - CHOWN
396
+ # Administrator credentials when not using an existing secret (see below)
397
+ # adminUser: ""
398
+ # adminPassword: ""
399
+ # Use an existing secret for the admin user.
400
+ admin:
401
+ ## Name of the secret. Can be templated.
402
+ existingSecret: "root-secrets-monitoring"
403
+ userKey: adminUser
404
+ passwordKey: adminPassword
405
+ ## Define command to be executed at startup by grafana container
406
+ ## Needed if using `vault-env` to manage secrets (ref: https://banzaicloud.com/blog/inject-secrets-into-pods-vault/)
407
+ ## Default is "run.sh" as defined in grafana's Dockerfile
408
+ # command:
409
+ # - "sh"
410
+ # - "/run.sh"
411
+
412
+ ## Optionally define args if command is used
413
+ ## Needed if using `hashicorp/envconsul` to manage secrets
414
+ ## By default no arguments are set
415
+ # args:
416
+ # - "-secret"
417
+ # - "secret/grafana"
418
+ # - "./grafana"
419
+
420
+ ## Extra environment variables that will be pass onto deployment pods
421
+ ##
422
+ ## to provide grafana with access to CloudWatch on AWS EKS:
423
+ ## 1. create an iam role of type "Web identity" with provider oidc.eks.* (note the provider for later)
424
+ ## 2. edit the "Trust relationships" of the role, add a line inside the StringEquals clause using the
425
+ ## same oidc eks provider as noted before (same as the existing line)
426
+ ## also, replace NAMESPACE and prometheus-operator-grafana with the service account namespace and name
427
+ ##
428
+ ## "oidc.eks.us-east-1.amazonaws.com/id/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:sub": "system:serviceaccount:NAMESPACE:prometheus-operator-grafana",
429
+ ##
430
+ ## 3. attach a policy to the role, you can use a built in policy called CloudWatchReadOnlyAccess
431
+ ## 4. use the following env: (replace 123456789000 and iam-role-name-here with your aws account number and role name)
432
+ ##
433
+ ## env:
434
+ ## AWS_ROLE_ARN: arn:aws:iam::123456789000:role/iam-role-name-here
435
+ ## AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
436
+ ## AWS_REGION: us-east-1
437
+ ##
438
+ ## 5. uncomment the EKS section in extraSecretMounts: below
439
+ ## 6. uncomment the annotation section in the serviceAccount: above
440
+ ## make sure to replace arn:aws:iam::123456789000:role/iam-role-name-here with your role arn
441
+ env: {}
442
+ ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
443
+ ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
444
+ ## Renders in container spec as:
445
+ ## env:
446
+ ## ...
447
+ ## - name: <key>
448
+ ## valueFrom:
449
+ ## <value rendered as YAML>
450
+ envValueFrom:
451
+ GF_AUTH_GENERIC_OAUTH_CLIENT_ID:
452
+ secretKeyRef:
453
+ name: sso-clients-secrets
454
+ key: CLIENT_ID
455
+ GF_AUTH_GENERIC_OAUTH_CLIENT_SECRET:
456
+ secretKeyRef:
457
+ name: sso-clients-secrets
458
+ key: CLIENT_SECRET
459
+
460
+ ## The name of a secret in the same kubernetes namespace which contain values to be added to the environment
461
+ ## This can be useful for auth tokens, etc. Value is templated.
462
+ envFromSecret: ""
463
+ ## Sensible environment variables that will be rendered as new secret object
464
+ ## This can be useful for auth tokens, etc.
465
+ ## If the secret values contains "{{", they'll need to be properly escaped so that they are not interpreted by Helm
466
+ ## ref: https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
467
+ envRenderSecret: {}
468
+ ## The names of secrets in the same kubernetes namespace which contain values to be added to the environment
469
+ ## Each entry should contain a name key, and can optionally specify whether the secret must be defined with an optional key.
470
+ ## Name is templated.
471
+ envFromSecrets: []
472
+ ## - name: secret-name
473
+ ## optional: true
474
+
475
+ ## The names of conifgmaps in the same kubernetes namespace which contain values to be added to the environment
476
+ ## Each entry should contain a name key, and can optionally specify whether the configmap must be defined with an optional key.
477
+ ## Name is templated.
478
+ ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#configmapenvsource-v1-core
479
+ envFromConfigMaps: []
480
+ ## - name: configmap-name
481
+ ## optional: true
482
+
483
+ # Inject Kubernetes services as environment variables.
484
+ # See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#environment-variables
485
+ enableServiceLinks: true
486
+ ## Additional grafana server secret mounts
487
+ # Defines additional mounts with secrets. Secrets must be manually created in the namespace.
488
+ extraSecretMounts: []
489
+ # - name: secret-files
490
+ # mountPath: /etc/secrets
491
+ # secretName: grafana-secret-files
492
+ # readOnly: true
493
+ # subPath: ""
494
+ #
495
+ # for AWS EKS (cloudwatch) use the following (see also instruction in env: above)
496
+ # - name: aws-iam-token
497
+ # mountPath: /var/run/secrets/eks.amazonaws.com/serviceaccount
498
+ # readOnly: true
499
+ # projected:
500
+ # defaultMode: 420
501
+ # sources:
502
+ # - serviceAccountToken:
503
+ # audience: sts.amazonaws.com
504
+ # expirationSeconds: 86400
505
+ # path: token
506
+ #
507
+ # for CSI e.g. Azure Key Vault use the following
508
+ # - name: secrets-store-inline
509
+ # mountPath: /run/secrets
510
+ # readOnly: true
511
+ # csi:
512
+ # driver: secrets-store.csi.k8s.io
513
+ # readOnly: true
514
+ # volumeAttributes:
515
+ # secretProviderClass: "akv-grafana-spc"
516
+ # nodePublishSecretRef: # Only required when using service principal mode
517
+ # name: grafana-akv-creds # Only required when using service principal mode
518
+
519
+ ## Additional grafana server volume mounts
520
+ # Defines additional volume mounts.
521
+ # extraVolumeMounts: []
522
+ # - name: extra-volume-0
523
+ # mountPath: /mnt/volume0
524
+ # readOnly: true
525
+ # existingClaim: volume-claim
526
+ # - name: extra-volume-1
527
+ # mountPath: /mnt/volume1
528
+ # readOnly: true
529
+ # hostPath: /usr/shared/
530
+ # - name: grafana-secrets
531
+ # csi: true
532
+ # data:
533
+ # driver: secrets-store.csi.k8s.io
534
+ # readOnly: true
535
+ # volumeAttributes:
536
+ # secretProviderClass: "grafana-env-spc"
537
+ {%- endraw %}
538
+ {%- if cert_provider == "selfsigned" %}
539
+ extraVolumes:
540
+ - name: ca-certs
541
+ csi:
542
+ driver: csi.cert-manager.io
543
+ readOnly: true
544
+ volumeAttributes:
545
+ csi.cert-manager.io/issuer-name: {{ customer }}-ca-issuer
546
+ csi.cert-manager.io/issuer-kind: ClusterIssuer
547
+ csi.cert-manager.io/fs-group: "472"
548
+ csi.cert-manager.io/mount-as: trusted-ca
549
+ extraVolumeMounts:
550
+ - name: ca-certs
551
+ mountPath: /etc/ssl/certs/{{ customer }}-ca
552
+ readOnly: true
553
+ {%- endif %}
554
+ {%- raw %}
555
+ ## Container Lifecycle Hooks. Execute a specific bash command or make an HTTP request
556
+ lifecycleHooks: {}
557
+ # postStart:
558
+ # exec:
559
+ # command: []
560
+
561
+ ## Pass the plugins you want installed as a list.
562
+ ##
563
+ plugins:
564
+ - grafana-bigquery-datasource
565
+ ## You can also use other plugin download URL, as long as they are valid zip files,
566
+ ## and specify the name of the plugin after the semicolon. Like this:
567
+ # - https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/1.3.2/download;marcusolsson-json-datasource
568
+
569
+ ## Configure grafana datasources
570
+ ## ref: http://docs.grafana.org/administration/provisioning/#datasources
571
+ ##
572
+ {% endraw %}
573
+ datasources:
574
+ datasources.yaml:
575
+ apiVersion: 1
576
+ datasources:
577
+ - name: Prometheus
578
+ uid: prometheus
579
+ type: prometheus
580
+ url: http://prometheus-server.monitoring.svc.cluster.local
581
+ access: proxy
582
+ isDefault: true
583
+ - name: Loki
584
+ uid: loki
585
+ type: loki
586
+ url: http://loki.monitoring.svc.cluster.local:3100
587
+ access: proxy
588
+ jsonData:
589
+ maxLines: 5000
590
+ {%- if cloud_provider == "gcp" %}
591
+ - name: Google Cloud monitoring
592
+ uid: gcp-monitoring
593
+ type: stackdriver
594
+ editable: true
595
+ orgId: 1
596
+ readOnly: false
597
+ version: 1
598
+ access: proxy
599
+ jsonData:
600
+ authenticationType: gce
601
+ - name: BigQuery DS
602
+ type: grafana-bigquery-datasource
603
+ editable: true
604
+ enabled: true
605
+ jsonData:
606
+ authenticationType: gce
607
+ {%- endif %}
608
+ {% raw %}
609
+ ## Configure grafana alerting (can be templated)
610
+ ## ref: http://docs.grafana.org/administration/provisioning/#alerting
611
+ ##
612
+ {% endraw %}
613
+ alerting:
614
+ contactpoints.yaml:
615
+ apiVersion: 1
616
+ contactPoints:
617
+ - orgId: 1
618
+ name: platform-admins
619
+ receivers:
620
+ - uid: f2d-platform-admins
621
+ type: email
622
+ settings:
623
+ addresses: "{{ alert_email }}"
624
+ singleEmail: true
625
+ subject: '{% raw %}{{`{{ template "fast2dev.email.subject" . }}`}}{% endraw %}'
626
+ message: '{% raw %}{{`{{ template "fast2dev.email.message" . }}`}}{% endraw %}'
627
+ templates.yaml:
628
+ apiVersion: 1
629
+ templates:
630
+ - orgId: 1
631
+ name: fast2dev-email
632
+ template: |
633
+ {% raw %}{{`{{ define "fast2dev.email.subject" -}}
634
+ [{% endraw %}{{ customer }}{% raw %}] {{ if .Alerts.Firing }}Firing: {{ if .CommonLabels.alertname }}{{ .CommonLabels.alertname }}{{ if gt (len .Alerts.Firing) 1 }} ({{ len .Alerts.Firing }}){{ end }}{{ else }}{{ len .Alerts.Firing }} alerts{{ end }}{{ if .Alerts.Resolved }}, {{ len .Alerts.Resolved }} resolved{{ end }}{{ else }}Resolved: {{ if .CommonLabels.alertname }}{{ .CommonLabels.alertname }}{{ else }}{{ len .Alerts.Resolved }} alerts{{ end }}{{ end }}
635
+ {{- end }}
636
+
637
+ {{ define "fast2dev.email.base" }}{{ reReplaceAll "/alerting/.*$" "" .GeneratorURL }}{{ end }}
638
+
639
+ {{ define "fast2dev.email.alert" -}}
640
+ {{ .Annotations.summary }}
641
+ {{ if .Annotations.description }}Why it matters: {{ .Annotations.description }}
642
+ {{ end }}{{ if .Annotations.action }}What to do: {{ .Annotations.action }}
643
+ {{ end }}{{ with .Annotations.Error }}Error: {{ . }}
644
+ {{ end }}{{ with .Labels.namespace }}Namespace: {{ . }}
645
+ {{ end }}{{ with .Labels.pod }}Pod: {{ . }}
646
+ {{ end }}{{ with .Labels.container }}Container: {{ . }}
647
+ {{ end }}{{ with .Labels.node }}Node: {{ . }}
648
+ {{ end }}{{ with .Labels.persistentvolumeclaim }}Volume: {{ . }}
649
+ {{ end }}Since: {{ .StartsAt.UTC.Format "2006-01-02 15:04" }} UTC
650
+ {{ if .Annotations.dashboard_url }}Dashboard: {{ template "fast2dev.email.base" . }}{{ .Annotations.dashboard_url }}
651
+ {{ end }}Alert rule: {{ .GeneratorURL }}
652
+ Silence: {{ .SilenceURL }}
653
+ {{- end }}
654
+
655
+ {{ define "fast2dev.email.message" -}}
656
+ {{ if .Alerts.Firing -}}
657
+ {{ len .Alerts.Firing }} firing on {% endraw %}{{ customer }}{% raw %}
658
+ {{ range .Alerts.Firing }}
659
+ ● {{ .Labels.alertname }} ({{ .Labels.severity }})
660
+ {{ template "fast2dev.email.alert" . }}
661
+ {{ end }}{{ end }}
662
+ {{- if .Alerts.Resolved }}
663
+ {{ len .Alerts.Resolved }} resolved
664
+ {{ range .Alerts.Resolved }}
665
+ ✓ {{ .Labels.alertname }}: {{ .Annotations.summary }} (resolved {{ .EndsAt.UTC.Format "2006-01-02 15:04" }} UTC)
666
+ {{ end }}{{ end }}
667
+ {{- end }}`}}{% endraw %}
668
+ policies.yaml:
669
+ apiVersion: 1
670
+ policies:
671
+ - orgId: 1
672
+ receiver: platform-admins
673
+ group_by: ["grafana_folder", "layer", "alertname"]
674
+ group_wait: 1m
675
+ group_interval: 5m
676
+ repeat_interval: 12h
677
+ routes:
678
+ - receiver: platform-admins
679
+ object_matchers:
680
+ - ["severity", "=", "critical"]
681
+ group_wait: 10s
682
+ repeat_interval: 1h
683
+ {% raw %}
684
+
685
+ ## Configure notifiers
686
+ ## ref: http://docs.grafana.org/administration/provisioning/#alert-notification-channels
687
+ ##
688
+ notifiers: {}
689
+ # notifiers.yaml:
690
+ # notifiers:
691
+ # - name: email-notifier
692
+ # type: email
693
+ # uid: email1
694
+ # # either:
695
+ # org_id: 1
696
+ # # or
697
+ # org_name: Main Org.
698
+ # is_default: true
699
+ # settings:
700
+ # addresses: an_email_address@example.com
701
+ # delete_notifiers:
702
+
703
+ ## Configure grafana dashboard providers
704
+ ## ref: http://docs.grafana.org/administration/provisioning/#dashboards
705
+ ##
706
+ ## `path` must be /var/lib/grafana/dashboards/<provider_name>
707
+ ##
708
+ dashboardProviders: {}
709
+
710
+ dashboards: {}
711
+
712
+ dashboardsConfigMaps: {}
713
+
714
+ ## Grafana's primary configuration
715
+ ## NOTE: values in map will be converted to ini format
716
+ ## ref: http://docs.grafana.org/installation/configuration/
717
+ ##
718
+ grafana.ini:
719
+ dashboards:
720
+ default_home_dashboard_path: /tmp/dashboards/00 Main/f2d-main.json
721
+ paths:
722
+ data: /var/lib/grafana/
723
+ logs: /var/log/grafana
724
+ plugins: /var/lib/grafana/plugins
725
+ provisioning: /etc/grafana/provisioning
726
+ analytics:
727
+ check_for_updates: false
728
+ log:
729
+ mode: console
730
+ grafana_net:
731
+ url: https://grafana.net
732
+ users:
733
+ default_theme: system
734
+ security:
735
+ allow_embedding: true
736
+ cookie_samesite: none
737
+ cookie_secure: true
738
+ server:
739
+ root_url: "https://{{ if (and .Values.ingress.enabled .Values.ingress.hosts) }}{{ .Values.ingress.hosts | first }}{{ else }}''{{ end }}"
740
+ domain: "{{ if (and .Values.ingress.enabled .Values.ingress.hosts) }}{{ .Values.ingress.hosts | first }}{{ else }}''{{ end }}"
741
+ {% endraw %}
742
+ smtp:
743
+ enabled: true
744
+ host: mail.smtp2go.com:2525
745
+ startTLS: "NoStartTLS"
746
+ from_address: {{ monitoring_agent_email }}
747
+ from_name: "Fast2.Dev Monitoring Agent"
748
+ # SMTP config follows here as per
749
+ # https://grafana.com/docs/grafana/latest/administration/configuration/#smtp
750
+ auth.generic_oauth:
751
+ enabled: true
752
+ name: Keycloak-OAuth
753
+ allow_sign_up: "true"
754
+ auto_login: "true"
755
+ scopes: "openid email profile"
756
+ email_attribute_path: "email"
757
+ login_attribute_path: "preferred_username"
758
+ name_attribute_path: "name"
759
+ auth_url: "{{ oauth_auth_url }}"
760
+ token_url: "{{ oauth_token_url }}"
761
+ api_url: "{{ oauth_api_url }}"
762
+ role_attribute_path: "contains(roles[*], 'Admin') && 'GrafanaAdmin' || contains(roles[*], 'User') && 'Editor' || 'Viewer'"
763
+ groups_attribute_path: "groups"
764
+ allow_assign_grafana_admin: "true"
765
+ signout_redirect_url: "{{ oauth_signout_redirect_url }}"
766
+ {%- if cert_provider == "selfsigned" %}
767
+ tls_client_ca: "/etc/ssl/certs/{{ customer }}-ca/ca.crt"
768
+ tls_client_cert: "/etc/ssl/certs/{{ customer }}-ca/tls.crt"
769
+ tls_client_key: "/etc/ssl/certs/{{ customer }}-ca/tls.key"
770
+ {%- endif %}
771
+ auth.jwt:
772
+ enabled: true
773
+ header_name: Authorization
774
+ jwk_set_url: "{{ oauth_auth_url | replace('/protocol/openid-connect/auth', '') }}/protocol/openid-connect/certs"
775
+ expect_claims: '{"iss": "{{ oauth_auth_url | replace('/protocol/openid-connect/auth', '') }}"}'
776
+ username_claim: preferred_username
777
+ email_claim: email
778
+ auto_sign_up: true
779
+ role_attribute_path: "contains(realm_access.roles[*], 'Admin') && 'GrafanaAdmin' || contains(realm_access.roles[*], 'User') && 'Editor' || 'Viewer'"
780
+ allow_assign_grafana_admin: true
781
+ cache_ttl: 60m
782
+ {% raw %}
783
+ ## LDAP Authentication can be enabled with the following values on grafana.ini
784
+ ## NOTE: Grafana will fail to start if the value for ldap.toml is invalid
785
+ # auth.ldap:
786
+ # enabled: true
787
+ # allow_sign_up: true
788
+ # config_file: /etc/grafana/ldap.toml
789
+ ## Grafana's LDAP configuration
790
+ ## Templated by the template in _helpers.tpl
791
+ ## NOTE: To enable the grafana.ini must be configured with auth.ldap.enabled
792
+ ## ref: http://docs.grafana.org/installation/configuration/#auth-ldap
793
+ ## ref: http://docs.grafana.org/installation/ldap/#configuration
794
+ ldap:
795
+ enabled: false
796
+ # `existingSecret` is a reference to an existing secret containing the ldap configuration
797
+ # for Grafana in a key `ldap-toml`.
798
+ existingSecret: ""
799
+ # `config` is the content of `ldap.toml` that will be stored in the created secret
800
+ config: ""
801
+ # config: |-
802
+ # verbose_logging = true
803
+ # [[servers]]
804
+ # host = "my-ldap-server"
805
+ # port = 636
806
+ # use_ssl = true
807
+ # start_tls = false
808
+ # ssl_skip_verify = false
809
+ # bind_dn = "uid=%s,ou=users,dc=myorg,dc=com"
810
+
811
+ ## Grafana's SMTP configuration
812
+ ## NOTE: To enable, grafana.ini must be configured with smtp.enabled
813
+ ## ref: http://docs.grafana.org/installation/configuration/#smtp
814
+ smtp:
815
+ # `existingSecret` is a reference to an existing secret containing the smtp configuration
816
+ # for Grafana.
817
+ existingSecret: "smtp-secrets-monitoring"
818
+ userKey: "username"
819
+ passwordKey: "password"
820
+ ## Sidecars that collect the configmaps with specified label and stores the included files them into the respective folders
821
+ ## Requires at least Grafana 5 to work and can't be used together with parameters dashboardProviders, datasources and dashboards
822
+ sidecar:
823
+ image:
824
+ # -- The Docker registry
825
+ registry: quay.io
826
+ repository: kiwigrid/k8s-sidecar
827
+ tag: 2.14.3
828
+ imagePullPolicy: IfNotPresent
829
+ resources:
830
+ requests:
831
+ cpu: 50m
832
+ memory: 128Mi
833
+ limits:
834
+ cpu: 200m
835
+ memory: 512Mi
836
+ # limits:
837
+ # cpu: 100m
838
+ # memory: 100Mi
839
+ # requests:
840
+ # cpu: 50m
841
+ # memory: 50Mi
842
+ securityContext:
843
+ allowPrivilegeEscalation: false
844
+ capabilities:
845
+ drop:
846
+ - ALL
847
+ seccompProfile:
848
+ type: RuntimeDefault
849
+ # skipTlsVerify Set to true to skip tls verification for kube api calls
850
+ # skipTlsVerify: true
851
+ enableUniqueFilenames: false
852
+ readinessProbe: {}
853
+ livenessProbe: {}
854
+ # Log level default for all sidecars. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL. Defaults to INFO
855
+ # logLevel: INFO
856
+ alerts:
857
+ enabled: false
858
+ # Additional environment variables for the alerts sidecar
859
+ env: {}
860
+ # Do not reprocess already processed unchanged resources on k8s API reconnect.
861
+ # ignoreAlreadyProcessed: true
862
+ # label that the configmaps with alert are marked with
863
+ label: grafana_alert
864
+ # value of label that the configmaps with alert are set to
865
+ labelValue: ""
866
+ # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
867
+ # logLevel: INFO
868
+ # If specified, the sidecar will search for alert config-maps inside this namespace.
869
+ # Otherwise the namespace in which the sidecar is running will be used.
870
+ # It's also possible to specify ALL to search in all namespaces
871
+ searchNamespace: null
872
+ # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
873
+ watchMethod: WATCH
874
+ # search in configmap, secret or both
875
+ resource: both
876
+ # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
877
+ # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
878
+ # watchServerTimeout: 3600
879
+ #
880
+ # watchClientTimeout: is a client-side timeout, configuring your local socket.
881
+ # If you have a network outage dropping all packets with no RST/FIN,
882
+ # this is how long your client waits before realizing & dropping the connection.
883
+ # defaults to 66sec (sic!)
884
+ # watchClientTimeout: 60
885
+ #
886
+ # Endpoint to send request to reload alerts
887
+ reloadURL: "http://localhost:3000/api/admin/provisioning/alerting/reload"
888
+ # Absolute path to shell script to execute after a alert got reloaded
889
+ script: null
890
+ skipReload: false
891
+ # This is needed if skipReload is true, to load any alerts defined at startup time.
892
+ # Deploy the alert sidecar as an initContainer.
893
+ initAlerts: false
894
+ # Additional alert sidecar volume mounts
895
+ extraMounts: []
896
+ # Sets the size limit of the alert sidecar emptyDir volume
897
+ sizeLimit: ""
898
+ dashboards:
899
+ enabled: true
900
+ # Additional environment variables for the dashboards sidecar
901
+ env: {}
902
+ # Do not reprocess already processed unchanged resources on k8s API reconnect.
903
+ # ignoreAlreadyProcessed: true
904
+ SCProvider: true
905
+ # label that the configmaps with dashboards are marked with
906
+ label: grafana_dashboard
907
+ # value of label that the configmaps with dashboards are set to
908
+ labelValue: "1"
909
+ # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
910
+ # logLevel: INFO
911
+ # folder in the pod that should hold the collected dashboards (unless `defaultFolderName` is set)
912
+ folder: /tmp/dashboards
913
+ # The default folder name, it will create a subfolder under the `folder` and put dashboards in there instead
914
+ defaultFolderName: null
915
+ # Namespaces list. If specified, the sidecar will search for config-maps/secrets inside these namespaces.
916
+ # Otherwise the namespace in which the sidecar is running will be used.
917
+ # It's also possible to specify ALL to search in all namespaces.
918
+ searchNamespace: monitoring
919
+ # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
920
+ watchMethod: WATCH
921
+ # search in configmap, secret or both
922
+ resource: both
923
+ # If specified, the sidecar will look for annotation with this name to create folder and put graph here.
924
+ # You can use this parameter together with `provider.foldersFromFilesStructure`to annotate configmaps and create folder structure.
925
+ folderAnnotation: grafana_folder
926
+ # Endpoint to send request to reload alerts
927
+ reloadURL: "http://localhost:3000/api/admin/provisioning/dashboards/reload"
928
+ # Absolute path to shell script to execute after a configmap got reloaded
929
+ script: null
930
+ skipReload: false
931
+ # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
932
+ # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
933
+ # watchServerTimeout: 3600
934
+ #
935
+ # watchClientTimeout: is a client-side timeout, configuring your local socket.
936
+ # If you have a network outage dropping all packets with no RST/FIN,
937
+ # this is how long your client waits before realizing & dropping the connection.
938
+ # defaults to 66sec (sic!)
939
+ # watchClientTimeout: 60
940
+ #
941
+ # provider configuration that lets grafana manage the dashboards
942
+ provider:
943
+ # name of the provider, should be unique
944
+ name: sidecarProvider
945
+ # orgid as configured in grafana
946
+ orgid: 1
947
+ # folder in which the dashboards should be imported in grafana
948
+ folder: ''
949
+ # type of the provider
950
+ type: file
951
+ # disableDelete to activate a import-only behaviour
952
+ disableDelete: true
953
+ # allow updating provisioned dashboards from the UI
954
+ allowUiUpdates: false
955
+ # allow Grafana to replicate dashboard structure from filesystem
956
+ foldersFromFilesStructure: true
957
+ # Additional dashboard sidecar volume mounts
958
+ extraMounts: []
959
+ # Sets the size limit of the dashboard sidecar emptyDir volume
960
+ sizeLimit: ""
961
+ datasources:
962
+ enabled: false
963
+ # Additional environment variables for the datasourcessidecar
964
+ env: {}
965
+ # Do not reprocess already processed unchanged resources on k8s API reconnect.
966
+ # ignoreAlreadyProcessed: true
967
+ # label that the configmaps with datasources are marked with
968
+ label: grafana_datasource
969
+ # value of label that the configmaps with datasources are set to
970
+ labelValue: ""
971
+ # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
972
+ # logLevel: INFO
973
+ # If specified, the sidecar will search for datasource config-maps inside this namespace.
974
+ # Otherwise the namespace in which the sidecar is running will be used.
975
+ # It's also possible to specify ALL to search in all namespaces
976
+ searchNamespace: null
977
+ # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
978
+ watchMethod: WATCH
979
+ # search in configmap, secret or both
980
+ resource: both
981
+ # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
982
+ # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
983
+ # watchServerTimeout: 3600
984
+ #
985
+ # watchClientTimeout: is a client-side timeout, configuring your local socket.
986
+ # If you have a network outage dropping all packets with no RST/FIN,
987
+ # this is how long your client waits before realizing & dropping the connection.
988
+ # defaults to 66sec (sic!)
989
+ # watchClientTimeout: 60
990
+ #
991
+ # Endpoint to send request to reload datasources
992
+ reloadURL: "http://localhost:3000/api/admin/provisioning/datasources/reload"
993
+ # Absolute path to shell script to execute after a datasource got reloaded
994
+ script: null
995
+ skipReload: false
996
+ # Deploy the datasource sidecar as an initContainer in addition to a container.
997
+ # This is needed if skipReload is true, to load any datasources defined at startup time.
998
+ initDatasources: false
999
+ # Sets the size limit of the datasource sidecar emptyDir volume
1000
+ sizeLimit: ""
1001
+ plugins:
1002
+ enabled: false
1003
+ # Additional environment variables for the plugins sidecar
1004
+ env: {}
1005
+ # Do not reprocess already processed unchanged resources on k8s API reconnect.
1006
+ # ignoreAlreadyProcessed: true
1007
+ # label that the configmaps with plugins are marked with
1008
+ label: grafana_plugin
1009
+ # value of label that the configmaps with plugins are set to
1010
+ labelValue: ""
1011
+ # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1012
+ # logLevel: INFO
1013
+ # If specified, the sidecar will search for plugin config-maps inside this namespace.
1014
+ # Otherwise the namespace in which the sidecar is running will be used.
1015
+ # It's also possible to specify ALL to search in all namespaces
1016
+ searchNamespace: null
1017
+ # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1018
+ watchMethod: WATCH
1019
+ # search in configmap, secret or both
1020
+ resource: both
1021
+ # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1022
+ # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1023
+ # watchServerTimeout: 3600
1024
+ #
1025
+ # watchClientTimeout: is a client-side timeout, configuring your local socket.
1026
+ # If you have a network outage dropping all packets with no RST/FIN,
1027
+ # this is how long your client waits before realizing & dropping the connection.
1028
+ # defaults to 66sec (sic!)
1029
+ # watchClientTimeout: 60
1030
+ #
1031
+ # Endpoint to send request to reload plugins
1032
+ reloadURL: "http://localhost:3000/api/admin/provisioning/plugins/reload"
1033
+ # Absolute path to shell script to execute after a plugin got reloaded
1034
+ script: null
1035
+ skipReload: false
1036
+ # Deploy the datasource sidecar as an initContainer in addition to a container.
1037
+ # This is needed if skipReload is true, to load any plugins defined at startup time.
1038
+ initPlugins: false
1039
+ # Sets the size limit of the plugin sidecar emptyDir volume
1040
+ sizeLimit: ""
1041
+ notifiers:
1042
+ enabled: false
1043
+ # Additional environment variables for the notifierssidecar
1044
+ env: {}
1045
+ # Do not reprocess already processed unchanged resources on k8s API reconnect.
1046
+ # ignoreAlreadyProcessed: true
1047
+ # label that the configmaps with notifiers are marked with
1048
+ label: grafana_notifier
1049
+ # value of label that the configmaps with notifiers are set to
1050
+ labelValue: ""
1051
+ # Log level. Can be one of: DEBUG, INFO, WARN, ERROR, CRITICAL.
1052
+ # logLevel: INFO
1053
+ # If specified, the sidecar will search for notifier config-maps inside this namespace.
1054
+ # Otherwise the namespace in which the sidecar is running will be used.
1055
+ # It's also possible to specify ALL to search in all namespaces
1056
+ searchNamespace: null
1057
+ # Method to use to detect ConfigMap changes. With WATCH the sidecar will do a WATCH requests, with SLEEP it will list all ConfigMaps, then sleep for 60 seconds.
1058
+ watchMethod: WATCH
1059
+ # search in configmap, secret or both
1060
+ resource: both
1061
+ # watchServerTimeout: request to the server, asking it to cleanly close the connection after that.
1062
+ # defaults to 60sec; much higher values like 3600 seconds (1h) are feasible for non-Azure K8S
1063
+ # watchServerTimeout: 3600
1064
+ #
1065
+ # watchClientTimeout: is a client-side timeout, configuring your local socket.
1066
+ # If you have a network outage dropping all packets with no RST/FIN,
1067
+ # this is how long your client waits before realizing & dropping the connection.
1068
+ # defaults to 66sec (sic!)
1069
+ # watchClientTimeout: 60
1070
+ #
1071
+ # Endpoint to send request to reload notifiers
1072
+ reloadURL: "http://localhost:3000/api/admin/provisioning/notifications/reload"
1073
+ # Absolute path to shell script to execute after a notifier got reloaded
1074
+ script: null
1075
+ skipReload: false
1076
+ # Deploy the notifier sidecar as an initContainer in addition to a container.
1077
+ # This is needed if skipReload is true, to load any notifiers defined at startup time.
1078
+ initNotifiers: false
1079
+ # Sets the size limit of the notifier sidecar emptyDir volume
1080
+ sizeLimit: ""
1081
+ ## Override the deployment namespace
1082
+ ##
1083
+ namespaceOverride: ""
1084
+ ## Number of old ReplicaSets to retain
1085
+ ##
1086
+ revisionHistoryLimit: 10
1087
+ ## Add a seperate remote image renderer deployment/service
1088
+ imageRenderer:
1089
+ deploymentStrategy: {}
1090
+ # Enable the image-renderer deployment & service
1091
+ enabled: false
1092
+ replicas: 1
1093
+ autoscaling:
1094
+ enabled: false
1095
+ minReplicas: 1
1096
+ maxReplicas: 5
1097
+ targetCPU: "60"
1098
+ targetMemory: ""
1099
+ behavior: {}
1100
+ image:
1101
+ # -- The Docker registry
1102
+ registry: docker.io
1103
+ # image-renderer Image repository
1104
+ repository: grafana/grafana-image-renderer
1105
+ # image-renderer Image tag
1106
+ tag: latest
1107
+ # image-renderer Image sha (optional)
1108
+ sha: ""
1109
+ # image-renderer ImagePullPolicy
1110
+ pullPolicy: Always
1111
+ # extra environment variables
1112
+ env:
1113
+ HTTP_HOST: "0.0.0.0"
1114
+ # RENDERING_ARGS: --no-sandbox,--disable-gpu,--window-size=1280x758
1115
+ # RENDERING_MODE: clustered
1116
+ # IGNORE_HTTPS_ERRORS: true
1117
+ ## "valueFrom" environment variable references that will be added to deployment pods. Name is templated.
1118
+ ## ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core
1119
+ ## Renders in container spec as:
1120
+ ## env:
1121
+ ## ...
1122
+ ## - name: <key>
1123
+ ## valueFrom:
1124
+ ## <value rendered as YAML>
1125
+ envValueFrom: {}
1126
+ # ENV_NAME:
1127
+ # configMapKeyRef:
1128
+ # name: configmap-name
1129
+ # key: value_key
1130
+
1131
+ # image-renderer deployment serviceAccount
1132
+ serviceAccountName: "monitoring-sa"
1133
+ # image-renderer deployment securityContext
1134
+ securityContext: {}
1135
+ # image-renderer deployment container securityContext
1136
+ containerSecurityContext:
1137
+ seccompProfile:
1138
+ type: RuntimeDefault
1139
+ capabilities:
1140
+ drop: ['ALL']
1141
+ allowPrivilegeEscalation: false
1142
+ readOnlyRootFilesystem: true
1143
+ # image-renderer deployment Host Aliases
1144
+ hostAliases: []
1145
+ # image-renderer deployment priority class
1146
+ priorityClassName: ''
1147
+ service:
1148
+ # Enable the image-renderer service
1149
+ enabled: true
1150
+ # image-renderer service port name
1151
+ portName: 'http'
1152
+ # image-renderer service port used by both service and deployment
1153
+ port: 8081
1154
+ targetPort: 8081
1155
+ # Adds the appProtocol field to the image-renderer service. This allows to work with istio protocol selection. Ex: "http" or "tcp"
1156
+ appProtocol: ""
1157
+ serviceMonitor:
1158
+ ## If true, a ServiceMonitor CRD is created for a prometheus operator
1159
+ ## https://github.com/coreos/prometheus-operator
1160
+ ##
1161
+ enabled: false
1162
+ path: /metrics
1163
+ # namespace: monitoring (defaults to use the namespace this chart is deployed to)
1164
+ labels: {}
1165
+ interval: 1m
1166
+ scheme: http
1167
+ tlsConfig: {}
1168
+ scrapeTimeout: 30s
1169
+ relabelings: []
1170
+ # See: https://doc.crds.dev/github.com/prometheus-operator/kube-prometheus/monitoring.coreos.com/ServiceMonitor/v1@v0.11.0#spec-targetLabels
1171
+ targetLabels: []
1172
+ # - targetLabel1
1173
+ # - targetLabel2
1174
+ # If https is enabled in Grafana, this needs to be set as 'https' to correctly configure the callback used in Grafana
1175
+ grafanaProtocol: http
1176
+ # In case a sub_path is used this needs to be added to the image renderer callback
1177
+ grafanaSubPath: ""
1178
+ # name of the image-renderer port on the pod
1179
+ podPortName: http
1180
+ # number of image-renderer replica sets to keep
1181
+ revisionHistoryLimit: 10
1182
+ networkPolicy:
1183
+ # Enable a NetworkPolicy to limit inbound traffic to only the created grafana pods
1184
+ limitIngress: true
1185
+ # Enable a NetworkPolicy to limit outbound traffic to only the created grafana pods
1186
+ limitEgress: false
1187
+ # Allow additional services to access image-renderer (eg. Prometheus operator when ServiceMonitor is enabled)
1188
+ extraIngressSelectors: []
1189
+ resources: {}
1190
+ # limits:
1191
+ # cpu: 100m
1192
+ # memory: 100Mi
1193
+ # requests:
1194
+ # cpu: 50m
1195
+ # memory: 50Mi
1196
+ ## Node labels for pod assignment
1197
+ ## ref: https://kubernetes.io/docs/user-guide/node-selection/
1198
+ #
1199
+ nodeSelector: {}
1200
+ ## Tolerations for pod assignment
1201
+ ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1202
+ ##
1203
+ tolerations: []
1204
+ ## Affinity for pod assignment (evaluated as template)
1205
+ ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1206
+ ##
1207
+ affinity: {}
1208
+ ## Use an alternate scheduler, e.g. "stork".
1209
+ ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1210
+ ##
1211
+ # schedulerName: "default-scheduler"
1212
+ networkPolicy:
1213
+ ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources. Only Ingress traffic is filtered for now.
1214
+ ##
1215
+ enabled: false
1216
+ ## @param networkPolicy.allowExternal Don't require client label for connections
1217
+ ## The Policy model to apply. When set to false, only pods with the correct
1218
+ ## client label will have network access to grafana port defined.
1219
+ ## When true, grafana will accept connections from any source
1220
+ ## (with the correct destination port).
1221
+ ##
1222
+ ingress: true
1223
+ ## @param networkPolicy.ingress When true enables the creation
1224
+ ## an ingress network policy
1225
+ ##
1226
+ allowExternal: true
1227
+ ## @param networkPolicy.explicitNamespacesSelector A Kubernetes LabelSelector to explicitly select namespaces from which traffic could be allowed
1228
+ ## If explicitNamespacesSelector is missing or set to {}, only client Pods that are in the networkPolicy's namespace
1229
+ ## and that match other criteria, the ones that have the good label, can reach the grafana.
1230
+ ## But sometimes, we want the grafana to be accessible to clients from other namespaces, in this case, we can use this
1231
+ ## LabelSelector to select these namespaces, note that the networkPolicy's namespace should also be explicitly added.
1232
+ ##
1233
+ ## Example:
1234
+ ## explicitNamespacesSelector:
1235
+ ## matchLabels:
1236
+ ## role: frontend
1237
+ ## matchExpressions:
1238
+ ## - {key: role, operator: In, values: [frontend]}
1239
+ ##
1240
+ explicitNamespacesSelector: {}
1241
+ ##
1242
+ ##
1243
+ ##
1244
+ ##
1245
+ ##
1246
+ ##
1247
+ egress:
1248
+ ## @param networkPolicy.egress.enabled When enabled, an egress network policy will be
1249
+ ## created allowing grafana to connect to external data sources from kubernetes cluster.
1250
+ enabled: false
1251
+ ##
1252
+ ## @param networkPolicy.egress.ports Add individual ports to be allowed by the egress
1253
+ ports: []
1254
+ ## Add ports to the egress by specifying - port: <port number>
1255
+ ## E.X.
1256
+ ## ports:
1257
+ ## - port: 80
1258
+ ## - port: 443
1259
+ ##
1260
+ ##
1261
+ ##
1262
+ ##
1263
+ ##
1264
+ ##
1265
+ # Enable backward compatibility of kubernetes where version below 1.13 doesn't have the enableServiceLinks option
1266
+ enableKubeBackwardCompatibility: false
1267
+ useStatefulSet: true
1268
+ {% endraw %}
1269
+ # Create a dynamic manifests via values:
1270
+ extraObjects:
1271
+ - apiVersion: external-secrets.io/v1
1272
+ kind: ExternalSecret
1273
+ metadata:
1274
+ name: hashicorp-vault-root-monitoring
1275
+ namespace: monitoring
1276
+ spec:
1277
+ refreshInterval: 15s
1278
+ secretStoreRef:
1279
+ name: vault-backend
1280
+ kind: ClusterSecretStore
1281
+ target:
1282
+ name: root-secrets-monitoring
1283
+ dataFrom:
1284
+ - extract:
1285
+ key: "data-platform-monitoring/root-secrets/"
1286
+ - apiVersion: external-secrets.io/v1
1287
+ kind: ExternalSecret
1288
+ metadata:
1289
+ name: hashicorp-vault-smtp-monitoring
1290
+ namespace: monitoring
1291
+ spec:
1292
+ refreshInterval: 15s
1293
+ secretStoreRef:
1294
+ name: vault-backend
1295
+ kind: ClusterSecretStore
1296
+ target:
1297
+ name: smtp-secrets-monitoring
1298
+ dataFrom:
1299
+ - extract:
1300
+ key: "data-platform-monitoring/smtp-secrets/"
1301
+ - apiVersion: external-secrets.io/v1
1302
+ kind: ExternalSecret
1303
+ metadata:
1304
+ name: hashicorp-vault-sso-clients-monitoring
1305
+ namespace: monitoring
1306
+ spec:
1307
+ refreshInterval: 15s
1308
+ secretStoreRef:
1309
+ name: vault-backend
1310
+ kind: ClusterSecretStore
1311
+ target:
1312
+ name: sso-clients-secrets
1313
+ dataFrom:
1314
+ - extract:
1315
+ key: "data-platform-monitoring/sso-clients-secrets/"