Adds apps/<app>/ugok overlays for 31 applications, derived strictly from a live cluster dump (kubectl get deployment/service/configmap/secret), following the wb overlay pattern (standalone HelmRelease patches on universal-chart, plain k8s Secret + secretKeyRef instead of Vault Agent since the ugok cluster has zero Vault usage cluster-wide). - processing (workflow namespace) does not extend base: base is vault-native, ugok is not, so it's four standalone HelmReleases modeled on apps/processing/wb/*. - issues/redis and django/redis are raw Deployments patched via JSON6902. - documentations/pdf-markings and django/auth-flow-frontend, export-project are copied in as standalone files (base has no HelmRelease for them, and kustomize forbids cross-overlay references outside a directory's own tree). - Images and images-with-registry updated to match wb where the same build lineage applies; left as-is where the wb tag carries a distinct client/cluster name (donstroi1, brusnika_*, dev4, UGOK_*, ugok1_*) or points at a different image repository entirely. - Missing backend envs backfilled from wb where safe (internal svc.cluster.local refs, feature flags, already-established ugok domains); skipped where wb-specific (external DB/Kafka hosts, TLS CA content, features not deployed in ugok like gatekeeper/Superset). - message-hub patch was missing its entire env block from the original bootstrap; rebuilt from the raw dump (not wb, whose Kafka/DB config is incompatible) plus a handful of small env gaps found while cross-checking every ugok app's rendered envs against the raw dump. clusters/ugok/kustomization.yaml keeps the apps section commented out — not wired into the Flux Kustomization yet, pending review. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
118 lines
3.9 KiB
YAML
118 lines
3.9 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: backend
|
|
namespace: comparisons
|
|
spec:
|
|
values:
|
|
services:
|
|
backend:
|
|
image:
|
|
name:
|
|
_default: cr.yandex/crp3ccidau046kdj8g9q/comparisons-backend:c864f102a3a476b9a80658148da2b3f7acb772ac
|
|
envs:
|
|
- name: HTTP_PORT
|
|
value:
|
|
_default: "8080"
|
|
- name: LAST_MASTER_BIM
|
|
value:
|
|
_default: "100_000"
|
|
- name: APP_NAME
|
|
value:
|
|
_default: comparisons-api-v2
|
|
- name: APP_VERSION
|
|
value:
|
|
_default: 0.0.1
|
|
- name: LOGGER_LOG_LEVEL
|
|
value:
|
|
_default: info
|
|
- name: DATABASE_HOST
|
|
value:
|
|
_default: postgres-service
|
|
- name: DATABASE_PORT
|
|
value:
|
|
_default: "5432"
|
|
- name: DATABASE_NAME
|
|
value:
|
|
_default: postgres
|
|
- name: DATABASE_DB
|
|
value:
|
|
_default: comparisons_db
|
|
- name: API_ADDRESS
|
|
value:
|
|
_default: 0.0.0.0:8080
|
|
- name: API_ADDRESS_FILE
|
|
value:
|
|
_default: 0.0.0.0:8080
|
|
- name: ENABLE_SQL_QUERY
|
|
value:
|
|
_default: "0"
|
|
- name: DOCUMENTATIONS_INTERNAL_HOST
|
|
value:
|
|
_default: http://documentations-service.documentations.svc.cluster.local:8080
|
|
- name: DOCUMENTATIONS_EXTERNAL_HOST
|
|
value:
|
|
_default: http://documentations-service.documentations.svc.cluster.local:8080/
|
|
- name: DOCUMENTATION_URL
|
|
value:
|
|
_default: http://documentations-service.documentations.svc.cluster.local:8080/
|
|
- name: DOCUMENTATION_FILESTREAM_URL
|
|
value:
|
|
_default: http://documentations-filestream-service.documentations.svc.cluster.local:8080/
|
|
- name: WORKFLOWS_HOST
|
|
value:
|
|
_default: http://workflows-service.workflow.svc.cluster.local:8000/
|
|
- name: EAV_HOST
|
|
value:
|
|
_default: http://eav-service.eav.svc.cluster.local:8000
|
|
- name: WORKSPACES_HOST
|
|
value:
|
|
_default: http://workspaces-service.workspaces.svc.cluster.local:8000/
|
|
- name: COMPARISON_URL
|
|
value:
|
|
_default: http://backend-service.comparisons.svc.cluster.local:8080/
|
|
- name: WORKFLOWS_IMAGE_VERSION
|
|
value:
|
|
_default: master
|
|
- name: EXTERNAL_DOCUMENTATION_URL
|
|
value:
|
|
_default: http://documentations-service.documentations.svc.cluster.local:8080/
|
|
- name: WORKFLOWS_BIMV2_INTERNAL_HOST
|
|
value:
|
|
_default: http://backend-service.bim.svc.cluster.local:8000/
|
|
- name: ENABLE_SSL
|
|
value:
|
|
_default: "0"
|
|
- name: WORKFLOWS_DJANGO_HOST
|
|
value:
|
|
_default: http://backend.django.svc.cluster.local:8000
|
|
- name: POSTGRES_POOL_SIZE
|
|
value:
|
|
_default: "10"
|
|
- name: LAST_SLAVE_1_BIM
|
|
value:
|
|
_default: "94015"
|
|
- name: LAST_SLAVE_2_BIM
|
|
value:
|
|
_default: "135771"
|
|
- name: ABAP_FIXED_CONC
|
|
value:
|
|
_default: "0"
|
|
- name: WORKFLOWS_CONFIG_FILEPATH
|
|
value:
|
|
_default: /etc/app/tasks-execution-config.json
|
|
secretEnvs:
|
|
- name: DATABASE_USER
|
|
secretName:
|
|
_default: comparisons-postgresql-secret
|
|
secretKey: username
|
|
- name: DATABASE_PASSWORD
|
|
secretName:
|
|
_default: comparisons-postgresql-secret
|
|
secretKey: password
|
|
- name: AUTH_PUBLIC_KEY
|
|
secretName:
|
|
_default: public-key
|
|
secretKey: key
|