fast2dev 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- f2dev/__init__.py +1 -0
- f2dev/__main__.py +5 -0
- f2dev/_bundle/platform/.dockerignore +80 -0
- f2dev/_bundle/platform/.gitignore +82 -0
- f2dev/_bundle/platform/LICENSE +202 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
- f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
- f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
- f2dev/_bundle/platform/cli/README.md +866 -0
- f2dev/_bundle/platform/cli/__init__.py +42 -0
- f2dev/_bundle/platform/cli/__main__.py +17 -0
- f2dev/_bundle/platform/cli/cert_providers.py +369 -0
- f2dev/_bundle/platform/cli/command_record.py +144 -0
- f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
- f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
- f2dev/_bundle/platform/cli/config/images.json +129 -0
- f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
- f2dev/_bundle/platform/cli/config.py +252 -0
- f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
- f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
- f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
- f2dev/_bundle/platform/cli/destroy.py +677 -0
- f2dev/_bundle/platform/cli/dns_check.py +27 -0
- f2dev/_bundle/platform/cli/dns_providers.py +405 -0
- f2dev/_bundle/platform/cli/exit_codes.py +32 -0
- f2dev/_bundle/platform/cli/fixers.py +56 -0
- f2dev/_bundle/platform/cli/generate_only.py +336 -0
- f2dev/_bundle/platform/cli/health_report.py +114 -0
- f2dev/_bundle/platform/cli/logging.py +206 -0
- f2dev/_bundle/platform/cli/main.py +5293 -0
- f2dev/_bundle/platform/cli/precheck.py +1523 -0
- f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
- f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
- f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
- f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
- f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
- f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
- f2dev/_bundle/platform/cli/restore.py +179 -0
- f2dev/_bundle/platform/cli/service_gates.py +160 -0
- f2dev/_bundle/platform/cli/state.py +332 -0
- f2dev/_bundle/platform/cli/wizard.py +782 -0
- f2dev/_bundle/platform/cli.py +235 -0
- f2dev/_bundle/platform/deployers/__init__.py +4 -0
- f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
- f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
- f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
- f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
- f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
- f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
- f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
- f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
- f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
- f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
- f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
- f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
- f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
- f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
- f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
- f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
- f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
- f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
- f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
- f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
- f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
- f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
- f2dev/_bundle/platform/readme.md +47 -0
- f2dev/_bundle/platform/requirements.txt +14 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
- f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
- f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
- f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/utils/__init__.py +0 -0
- f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
- f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
- f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
- f2dev/_bundle/platform/utils/helm_utils.py +215 -0
- f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
- f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
- f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
- f2dev/_bundle/platform/utils/raw_extras.py +34 -0
- f2dev/_bundle/platform/utils/readiness.py +330 -0
- f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
- f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
- f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
- f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
- f2dev/_bundle/terraform-modules/README.md +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
- f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
- f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
- f2dev/launcher.py +153 -0
- fast2dev-1.0.0.dist-info/METADATA +201 -0
- fast2dev-1.0.0.dist-info/RECORD +543 -0
- fast2dev-1.0.0.dist-info/WHEEL +4 -0
- fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
- fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
- fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml
ADDED
|
@@ -0,0 +1,1200 @@
|
|
|
1
|
+
## Fast2.Dev Deployment
|
|
2
|
+
# Helm deployment values for Service.
|
|
3
|
+
# Helm Chart name: {{ chart_name }}
|
|
4
|
+
# Helm Chart repo: {{ chart_repo }}
|
|
5
|
+
# Helm Chart version {{ chart_version }}
|
|
6
|
+
{% raw %}
|
|
7
|
+
|
|
8
|
+
global:
|
|
9
|
+
# Global registry to pull the images from
|
|
10
|
+
imageRegistry: ""
|
|
11
|
+
# To help compatibility with other charts which use global.imagePullSecrets.
|
|
12
|
+
imagePullSecrets: []
|
|
13
|
+
# - name: pullSecret1
|
|
14
|
+
# - name: pullSecret2
|
|
15
|
+
|
|
16
|
+
## Override the deployment namespace
|
|
17
|
+
##
|
|
18
|
+
namespaceOverride: ""
|
|
19
|
+
|
|
20
|
+
# Force the target Kubernetes version (it uses Helm `.Capabilities` if not set).
|
|
21
|
+
# This is especially useful for `helm template` as capabilities are always empty
|
|
22
|
+
# due to the fact that it doesn't query an actual cluster
|
|
23
|
+
kubeVersion:
|
|
24
|
+
|
|
25
|
+
# Oauth client configuration specifics
|
|
26
|
+
config:
|
|
27
|
+
# Add config annotations
|
|
28
|
+
annotations: {}
|
|
29
|
+
# OAuth client ID
|
|
30
|
+
clientID: ""
|
|
31
|
+
# OAuth client secret
|
|
32
|
+
clientSecret: ""
|
|
33
|
+
# List of secret keys to include in the secret and expose as environment variables.
|
|
34
|
+
# By default, all three secrets are required. To exclude certain secrets
|
|
35
|
+
# (e.g., when using federated token authentication), remove them from this list.
|
|
36
|
+
# Example to exclude client-secret:
|
|
37
|
+
# requiredSecretKeys:
|
|
38
|
+
# - client-id
|
|
39
|
+
# - cookie-secret
|
|
40
|
+
requiredSecretKeys:
|
|
41
|
+
- client-id
|
|
42
|
+
- client-secret
|
|
43
|
+
- cookie-secret
|
|
44
|
+
# Create a new secret with the following command
|
|
45
|
+
# openssl rand -base64 32 | head -c 32 | base64
|
|
46
|
+
# Use an existing secret for OAuth2 credentials (see secret.yaml for required fields)
|
|
47
|
+
# Example:
|
|
48
|
+
existingSecret: airbyte-auth-service-sso-secrets
|
|
49
|
+
cookieSecret: ""
|
|
50
|
+
# The name of the cookie that oauth2-proxy will create
|
|
51
|
+
# If left empty, it will default to the release name
|
|
52
|
+
cookieName: "_ab4oauth2_proxy"
|
|
53
|
+
google: {}
|
|
54
|
+
# Default configuration, to be overridden
|
|
55
|
+
configFile: |-
|
|
56
|
+
upstream_timeout = "6h"
|
|
57
|
+
|
|
58
|
+
emailDomains: ["*"]
|
|
59
|
+
|
|
60
|
+
forceLegacyConfig: false
|
|
61
|
+
# configFile: |-
|
|
62
|
+
# pass_basic_auth = false
|
|
63
|
+
# pass_access_token = true
|
|
64
|
+
# Use an existing config map (see configmap.yaml for required fields)
|
|
65
|
+
# Example:
|
|
66
|
+
# existingConfig: config
|
|
67
|
+
existingConfig: ~
|
|
68
|
+
|
|
69
|
+
alphaConfig:
|
|
70
|
+
enabled: false
|
|
71
|
+
# Add config annotations
|
|
72
|
+
annotations: {}
|
|
73
|
+
# Arbitrary configuration data to append to the server section
|
|
74
|
+
serverConfigData: {}
|
|
75
|
+
# Arbitrary configuration data to append to the metrics section
|
|
76
|
+
metricsConfigData: {}
|
|
77
|
+
# Arbitrary configuration data to append
|
|
78
|
+
configData: {}
|
|
79
|
+
# Arbitrary configuration to append
|
|
80
|
+
# This is treated as a Go template and rendered with the root context
|
|
81
|
+
configFile: ""
|
|
82
|
+
# Use an existing config map (see secret-alpha.yaml for required fields)
|
|
83
|
+
existingConfig: ~
|
|
84
|
+
# Use an existing secret
|
|
85
|
+
existingSecret: ~
|
|
86
|
+
|
|
87
|
+
image:
|
|
88
|
+
registry: ""
|
|
89
|
+
repository: "oauth2-proxy/oauth2-proxy"
|
|
90
|
+
# appVersion is used by default
|
|
91
|
+
tag: ""
|
|
92
|
+
pullPolicy: "IfNotPresent"
|
|
93
|
+
command: []
|
|
94
|
+
|
|
95
|
+
# Optionally specify an array of imagePullSecrets.
|
|
96
|
+
# Secrets must be manually created in the namespace.
|
|
97
|
+
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
|
98
|
+
imagePullSecrets: []
|
|
99
|
+
# - name: myRegistryKeySecretName
|
|
100
|
+
|
|
101
|
+
# Set a custom containerPort if required.
|
|
102
|
+
# This will default to 4180 if this value is not set and the httpScheme set to http
|
|
103
|
+
# This will default to 4443 if this value is not set and the httpScheme set to https
|
|
104
|
+
# containerPort: 4180
|
|
105
|
+
|
|
106
|
+
extraArgs: {}
|
|
107
|
+
{% endraw %}
|
|
108
|
+
extraEnv:
|
|
109
|
+
- name: OAUTH2_PROXY_PASS_HOST_HEADER
|
|
110
|
+
value: "false"
|
|
111
|
+
- name: OAUTH2_PROXY_ALLOWED_ROLES
|
|
112
|
+
value: "Admin,User"
|
|
113
|
+
- name: OAUTH2_PROXY_ALLOWED_GROUP
|
|
114
|
+
value: "</Data Platform Services/Data_Replication>"
|
|
115
|
+
- name: OAUTH2_PROXY_COOKIE_CSRF_PER_REQUEST
|
|
116
|
+
value: "true"
|
|
117
|
+
- name: OAUTH2_PROXY_COOKIE_CSRF_EXPIRE
|
|
118
|
+
value: "6h"
|
|
119
|
+
- name: OAUTH2_PROXY_COOKIE_EXPIRE
|
|
120
|
+
value: "6h"
|
|
121
|
+
- name: OAUTH2_PROXY_COOKIE_REFRESH
|
|
122
|
+
value: "5m"
|
|
123
|
+
- name: OAUTH2_PROXY_COOKIE_DOMAINS
|
|
124
|
+
value: ".{{ customer_root_domain }}"
|
|
125
|
+
- name: OAUTH2_PROXY_COOKIE_SECURE
|
|
126
|
+
value: "true"
|
|
127
|
+
- name: OAUTH2_PROXY_EMAIL_DOMAINS
|
|
128
|
+
value: "*"
|
|
129
|
+
- name: OAUTH2_PROXY_LOGIN_URL
|
|
130
|
+
value: "{{ oauth_auth_url }}"
|
|
131
|
+
- name: OAUTH2_PROXY_OIDC_ISSUER_URL
|
|
132
|
+
value: "{{ oauth_realm_url }}"
|
|
133
|
+
- name: OAUTH2_PROXY_OIDC_JWKS_URL
|
|
134
|
+
value: "{{ oauth_certs_url }}"
|
|
135
|
+
- name: OAUTH2_PROXY_PASS_ACCESS_TOKEN
|
|
136
|
+
value: "false"
|
|
137
|
+
- name: OAUTH2_PROXY_PASS_AUTHORIZATION_HEADER
|
|
138
|
+
value: "false"
|
|
139
|
+
- name: OAUTH2_PROXY_PROVIDER
|
|
140
|
+
value: "keycloak-oidc"
|
|
141
|
+
- name: OAUTH2_PROXY_PROVIDER_DISPLAY_NAME
|
|
142
|
+
value: "Keycloak"
|
|
143
|
+
- name: OAUTH2_PROXY_REDEEM_URL
|
|
144
|
+
value: "{{ oauth_token_url }}"
|
|
145
|
+
- name: OAUTH2_PROXY_REDIRECT_URL
|
|
146
|
+
value: "{{ oauth_callback_url }}"
|
|
147
|
+
- name: OAUTH2_PROXY_REVERSE_PROXY
|
|
148
|
+
value: "false"
|
|
149
|
+
- name: OAUTH2_PROXY_SCOPE
|
|
150
|
+
value: "profile openid email groups"
|
|
151
|
+
- name: OAUTH2_PROXY_SET_AUTHORIZATION_HEADER
|
|
152
|
+
value: "true"
|
|
153
|
+
- name: OAUTH2_PROXY_SET_XAUTHREQUEST
|
|
154
|
+
value: "false"
|
|
155
|
+
- name: OAUTH2_PROXY_SKIP_AUTH_STRIP_HEADERS
|
|
156
|
+
value: "false"
|
|
157
|
+
- name: OAUTH2_PROXY_SKIP_OIDC_DISCOVERY
|
|
158
|
+
value: "true"
|
|
159
|
+
- name: OAUTH2_PROXY_SKIP_PROVIDER_BUTTON
|
|
160
|
+
value: "true"
|
|
161
|
+
- name: OAUTH2_PROXY_UPSTREAMS
|
|
162
|
+
value: "http://data-replication-airbyte-server-svc.{{ namespace }}.svc.cluster.local:8001"
|
|
163
|
+
- name: OAUTH2_PROXY_WHITELIST_DOMAINS
|
|
164
|
+
value: ".{{ customer_root_domain }}"
|
|
165
|
+
- name: OAUTH2_PROXY_SKIP_AUTH_PREFLIGHT
|
|
166
|
+
value: "true"
|
|
167
|
+
- name: OAUTH2_PROXY_SKIP_AUTH_ROUTES
|
|
168
|
+
value: "/manifest.json"
|
|
169
|
+
|
|
170
|
+
{% raw %}
|
|
171
|
+
# -- Custom labels to add into metadata
|
|
172
|
+
customLabels: {}
|
|
173
|
+
|
|
174
|
+
# To authorize individual email addresses
|
|
175
|
+
# That is part of extraArgs but since this needs special treatment we need to do a separate section
|
|
176
|
+
authenticatedEmailsFile:
|
|
177
|
+
enabled: false
|
|
178
|
+
# Defines how the email addresses file will be projected, via a configmap or secret
|
|
179
|
+
persistence: configmap
|
|
180
|
+
# template is the name of the configmap what contains the email user list but has been configured without this chart.
|
|
181
|
+
# It's a simpler way to maintain only one configmap (user list) instead changing it for each oauth2-proxy service.
|
|
182
|
+
# Be aware the value name in the extern config map in data needs to be named to "restricted_user_access" or to the
|
|
183
|
+
# provided value in restrictedUserAccessKey field.
|
|
184
|
+
template: ""
|
|
185
|
+
# The configmap/secret key under which the list of email access is stored
|
|
186
|
+
# Defaults to "restricted_user_access" if not filled-in, but can be overridden to allow flexibility
|
|
187
|
+
restrictedUserAccessKey: ""
|
|
188
|
+
# One email per line
|
|
189
|
+
# example:
|
|
190
|
+
# restricted_access: |-
|
|
191
|
+
# name1@domain
|
|
192
|
+
# name2@domain
|
|
193
|
+
# If you override the config with restricted_access it will configure a user list within this chart what takes care of the
|
|
194
|
+
# config map resource.
|
|
195
|
+
restricted_access: ""
|
|
196
|
+
annotations: {}
|
|
197
|
+
# helm.sh/resource-policy: keep
|
|
198
|
+
|
|
199
|
+
service:
|
|
200
|
+
type: ClusterIP
|
|
201
|
+
# when service.type is ClusterIP ...
|
|
202
|
+
# clusterIP: 192.0.2.20
|
|
203
|
+
# when service.type is LoadBalancer ...
|
|
204
|
+
# loadBalancerIP: 198.51.100.40
|
|
205
|
+
# loadBalancerSourceRanges: 203.0.113.0/24
|
|
206
|
+
# when service.type is NodePort ...
|
|
207
|
+
# nodePort: 80
|
|
208
|
+
portNumber: 80
|
|
209
|
+
# Protocol set on the service
|
|
210
|
+
appProtocol: http
|
|
211
|
+
annotations: {}
|
|
212
|
+
# foo.io/bar: "true"
|
|
213
|
+
# configure externalTrafficPolicy
|
|
214
|
+
externalTrafficPolicy: ""
|
|
215
|
+
# configure internalTrafficPolicy
|
|
216
|
+
internalTrafficPolicy: ""
|
|
217
|
+
# configure service target port
|
|
218
|
+
targetPort: ""
|
|
219
|
+
# Configures the service to use IPv4/IPv6 dual-stack.
|
|
220
|
+
# Ref: https://kubernetes.io/docs/concepts/services-networking/dual-stack/
|
|
221
|
+
ipDualStack:
|
|
222
|
+
enabled: false
|
|
223
|
+
ipFamilies: ["IPv6", "IPv4"]
|
|
224
|
+
ipFamilyPolicy: "PreferDualStack"
|
|
225
|
+
# Configure traffic distribution for the service
|
|
226
|
+
# Ref: https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution
|
|
227
|
+
trafficDistribution: ""
|
|
228
|
+
|
|
229
|
+
## Create or use ServiceAccount
|
|
230
|
+
serviceAccount:
|
|
231
|
+
## Specifies whether a ServiceAccount should be created
|
|
232
|
+
enabled: true
|
|
233
|
+
## The name of the ServiceAccount to use.
|
|
234
|
+
## If not set and create is true, a name is generated using the fullname template
|
|
235
|
+
name:
|
|
236
|
+
automountServiceAccountToken: true
|
|
237
|
+
annotations: {}
|
|
238
|
+
## imagePullSecrets for the service account
|
|
239
|
+
imagePullSecrets: []
|
|
240
|
+
# - name: myRegistryKeySecretName
|
|
241
|
+
|
|
242
|
+
# Network policy settings.
|
|
243
|
+
networkPolicy:
|
|
244
|
+
create: false
|
|
245
|
+
ingress: []
|
|
246
|
+
egress: []
|
|
247
|
+
{% endraw %}
|
|
248
|
+
ingress:
|
|
249
|
+
enabled: true
|
|
250
|
+
className: traefik
|
|
251
|
+
path: /
|
|
252
|
+
# Only used if API capabilities (networking.k8s.io/v1) allow it
|
|
253
|
+
pathType: ImplementationSpecific
|
|
254
|
+
# Used to create an Ingress record.
|
|
255
|
+
hosts:
|
|
256
|
+
- {{ ingress_host }}
|
|
257
|
+
labels: {}
|
|
258
|
+
annotations:
|
|
259
|
+
external-dns.alpha.kubernetes.io/hostname: {{ ingress_host }}
|
|
260
|
+
#cert-manager.io/cluster-issuer: lets-encrypt-issuer
|
|
261
|
+
traefik.ingress.kubernetes.io/router.middlewares: traefik-ingress-redirect-https@kubernetescrd
|
|
262
|
+
tls: {} # Using Fast2.Dev WildCard Certificate namespace traefik-ingress
|
|
263
|
+
# - secretName: airbyte-tls-cert
|
|
264
|
+
# hosts:
|
|
265
|
+
# - {{ ingress_host }}
|
|
266
|
+
{%- raw %}
|
|
267
|
+
resources:
|
|
268
|
+
limits: {}
|
|
269
|
+
requests:
|
|
270
|
+
cpu: 100m
|
|
271
|
+
memory: 300Mi
|
|
272
|
+
{%- endraw %}
|
|
273
|
+
{%- if cloud_provider == "self-managed" and dns_provider == "coredns" %}
|
|
274
|
+
extraVolumes:
|
|
275
|
+
- name: ca-certs
|
|
276
|
+
csi:
|
|
277
|
+
driver: csi.cert-manager.io
|
|
278
|
+
readOnly: true
|
|
279
|
+
volumeAttributes:
|
|
280
|
+
# This enables the trust functionality
|
|
281
|
+
csi.cert-manager.io/issuer-name: {{ customer }}-ca-issuer
|
|
282
|
+
csi.cert-manager.io/issuer-kind: ClusterIssuer
|
|
283
|
+
csi.cert-manager.io/fs-group: "2000" # Set to match oauth2-proxy group ID
|
|
284
|
+
# Important: This enables trust mode specifically
|
|
285
|
+
csi.cert-manager.io/mount-as: trusted-ca
|
|
286
|
+
extraVolumeMounts:
|
|
287
|
+
- name: ca-certs
|
|
288
|
+
mountPath: /etc/ssl/certs
|
|
289
|
+
readOnly: false
|
|
290
|
+
{%- else %}
|
|
291
|
+
extraVolumes: []
|
|
292
|
+
# - name: ca-bundle-cert
|
|
293
|
+
# secret:
|
|
294
|
+
# secretName: <secret-name>
|
|
295
|
+
|
|
296
|
+
extraVolumeMounts: []
|
|
297
|
+
# - mountPath: /etc/ssl/certs/
|
|
298
|
+
# name: ca-bundle-cert
|
|
299
|
+
{%- endif %}
|
|
300
|
+
{%- raw %}
|
|
301
|
+
# Additional containers to be added to the pod.
|
|
302
|
+
extraContainers: []
|
|
303
|
+
# - name: my-sidecar
|
|
304
|
+
# image: nginx:latest
|
|
305
|
+
|
|
306
|
+
# Additional Init containers to be added to the pod.
|
|
307
|
+
extraInitContainers: []
|
|
308
|
+
# - name: wait-for-idp
|
|
309
|
+
# image: my-idp-wait:latest
|
|
310
|
+
# command:
|
|
311
|
+
# - sh
|
|
312
|
+
# - -c
|
|
313
|
+
# - wait-for-idp.sh
|
|
314
|
+
|
|
315
|
+
priorityClassName: ""
|
|
316
|
+
|
|
317
|
+
# hostAliases is a list of aliases to be added to /etc/hosts for network name resolution
|
|
318
|
+
hostAliases: []
|
|
319
|
+
# - ip: "10.xxx.xxx.xxx"
|
|
320
|
+
# hostnames:
|
|
321
|
+
# - "auth.example.com"
|
|
322
|
+
# - ip: 127.0.0.1
|
|
323
|
+
# hostnames:
|
|
324
|
+
# - chart-example.local
|
|
325
|
+
# - example.local
|
|
326
|
+
|
|
327
|
+
# [TopologySpreadConstraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) configuration.
|
|
328
|
+
# Ref: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#scheduling
|
|
329
|
+
# topologySpreadConstraints: []
|
|
330
|
+
|
|
331
|
+
# Affinity for pod assignment
|
|
332
|
+
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
333
|
+
# affinity: {}
|
|
334
|
+
|
|
335
|
+
# Tolerations for pod assignment
|
|
336
|
+
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
337
|
+
tolerations: []
|
|
338
|
+
|
|
339
|
+
# Node labels for pod assignment
|
|
340
|
+
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
341
|
+
nodeSelector: {}
|
|
342
|
+
|
|
343
|
+
# Whether to use secrets instead of environment values for setting up OAUTH2_PROXY variables
|
|
344
|
+
proxyVarsAsSecrets: true
|
|
345
|
+
|
|
346
|
+
# Configure Kubernetes liveness and readiness probes.
|
|
347
|
+
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
|
|
348
|
+
# Disable both when deploying with Istio 1.0 mTLS. https://istio.io/help/faq/security/#k8s-health-checks
|
|
349
|
+
livenessProbe:
|
|
350
|
+
enabled: true
|
|
351
|
+
initialDelaySeconds: 0
|
|
352
|
+
timeoutSeconds: 1
|
|
353
|
+
|
|
354
|
+
readinessProbe:
|
|
355
|
+
enabled: true
|
|
356
|
+
initialDelaySeconds: 0
|
|
357
|
+
timeoutSeconds: 5
|
|
358
|
+
periodSeconds: 10
|
|
359
|
+
successThreshold: 1
|
|
360
|
+
|
|
361
|
+
# Configure Kubernetes security context for container
|
|
362
|
+
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
363
|
+
securityContext:
|
|
364
|
+
enabled: true
|
|
365
|
+
allowPrivilegeEscalation: false
|
|
366
|
+
capabilities:
|
|
367
|
+
drop:
|
|
368
|
+
- ALL
|
|
369
|
+
readOnlyRootFilesystem: true
|
|
370
|
+
runAsNonRoot: true
|
|
371
|
+
runAsUser: 2000
|
|
372
|
+
runAsGroup: 2000
|
|
373
|
+
seccompProfile:
|
|
374
|
+
type: RuntimeDefault
|
|
375
|
+
|
|
376
|
+
deploymentLabels: {}
|
|
377
|
+
deploymentAnnotations: {}
|
|
378
|
+
podAnnotations: {}
|
|
379
|
+
podLabels: {}
|
|
380
|
+
replicaCount: 1
|
|
381
|
+
revisionHistoryLimit: 10
|
|
382
|
+
strategy: {}
|
|
383
|
+
enableServiceLinks: true
|
|
384
|
+
|
|
385
|
+
## PodDisruptionBudget settings
|
|
386
|
+
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
|
|
387
|
+
## One of maxUnavailable and minAvailable must be set to null.
|
|
388
|
+
podDisruptionBudget:
|
|
389
|
+
enabled: true
|
|
390
|
+
maxUnavailable: null
|
|
391
|
+
minAvailable: 1
|
|
392
|
+
# Policy for when unhealthy pods should be considered for eviction.
|
|
393
|
+
# Valid values are "IfHealthyBudget" and "AlwaysAllow".
|
|
394
|
+
# Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy
|
|
395
|
+
unhealthyPodEvictionPolicy: ""
|
|
396
|
+
|
|
397
|
+
## Horizontal Pod Autoscaling
|
|
398
|
+
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
|
|
399
|
+
autoscaling:
|
|
400
|
+
enabled: false
|
|
401
|
+
minReplicas: 1
|
|
402
|
+
maxReplicas: 10
|
|
403
|
+
targetCPUUtilizationPercentage: 80
|
|
404
|
+
# targetMemoryUtilizationPercentage: 80
|
|
405
|
+
annotations: {}
|
|
406
|
+
# Configure HPA behavior policies for scaling if needed
|
|
407
|
+
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#configuring-scaling-behavior
|
|
408
|
+
behavior: {}
|
|
409
|
+
# scaleDown:
|
|
410
|
+
# stabilizationWindowSeconds: 300
|
|
411
|
+
# policies:
|
|
412
|
+
# - type: Percent
|
|
413
|
+
# value: 100
|
|
414
|
+
# periodSeconds: 15
|
|
415
|
+
# selectPolicy: Min
|
|
416
|
+
# scaleUp:
|
|
417
|
+
# stabilizationWindowSeconds: 0
|
|
418
|
+
# policies:
|
|
419
|
+
# - type: Percent
|
|
420
|
+
# value: 100
|
|
421
|
+
# periodSeconds: 15
|
|
422
|
+
# - type: Pods
|
|
423
|
+
# value: 4
|
|
424
|
+
# periodSeconds: 15
|
|
425
|
+
# selectPolicy: Max
|
|
426
|
+
|
|
427
|
+
# Configure Kubernetes security context for pod
|
|
428
|
+
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
|
429
|
+
podSecurityContext: {}
|
|
430
|
+
|
|
431
|
+
# whether to use http or https
|
|
432
|
+
httpScheme: http
|
|
433
|
+
|
|
434
|
+
initContainers:
|
|
435
|
+
# if the redis sub-chart is enabled, wait for it to be ready
|
|
436
|
+
# before starting the proxy
|
|
437
|
+
# creates a role binding to get, list, watch, the redis master pod
|
|
438
|
+
# if service account is enabled
|
|
439
|
+
waitForRedis:
|
|
440
|
+
enabled: true
|
|
441
|
+
image:
|
|
442
|
+
repository: "alpine"
|
|
443
|
+
tag: "latest"
|
|
444
|
+
pullPolicy: "IfNotPresent"
|
|
445
|
+
# uses the kubernetes version of the cluster
|
|
446
|
+
# the chart is deployed on, if not set
|
|
447
|
+
kubectlVersion: ""
|
|
448
|
+
securityContext:
|
|
449
|
+
enabled: true
|
|
450
|
+
allowPrivilegeEscalation: false
|
|
451
|
+
capabilities:
|
|
452
|
+
drop:
|
|
453
|
+
- ALL
|
|
454
|
+
readOnlyRootFilesystem: true
|
|
455
|
+
runAsNonRoot: true
|
|
456
|
+
runAsUser: 65534
|
|
457
|
+
runAsGroup: 65534
|
|
458
|
+
seccompProfile:
|
|
459
|
+
type: RuntimeDefault
|
|
460
|
+
timeout: 180
|
|
461
|
+
resources: {}
|
|
462
|
+
# limits:
|
|
463
|
+
# cpu: 100m
|
|
464
|
+
# memory: 300Mi
|
|
465
|
+
# requests:
|
|
466
|
+
# cpu: 100m
|
|
467
|
+
# memory: 300Mi
|
|
468
|
+
|
|
469
|
+
# Additionally authenticate against a htpasswd file. Entries must be created with "htpasswd -B" for bcrypt encryption.
|
|
470
|
+
# Alternatively supply an existing secret which contains the required information.
|
|
471
|
+
htpasswdFile:
|
|
472
|
+
enabled: false
|
|
473
|
+
existingSecret: ""
|
|
474
|
+
entries: []
|
|
475
|
+
# One row for each user
|
|
476
|
+
# example:
|
|
477
|
+
# entries:
|
|
478
|
+
# - testuser:$2y$05$gY6dgXqjuzFhwdhsiFe7seM9q9Tile4Y3E.CBpAZJffkeiLaC21Gy
|
|
479
|
+
|
|
480
|
+
# Configure the session storage type, between cookie and redis
|
|
481
|
+
sessionStorage:
|
|
482
|
+
# Can be one of the supported session storage cookie|redis
|
|
483
|
+
type: redis
|
|
484
|
+
redis:
|
|
485
|
+
# Name of the Kubernetes secret containing the redis & redis sentinel password values (see also `sessionStorage.redis.passwordKey`)
|
|
486
|
+
existingSecret: "airbyte-auth-service-redis"
|
|
487
|
+
# Redis password value. Applicable for all Redis configurations. Taken from redis subchart secret if not set. `sessionStorage.redis.existingSecret` takes precedence
|
|
488
|
+
password: ""
|
|
489
|
+
# Key of the Kubernetes secret data containing the redis password value. If you use the redis sub chart, make sure
|
|
490
|
+
# this password matches the one used in redis-ha.redisPassword (see below).
|
|
491
|
+
passwordKey: "redis-password"
|
|
492
|
+
# Can be one of standalone|cluster|sentinel
|
|
493
|
+
clientType: "standalone"
|
|
494
|
+
standalone:
|
|
495
|
+
# URL of redis standalone server for redis session storage (e.g. `redis://HOST[:PORT]`). Automatically generated if not set
|
|
496
|
+
connectionUrl: ""
|
|
497
|
+
cluster:
|
|
498
|
+
# List of Redis cluster connection URLs. Array or single string allowed.
|
|
499
|
+
connectionUrls: []
|
|
500
|
+
# - "redis://127.0.0.1:8000"
|
|
501
|
+
# - "redis://127.0.0.1:8001"
|
|
502
|
+
sentinel:
|
|
503
|
+
# Name of the Kubernetes secret containing the redis sentinel password value (see also `sessionStorage.redis.sentinel.passwordKey`). Default: `sessionStorage.redis.existingSecret`
|
|
504
|
+
existingSecret: "airbyte-auth-service-redis"
|
|
505
|
+
# Redis sentinel password. Used only for sentinel connection; any redis node passwords need to use `sessionStorage.redis.password`
|
|
506
|
+
password: ""
|
|
507
|
+
# Key of the Kubernetes secret data containing the redis sentinel password value
|
|
508
|
+
passwordKey: "redis-sentinel-password"
|
|
509
|
+
# Redis sentinel master name
|
|
510
|
+
masterName: ""
|
|
511
|
+
# List of Redis cluster connection URLs. Array or single string allowed.
|
|
512
|
+
connectionUrls: []
|
|
513
|
+
# - "redis://127.0.0.1:8000"
|
|
514
|
+
# - "redis://127.0.0.1:8001"
|
|
515
|
+
|
|
516
|
+
# Enables and configure the automatic deployment of the redis-ha subchart
|
|
517
|
+
redis-ha:
|
|
518
|
+
# provision an instance of the redis-ha sub-chart
|
|
519
|
+
enabled: true
|
|
520
|
+
# Redis specific helm chart settings, please see:
|
|
521
|
+
# https://artifacthub.io/packages/helm/dandydev-charts/redis-ha#general-parameters
|
|
522
|
+
#
|
|
523
|
+
# Recommended:
|
|
524
|
+
#
|
|
525
|
+
# redisPassword: "XXXXXXXX"
|
|
526
|
+
replicas: 1
|
|
527
|
+
auth: true
|
|
528
|
+
existingSecret: "airbyte-auth-service-redis"
|
|
529
|
+
authKey: "redis-password"
|
|
530
|
+
sentinel:
|
|
531
|
+
auth: true
|
|
532
|
+
existingSecret: "airbyte-auth-service-redis"
|
|
533
|
+
authKey: "redis-sentinel-password"
|
|
534
|
+
#
|
|
535
|
+
# IMPORTANT: When using a single replica (replicas: 1), you MUST also configure
|
|
536
|
+
# min-replicas-to-write to 0 to avoid "NOREPLICAS Not enough good replicas to write" errors.
|
|
537
|
+
# See: https://stackoverflow.com/a/59737862
|
|
538
|
+
redis:
|
|
539
|
+
config:
|
|
540
|
+
min-replicas-to-write: 0
|
|
541
|
+
#
|
|
542
|
+
# persistentVolume:
|
|
543
|
+
# enabled: false
|
|
544
|
+
#
|
|
545
|
+
# If you install Redis using this sub chart, make sure that the password of the sub chart matches the password
|
|
546
|
+
# you set in sessionStorage.redis.password (see above).
|
|
547
|
+
#
|
|
548
|
+
# If you want to use redis in sentinel mode see:
|
|
549
|
+
# https://artifacthub.io/packages/helm/dandydev-charts/redis-ha#redis-sentinel-parameters
|
|
550
|
+
|
|
551
|
+
# Enables apiVersion deprecation checks
|
|
552
|
+
checkDeprecation: true
|
|
553
|
+
|
|
554
|
+
# Allows graceful shutdown
|
|
555
|
+
# terminationGracePeriodSeconds: 65
|
|
556
|
+
# lifecycle:
|
|
557
|
+
# preStop:
|
|
558
|
+
# exec:
|
|
559
|
+
# command: [ "sh", "-c", "sleep 60" ]
|
|
560
|
+
|
|
561
|
+
metrics:
|
|
562
|
+
# Enable Prometheus metrics endpoint
|
|
563
|
+
enabled: false
|
|
564
|
+
# Serve Prometheus metrics on this port
|
|
565
|
+
port: 44180
|
|
566
|
+
# when service.type is NodePort ...
|
|
567
|
+
# nodePort: 44180
|
|
568
|
+
# Protocol set on the service for the metrics port
|
|
569
|
+
service:
|
|
570
|
+
appProtocol: http
|
|
571
|
+
serviceMonitor:
|
|
572
|
+
# Enable Prometheus Operator ServiceMonitor
|
|
573
|
+
enabled: false
|
|
574
|
+
# Define the namespace where to deploy the ServiceMonitor resource
|
|
575
|
+
namespace: ""
|
|
576
|
+
# Prometheus Instance definition
|
|
577
|
+
prometheusInstance: default
|
|
578
|
+
# Prometheus scrape interval
|
|
579
|
+
interval: 60s
|
|
580
|
+
# Prometheus scrape timeout
|
|
581
|
+
scrapeTimeout: 30s
|
|
582
|
+
# Add custom labels to the ServiceMonitor resource
|
|
583
|
+
labels: {}
|
|
584
|
+
|
|
585
|
+
## scheme: HTTP scheme to use for scraping. Can be used with `tlsConfig` for example if using istio mTLS.
|
|
586
|
+
scheme: ""
|
|
587
|
+
|
|
588
|
+
## tlsConfig: TLS configuration to use when scraping the endpoint. For example if using istio mTLS.
|
|
589
|
+
## Of type: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
|
|
590
|
+
tlsConfig: {}
|
|
591
|
+
|
|
592
|
+
## bearerTokenFile: Path to bearer token file.
|
|
593
|
+
bearerTokenFile: ""
|
|
594
|
+
|
|
595
|
+
## Used to pass annotations that are used by the Prometheus installed in your cluster to select Service Monitors to work with
|
|
596
|
+
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
|
|
597
|
+
annotations: {}
|
|
598
|
+
|
|
599
|
+
## Metric relabel configs to apply to samples before ingestion.
|
|
600
|
+
## [Metric Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs)
|
|
601
|
+
metricRelabelings: []
|
|
602
|
+
# - action: keep
|
|
603
|
+
# regex: 'kube_(daemonset|deployment|pod|namespace|node|statefulset).+'
|
|
604
|
+
# sourceLabels: [__name__]
|
|
605
|
+
|
|
606
|
+
## Relabel configs to apply to samples before ingestion.
|
|
607
|
+
## [Relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config)
|
|
608
|
+
relabelings: []
|
|
609
|
+
# - sourceLabels: [__meta_kubernetes_pod_node_name]
|
|
610
|
+
# separator: ;
|
|
611
|
+
# regex: ^(.*)$
|
|
612
|
+
# targetLabel: nodename
|
|
613
|
+
# replacement: $1
|
|
614
|
+
# action: replace
|
|
615
|
+
{% endraw %}
|
|
616
|
+
# Extra K8s manifests to deploy
|
|
617
|
+
extraObjects:
|
|
618
|
+
- apiVersion: external-secrets.io/v1
|
|
619
|
+
kind: ExternalSecret
|
|
620
|
+
metadata:
|
|
621
|
+
name: hashicorp-data-replication-buckets-secrets
|
|
622
|
+
namespace: "{{ namespace }}"
|
|
623
|
+
spec:
|
|
624
|
+
refreshInterval: 15s
|
|
625
|
+
secretStoreRef:
|
|
626
|
+
name: vault-backend
|
|
627
|
+
kind: ClusterSecretStore
|
|
628
|
+
target:
|
|
629
|
+
name: airbyte-global-rustfs-secrets
|
|
630
|
+
dataFrom:
|
|
631
|
+
- extract:
|
|
632
|
+
key: "data-replication/buckets-secrets"
|
|
633
|
+
- apiVersion: external-secrets.io/v1
|
|
634
|
+
kind: ExternalSecret
|
|
635
|
+
metadata:
|
|
636
|
+
name: hashicorp-data-replication-database-secrets
|
|
637
|
+
namespace: "{{ namespace }}"
|
|
638
|
+
spec:
|
|
639
|
+
refreshInterval: 15s
|
|
640
|
+
secretStoreRef:
|
|
641
|
+
name: vault-backend
|
|
642
|
+
kind: ClusterSecretStore
|
|
643
|
+
target:
|
|
644
|
+
name: airbyte-postgresql
|
|
645
|
+
dataFrom:
|
|
646
|
+
- extract:
|
|
647
|
+
key: "data-replication/database-secrets"
|
|
648
|
+
- apiVersion: external-secrets.io/v1
|
|
649
|
+
kind: ExternalSecret
|
|
650
|
+
metadata:
|
|
651
|
+
name: hashicorp-data-replication-sso-secrets
|
|
652
|
+
namespace: "{{ namespace }}"
|
|
653
|
+
spec:
|
|
654
|
+
refreshInterval: 15s
|
|
655
|
+
secretStoreRef:
|
|
656
|
+
name: vault-backend
|
|
657
|
+
kind: ClusterSecretStore
|
|
658
|
+
target:
|
|
659
|
+
name: airbyte-auth-service-sso-secrets
|
|
660
|
+
dataFrom:
|
|
661
|
+
- extract:
|
|
662
|
+
key: "data-replication/sso-clients-secrets"
|
|
663
|
+
- apiVersion: external-secrets.io/v1
|
|
664
|
+
kind: ExternalSecret
|
|
665
|
+
metadata:
|
|
666
|
+
name: hashicorp-data-replication-sso-cache-secrets
|
|
667
|
+
namespace: "{{ namespace }}"
|
|
668
|
+
spec:
|
|
669
|
+
refreshInterval: 15s
|
|
670
|
+
secretStoreRef:
|
|
671
|
+
name: vault-backend
|
|
672
|
+
kind: ClusterSecretStore
|
|
673
|
+
target:
|
|
674
|
+
name: airbyte-auth-service-redis
|
|
675
|
+
dataFrom:
|
|
676
|
+
- extract:
|
|
677
|
+
key: "data-replication/sso-cache-secrets"
|
|
678
|
+
# Service Account
|
|
679
|
+
- apiVersion: v1
|
|
680
|
+
kind: ServiceAccount
|
|
681
|
+
metadata:
|
|
682
|
+
name: secret-copy-sa
|
|
683
|
+
namespace: data-replication
|
|
684
|
+
# Role for source namespace (global-postgresql)
|
|
685
|
+
- apiVersion: rbac.authorization.k8s.io/v1
|
|
686
|
+
kind: Role
|
|
687
|
+
metadata:
|
|
688
|
+
name: secret-reader
|
|
689
|
+
namespace: global-postgresql
|
|
690
|
+
rules:
|
|
691
|
+
- apiGroups: [""]
|
|
692
|
+
resources: ["secrets"]
|
|
693
|
+
resourceNames: ["fast2dev-global-psql-ssl"]
|
|
694
|
+
verbs: ["get"]
|
|
695
|
+
# Role for destination namespace (data-replication)
|
|
696
|
+
- apiVersion: rbac.authorization.k8s.io/v1
|
|
697
|
+
kind: Role
|
|
698
|
+
metadata:
|
|
699
|
+
name: secret-creator
|
|
700
|
+
namespace: data-replication
|
|
701
|
+
rules:
|
|
702
|
+
- apiGroups: [""]
|
|
703
|
+
resources: ["secrets"]
|
|
704
|
+
verbs: ["create", "update", "patch", "get"]
|
|
705
|
+
# RoleBinding for source namespace
|
|
706
|
+
- apiVersion: rbac.authorization.k8s.io/v1
|
|
707
|
+
kind: RoleBinding
|
|
708
|
+
metadata:
|
|
709
|
+
name: read-secrets
|
|
710
|
+
namespace: global-postgresql
|
|
711
|
+
subjects:
|
|
712
|
+
- kind: ServiceAccount
|
|
713
|
+
name: secret-copy-sa
|
|
714
|
+
namespace: data-replication
|
|
715
|
+
roleRef:
|
|
716
|
+
kind: Role
|
|
717
|
+
name: secret-reader
|
|
718
|
+
apiGroup: rbac.authorization.k8s.io
|
|
719
|
+
# RoleBinding for destination namespace
|
|
720
|
+
- apiVersion: rbac.authorization.k8s.io/v1
|
|
721
|
+
kind: RoleBinding
|
|
722
|
+
metadata:
|
|
723
|
+
name: create-secrets
|
|
724
|
+
namespace: data-replication
|
|
725
|
+
subjects:
|
|
726
|
+
- kind: ServiceAccount
|
|
727
|
+
name: secret-copy-sa
|
|
728
|
+
namespace: data-replication
|
|
729
|
+
roleRef:
|
|
730
|
+
kind: Role
|
|
731
|
+
name: secret-creator
|
|
732
|
+
apiGroup: rbac.authorization.k8s.io
|
|
733
|
+
# Job to copy the secret
|
|
734
|
+
- apiVersion: batch/v1
|
|
735
|
+
kind: Job
|
|
736
|
+
metadata:
|
|
737
|
+
name: copy-postgresql-secret
|
|
738
|
+
namespace: data-replication
|
|
739
|
+
spec:
|
|
740
|
+
ttlSecondsAfterFinished: 86400 # Auto-delete the job after 1 day
|
|
741
|
+
template:
|
|
742
|
+
spec:
|
|
743
|
+
serviceAccountName: secret-copy-sa
|
|
744
|
+
containers:
|
|
745
|
+
- name: kubectl
|
|
746
|
+
image: docker.io/m7xlab/fast2dev-k8s-toolbox:v1.0.0
|
|
747
|
+
command:
|
|
748
|
+
- /bin/bash
|
|
749
|
+
- -c
|
|
750
|
+
- |
|
|
751
|
+
# Log start of execution
|
|
752
|
+
echo "Starting secret copy job..."
|
|
753
|
+
|
|
754
|
+
# Get the secret data directly using jsonpath
|
|
755
|
+
echo "Fetching secret data from global-postgresql/fast2dev-global-psql-ssl..."
|
|
756
|
+
|
|
757
|
+
# Get each field separately to preserve exactly what's in the original
|
|
758
|
+
TLS_CRT=$(kubectl get secret fast2dev-global-psql-ssl -n global-postgresql -o jsonpath='{.data.tls\.crt}' | base64 --decode)
|
|
759
|
+
TLS_KEY=$(kubectl get secret fast2dev-global-psql-ssl -n global-postgresql -o jsonpath='{.data.tls\.key}' | base64 --decode)
|
|
760
|
+
|
|
761
|
+
# Get the secret type
|
|
762
|
+
SECRET_TYPE=$(kubectl get secret fast2dev-global-psql-ssl -n global-postgresql -o jsonpath='{.type}')
|
|
763
|
+
|
|
764
|
+
if [ -z "$TLS_CRT" ] || [ -z "$TLS_KEY" ]; then
|
|
765
|
+
echo "ERROR: Could not retrieve TLS certificate data!"
|
|
766
|
+
exit 1
|
|
767
|
+
fi
|
|
768
|
+
|
|
769
|
+
# Create the new secret directly with the same data
|
|
770
|
+
echo "Creating/updating secret data-replication-db-psql-crt..."
|
|
771
|
+
kubectl create secret generic data-replication-db-psql-crt \
|
|
772
|
+
-n data-replication \
|
|
773
|
+
--from-literal=tls.crt="$TLS_CRT" \
|
|
774
|
+
--from-literal=tls.key="$TLS_KEY" \
|
|
775
|
+
--type="$SECRET_TYPE" \
|
|
776
|
+
--dry-run=client -o yaml | kubectl apply -f -
|
|
777
|
+
|
|
778
|
+
# Verify the secret was created
|
|
779
|
+
echo "Verifying the secret was created..."
|
|
780
|
+
kubectl get secret data-replication-db-psql-crt -n data-replication
|
|
781
|
+
|
|
782
|
+
if [ $? -eq 0 ]; then
|
|
783
|
+
echo "✓ Secret successfully copied to data-replication/data-replication-db-psql-crt!"
|
|
784
|
+
exit 0
|
|
785
|
+
else
|
|
786
|
+
echo "✗ ERROR: Failed to verify secret creation!"
|
|
787
|
+
exit 1
|
|
788
|
+
fi
|
|
789
|
+
restartPolicy: OnFailure
|
|
790
|
+
# Add a reasonable timeout to avoid hung jobs
|
|
791
|
+
activeDeadlineSeconds: 600 # 10 minutes
|
|
792
|
+
- apiVersion: batch/v1
|
|
793
|
+
kind: Job
|
|
794
|
+
metadata:
|
|
795
|
+
name: airbyte-db-schema-restore-job
|
|
796
|
+
spec:
|
|
797
|
+
template:
|
|
798
|
+
spec:
|
|
799
|
+
serviceAccountName: airbyte-admin
|
|
800
|
+
containers:
|
|
801
|
+
- name: airbyte-default-destination
|
|
802
|
+
image: docker.io/m7xlab/fast2dev-replication-destinations:v1.0.0
|
|
803
|
+
imagePullPolicy: IfNotPresent
|
|
804
|
+
env:
|
|
805
|
+
- name: DATA_SYNC_BASE_API_URL
|
|
806
|
+
value: "{{ data_replication_service_base_api_url }}"
|
|
807
|
+
- name: CUSTOMER
|
|
808
|
+
value: "{{ customer }}"
|
|
809
|
+
- name: DESTINATION_TYPE
|
|
810
|
+
value: "{{ data_replication_default_destination_type }}"
|
|
811
|
+
- name: CLOUD_PROVIDER
|
|
812
|
+
value: "{{ cloud_provider }}"
|
|
813
|
+
{% if cloud_provider == "gcp" %}
|
|
814
|
+
- name: GCP_PROJECT_REGION
|
|
815
|
+
value: "{{ gcp_project_region }}"
|
|
816
|
+
- name: GCP_PROJECT_ID
|
|
817
|
+
value: "{{ gcp_project_id }}"
|
|
818
|
+
- name: GCP_DATA_REPLICATION_SA_NAME
|
|
819
|
+
value: "{{ data_replication_k8s_sa }}"
|
|
820
|
+
{% endif %}
|
|
821
|
+
initContainers:
|
|
822
|
+
- name: wait-for-airbyte
|
|
823
|
+
image: curlimages/curl:latest
|
|
824
|
+
command:
|
|
825
|
+
- /bin/sh
|
|
826
|
+
- -c
|
|
827
|
+
- |
|
|
828
|
+
echo "Waiting for Airbyte server to be available..."
|
|
829
|
+
start_time=$(date +%s)
|
|
830
|
+
timeout=900 # 15 minutes in seconds
|
|
831
|
+
|
|
832
|
+
while true; do
|
|
833
|
+
current_time=$(date +%s)
|
|
834
|
+
elapsed=$((current_time - start_time))
|
|
835
|
+
|
|
836
|
+
if [ $elapsed -ge $timeout ]; then
|
|
837
|
+
echo "ERROR: Timed out waiting for Airbyte server after 15 minutes"
|
|
838
|
+
exit 1
|
|
839
|
+
fi
|
|
840
|
+
|
|
841
|
+
echo "Checking Airbyte health endpoint (elapsed time: ${elapsed}s)..."
|
|
842
|
+
if curl -s http://data-replication-airbyte-server-svc.data-replication.svc.cluster.local:8001/api/v1/health | grep -q '"available":true'; then
|
|
843
|
+
echo "Airbyte server is available! Proceeding with job..."
|
|
844
|
+
exit 0
|
|
845
|
+
fi
|
|
846
|
+
|
|
847
|
+
remaining=$((timeout - elapsed))
|
|
848
|
+
echo "Airbyte server not available yet. Will retry in 10s. Timeout in ${remaining}s"
|
|
849
|
+
sleep 10
|
|
850
|
+
done
|
|
851
|
+
- name: db-operations
|
|
852
|
+
image: docker.io/m7xlab/fast2dev-replication-monitoring:v1.0.0
|
|
853
|
+
imagePullPolicy: IfNotPresent
|
|
854
|
+
command: ["/bin/bash", "-c"]
|
|
855
|
+
args:
|
|
856
|
+
- |
|
|
857
|
+
set -e;
|
|
858
|
+
export PGPASSWORD=${PGROOTPASSWORD}
|
|
859
|
+
|
|
860
|
+
# Grant privileges to the regular user
|
|
861
|
+
psql -h ${PGHOST} -U ${PGROOTUSER} -d ${PGDATABASE} -c "GRANT EXECUTE ON FUNCTION pg_ls_waldir() TO ${PGUSER};"
|
|
862
|
+
|
|
863
|
+
# Check if replication user exists before granting privileges
|
|
864
|
+
repl_user_exists=$(psql -h ${PGHOST} -U ${PGROOTUSER} -d ${PGDATABASE} -t -A -c "SELECT 1 FROM pg_roles WHERE rolname = '${PGREPLUSER}';" | tr -d '[:space:]')
|
|
865
|
+
if [[ "$repl_user_exists" == "1" ]]; then
|
|
866
|
+
echo "Replication user exists. Granting privileges..."
|
|
867
|
+
psql -h ${PGHOST} -U ${PGROOTUSER} -d ${PGDATABASE} -c "GRANT EXECUTE ON FUNCTION pg_ls_waldir() TO ${PGREPLUSER};"
|
|
868
|
+
else
|
|
869
|
+
echo "Replication user does not exist. Skipping grant."
|
|
870
|
+
fi
|
|
871
|
+
|
|
872
|
+
# Check if the schema exists
|
|
873
|
+
schema_exists=$(psql -h ${PGHOST} -U ${PGROOTUSER} -d ${PGDATABASE} -t -A -c "SELECT 1 FROM information_schema.schemata WHERE schema_name = 'public_staging';" | tr -d '[:space:]')
|
|
874
|
+
# Set User password
|
|
875
|
+
export PGPASSWORD=${PGUSERPASSWORD}
|
|
876
|
+
if [[ "$schema_exists" != "1" ]]; then
|
|
877
|
+
echo "Schema does not exist. Starting restoration process..."
|
|
878
|
+
psql -h ${PGHOST} -U ${PGUSER} -d ${PGDATABASE} -v ON_ERROR_STOP=0 -f /fast2dev/monitoring_schema/public_staging.sql
|
|
879
|
+
psql -h ${PGHOST} -U ${PGUSER} -d ${PGDATABASE} -v ON_ERROR_STOP=0 -f /fast2dev/monitoring_schema/public_core.sql
|
|
880
|
+
psql -h ${PGHOST} -U ${PGUSER} -d ${PGDATABASE} -v ON_ERROR_STOP=0 -f /fast2dev/monitoring_schema/public_mart.sql
|
|
881
|
+
else
|
|
882
|
+
echo "Schema already exists. No restoration needed."
|
|
883
|
+
fi
|
|
884
|
+
|
|
885
|
+
# Check if email is not null in the public.workspace table
|
|
886
|
+
email_exists=$(psql -h ${PGHOST} -U ${PGUSER} -d ${PGDATABASE} -t -A -c "SELECT 1 FROM public.workspace WHERE email IS NOT NULL;" | tr -d '[:space:]')
|
|
887
|
+
if [[ "$email_exists" != "1" ]]; then
|
|
888
|
+
echo "Email is null. Updating records..."
|
|
889
|
+
psql -h ${PGHOST} -U ${PGUSER} -d ${PGDATABASE} -c "
|
|
890
|
+
BEGIN;
|
|
891
|
+
UPDATE public.workspace
|
|
892
|
+
SET email='{{ data_services_admin_email }}',
|
|
893
|
+
initial_setup_complete=true,
|
|
894
|
+
anonymous_data_collection=false,
|
|
895
|
+
send_newsletter=false,
|
|
896
|
+
send_security_updates=true,
|
|
897
|
+
display_setup_wizard=false;
|
|
898
|
+
|
|
899
|
+
UPDATE public.\"user\"
|
|
900
|
+
SET default_workspace_id=(SELECT id FROM public.workspace),
|
|
901
|
+
company_name='{{ customer }}',
|
|
902
|
+
email='{{ data_services_admin_email }}',
|
|
903
|
+
news=false;
|
|
904
|
+
COMMIT;"
|
|
905
|
+
else
|
|
906
|
+
echo "Email is already set. No update needed."
|
|
907
|
+
fi
|
|
908
|
+
env:
|
|
909
|
+
- name: PGHOST
|
|
910
|
+
value: "fast2dev-global-psql.global-postgresql.svc.cluster.local"
|
|
911
|
+
- name: PGROOTUSER
|
|
912
|
+
value: "postgres"
|
|
913
|
+
- name: PGROOTPASSWORD
|
|
914
|
+
valueFrom:
|
|
915
|
+
secretKeyRef:
|
|
916
|
+
name: airbyte-postgresql
|
|
917
|
+
key: postgresPassword
|
|
918
|
+
- name: PGUSER
|
|
919
|
+
valueFrom:
|
|
920
|
+
secretKeyRef:
|
|
921
|
+
name: airbyte-postgresql
|
|
922
|
+
key: username
|
|
923
|
+
- name: PGREPLUSER
|
|
924
|
+
valueFrom:
|
|
925
|
+
secretKeyRef:
|
|
926
|
+
name: airbyte-postgresql
|
|
927
|
+
key: replicationUsername
|
|
928
|
+
- name: PGUSERPASSWORD
|
|
929
|
+
valueFrom:
|
|
930
|
+
secretKeyRef:
|
|
931
|
+
name: airbyte-postgresql
|
|
932
|
+
key: password
|
|
933
|
+
- name: PGDATABASE
|
|
934
|
+
valueFrom:
|
|
935
|
+
secretKeyRef:
|
|
936
|
+
name: airbyte-postgresql
|
|
937
|
+
key: database
|
|
938
|
+
restartPolicy: OnFailure
|
|
939
|
+
backoffLimit: 4
|
|
940
|
+
ttlSecondsAfterFinished: 120
|
|
941
|
+
- apiVersion: batch/v1
|
|
942
|
+
kind: CronJob
|
|
943
|
+
metadata:
|
|
944
|
+
name: airbyte-refresh-materialized-views
|
|
945
|
+
spec:
|
|
946
|
+
schedule: "*/5 * * * *"
|
|
947
|
+
concurrencyPolicy: Forbid
|
|
948
|
+
jobTemplate:
|
|
949
|
+
spec:
|
|
950
|
+
template:
|
|
951
|
+
spec:
|
|
952
|
+
initContainers:
|
|
953
|
+
- name: wait-for-airbyte
|
|
954
|
+
image: curlimages/curl:latest
|
|
955
|
+
command:
|
|
956
|
+
- /bin/sh
|
|
957
|
+
- -c
|
|
958
|
+
- |
|
|
959
|
+
echo "Waiting for Airbyte server to be available..."
|
|
960
|
+
start_time=$(date +%s)
|
|
961
|
+
timeout=900 # 15 minutes in seconds
|
|
962
|
+
|
|
963
|
+
while true; do
|
|
964
|
+
current_time=$(date +%s)
|
|
965
|
+
elapsed=$((current_time - start_time))
|
|
966
|
+
|
|
967
|
+
if [ $elapsed -ge $timeout ]; then
|
|
968
|
+
echo "ERROR: Timed out waiting for Airbyte server after 15 minutes"
|
|
969
|
+
exit 1
|
|
970
|
+
fi
|
|
971
|
+
|
|
972
|
+
echo "Checking Airbyte health endpoint (elapsed time: ${elapsed}s)..."
|
|
973
|
+
if curl -s http://data-replication-airbyte-server-svc.data-replication.svc.cluster.local:8001/api/v1/health | grep -q '"available":true'; then
|
|
974
|
+
echo "Airbyte server is available! Proceeding with job..."
|
|
975
|
+
exit 0
|
|
976
|
+
fi
|
|
977
|
+
|
|
978
|
+
remaining=$((timeout - elapsed))
|
|
979
|
+
echo "Airbyte server not available yet. Will retry in 10s. Timeout in ${remaining}s"
|
|
980
|
+
sleep 10
|
|
981
|
+
done
|
|
982
|
+
containers:
|
|
983
|
+
- name: refresh-materialized-views
|
|
984
|
+
image: docker.io/m7xlab/fast2dev-replication-monitoring:v1.0.0
|
|
985
|
+
imagePullPolicy: IfNotPresent
|
|
986
|
+
command: ["/fast2dev/monitoring_schema/run_refresh.sh"]
|
|
987
|
+
env:
|
|
988
|
+
- name: DB_HOST
|
|
989
|
+
value: "fast2dev-global-psql.global-postgresql.svc.cluster.local"
|
|
990
|
+
- name: DB_PORT
|
|
991
|
+
value: "5432"
|
|
992
|
+
- name: PGUSER
|
|
993
|
+
valueFrom:
|
|
994
|
+
secretKeyRef:
|
|
995
|
+
name: airbyte-postgresql
|
|
996
|
+
key: username
|
|
997
|
+
- name: PGPASSWORD
|
|
998
|
+
valueFrom:
|
|
999
|
+
secretKeyRef:
|
|
1000
|
+
name: airbyte-postgresql
|
|
1001
|
+
key: password
|
|
1002
|
+
- name: PGDATABASE
|
|
1003
|
+
valueFrom:
|
|
1004
|
+
secretKeyRef:
|
|
1005
|
+
name: airbyte-postgresql
|
|
1006
|
+
key: database
|
|
1007
|
+
restartPolicy: OnFailure
|
|
1008
|
+
ttlSecondsAfterFinished: 60
|
|
1009
|
+
successfulJobsHistoryLimit: 0
|
|
1010
|
+
failedJobsHistoryLimit: 1
|
|
1011
|
+
- apiVersion: v1
|
|
1012
|
+
kind: ConfigMap
|
|
1013
|
+
metadata:
|
|
1014
|
+
name: airbyte-cleanup-config
|
|
1015
|
+
labels:
|
|
1016
|
+
app.kubernetes.io/name: airbyte-cleanup
|
|
1017
|
+
app.kubernetes.io/component: cleanup
|
|
1018
|
+
data:
|
|
1019
|
+
RETENTION_DAYS: "{{ cleanup_retention_days | default(31) }}"
|
|
1020
|
+
BATCH_SIZE: "100"
|
|
1021
|
+
BATCH_SLEEP_SECONDS: "2"
|
|
1022
|
+
DRY_RUN: "false"
|
|
1023
|
+
LOG_LEVEL: "INFO"
|
|
1024
|
+
- apiVersion: batch/v1
|
|
1025
|
+
kind: CronJob
|
|
1026
|
+
metadata:
|
|
1027
|
+
name: airbyte-cleanup
|
|
1028
|
+
labels:
|
|
1029
|
+
app.kubernetes.io/name: airbyte-cleanup
|
|
1030
|
+
app.kubernetes.io/component: cleanup
|
|
1031
|
+
spec:
|
|
1032
|
+
schedule: "0 2 * * 0"
|
|
1033
|
+
timeZone: "UTC"
|
|
1034
|
+
concurrencyPolicy: Forbid
|
|
1035
|
+
successfulJobsHistoryLimit: 3
|
|
1036
|
+
failedJobsHistoryLimit: 3
|
|
1037
|
+
jobTemplate:
|
|
1038
|
+
spec:
|
|
1039
|
+
activeDeadlineSeconds: 14400
|
|
1040
|
+
backoffLimit: 0
|
|
1041
|
+
template:
|
|
1042
|
+
metadata:
|
|
1043
|
+
labels:
|
|
1044
|
+
app.kubernetes.io/name: airbyte-cleanup
|
|
1045
|
+
spec:
|
|
1046
|
+
restartPolicy: Never
|
|
1047
|
+
containers:
|
|
1048
|
+
- name: airbyte-cleanup
|
|
1049
|
+
image: docker.io/m7xlab/fast2dev-airbyte-cleanup:{{ cleanup_image_tag | default("v1.0.0") }}
|
|
1050
|
+
imagePullPolicy: IfNotPresent
|
|
1051
|
+
resources:
|
|
1052
|
+
requests:
|
|
1053
|
+
cpu: 100m
|
|
1054
|
+
memory: 128Mi
|
|
1055
|
+
limits:
|
|
1056
|
+
cpu: 500m
|
|
1057
|
+
memory: 256Mi
|
|
1058
|
+
envFrom:
|
|
1059
|
+
- configMapRef:
|
|
1060
|
+
name: airbyte-cleanup-config
|
|
1061
|
+
env:
|
|
1062
|
+
- name: DATABASE_HOST
|
|
1063
|
+
valueFrom:
|
|
1064
|
+
configMapKeyRef:
|
|
1065
|
+
name: data-replication-airbyte-env
|
|
1066
|
+
key: DATABASE_HOST
|
|
1067
|
+
- name: DATABASE_PORT
|
|
1068
|
+
valueFrom:
|
|
1069
|
+
configMapKeyRef:
|
|
1070
|
+
name: data-replication-airbyte-env
|
|
1071
|
+
key: DATABASE_PORT
|
|
1072
|
+
- name: DATABASE_DB
|
|
1073
|
+
valueFrom:
|
|
1074
|
+
configMapKeyRef:
|
|
1075
|
+
name: data-replication-airbyte-env
|
|
1076
|
+
key: DATABASE_DB
|
|
1077
|
+
- name: DATABASE_USER
|
|
1078
|
+
valueFrom:
|
|
1079
|
+
secretKeyRef:
|
|
1080
|
+
name: airbyte-postgresql
|
|
1081
|
+
key: username
|
|
1082
|
+
- name: DATABASE_PASSWORD
|
|
1083
|
+
valueFrom:
|
|
1084
|
+
secretKeyRef:
|
|
1085
|
+
name: airbyte-postgresql
|
|
1086
|
+
key: password
|
|
1087
|
+
- name: MINIO_ENDPOINT
|
|
1088
|
+
valueFrom:
|
|
1089
|
+
configMapKeyRef:
|
|
1090
|
+
name: data-replication-airbyte-env
|
|
1091
|
+
key: MINIO_ENDPOINT
|
|
1092
|
+
- name: STORAGE_BUCKET_LOG
|
|
1093
|
+
valueFrom:
|
|
1094
|
+
configMapKeyRef:
|
|
1095
|
+
name: data-replication-airbyte-env
|
|
1096
|
+
key: STORAGE_BUCKET_LOG
|
|
1097
|
+
- name: MINIO_ACCESS_KEY
|
|
1098
|
+
valueFrom:
|
|
1099
|
+
secretKeyRef:
|
|
1100
|
+
name: airbyte-global-rustfs-secrets
|
|
1101
|
+
key: accessKey
|
|
1102
|
+
- name: MINIO_SECRET_KEY
|
|
1103
|
+
valueFrom:
|
|
1104
|
+
secretKeyRef:
|
|
1105
|
+
name: airbyte-global-rustfs-secrets
|
|
1106
|
+
key: secretKey
|
|
1107
|
+
{%- if otel_enabled == "true" %}
|
|
1108
|
+
- apiVersion: v1
|
|
1109
|
+
kind: ConfigMap
|
|
1110
|
+
metadata:
|
|
1111
|
+
name: data-replication-otel-collector-conf
|
|
1112
|
+
labels:
|
|
1113
|
+
app: otel-collector
|
|
1114
|
+
data:
|
|
1115
|
+
otel-collector-config: |
|
|
1116
|
+
receivers:
|
|
1117
|
+
otlp:
|
|
1118
|
+
protocols:
|
|
1119
|
+
grpc:
|
|
1120
|
+
endpoint: "0.0.0.0:4317"
|
|
1121
|
+
http:
|
|
1122
|
+
endpoint: "0.0.0.0:4318"
|
|
1123
|
+
processors:
|
|
1124
|
+
batch:
|
|
1125
|
+
memory_limiter:
|
|
1126
|
+
limit_mib: 1500
|
|
1127
|
+
spike_limit_mib: 512
|
|
1128
|
+
check_interval: 60s
|
|
1129
|
+
exporters:
|
|
1130
|
+
prometheus:
|
|
1131
|
+
endpoint: "0.0.0.0:8889"
|
|
1132
|
+
namespace: "data-replication"
|
|
1133
|
+
service:
|
|
1134
|
+
pipelines:
|
|
1135
|
+
metrics:
|
|
1136
|
+
receivers: [otlp]
|
|
1137
|
+
processors: [memory_limiter, batch]
|
|
1138
|
+
exporters: [prometheus]
|
|
1139
|
+
- apiVersion: apps/v1
|
|
1140
|
+
kind: Deployment
|
|
1141
|
+
metadata:
|
|
1142
|
+
name: data-replication-airbyte-otel-collector
|
|
1143
|
+
labels:
|
|
1144
|
+
app: otel-collector
|
|
1145
|
+
spec:
|
|
1146
|
+
selector:
|
|
1147
|
+
matchLabels:
|
|
1148
|
+
app: otel-collector
|
|
1149
|
+
replicas: 1
|
|
1150
|
+
template:
|
|
1151
|
+
metadata:
|
|
1152
|
+
labels:
|
|
1153
|
+
app: otel-collector
|
|
1154
|
+
spec:
|
|
1155
|
+
containers:
|
|
1156
|
+
- command:
|
|
1157
|
+
- "/otelcol"
|
|
1158
|
+
- "--config=/conf/otel-collector-config.yaml"
|
|
1159
|
+
image: "otel/opentelemetry-collector:latest"
|
|
1160
|
+
name: otel-collector
|
|
1161
|
+
ports:
|
|
1162
|
+
- containerPort: 4317
|
|
1163
|
+
- containerPort: 4318
|
|
1164
|
+
- containerPort: 8889
|
|
1165
|
+
volumeMounts:
|
|
1166
|
+
- name: config
|
|
1167
|
+
mountPath: /conf
|
|
1168
|
+
volumes:
|
|
1169
|
+
- configMap:
|
|
1170
|
+
name: data-replication-otel-collector-conf
|
|
1171
|
+
items:
|
|
1172
|
+
- key: otel-collector-config
|
|
1173
|
+
path: otel-collector-config.yaml
|
|
1174
|
+
name: config
|
|
1175
|
+
- apiVersion: v1
|
|
1176
|
+
kind: Service
|
|
1177
|
+
metadata:
|
|
1178
|
+
name: data-replication-otel-collector
|
|
1179
|
+
labels:
|
|
1180
|
+
app: otel-collector
|
|
1181
|
+
spec:
|
|
1182
|
+
ports:
|
|
1183
|
+
- name: otlp-grpc
|
|
1184
|
+
port: 4317
|
|
1185
|
+
protocol: TCP
|
|
1186
|
+
targetPort: 4317
|
|
1187
|
+
- name: otlp-http
|
|
1188
|
+
port: 4318
|
|
1189
|
+
protocol: TCP
|
|
1190
|
+
targetPort: 4318
|
|
1191
|
+
- name: prometheus
|
|
1192
|
+
port: 8889
|
|
1193
|
+
selector:
|
|
1194
|
+
app: otel-collector
|
|
1195
|
+
commonAnnotations:
|
|
1196
|
+
helm.sh/hook: pre-install,pre-upgrade
|
|
1197
|
+
helm.sh/hook-weight: "-1"
|
|
1198
|
+
metrics:
|
|
1199
|
+
enabled: true
|
|
1200
|
+
{% endif %}
|