368 lines
12 KiB
YAML
368 lines
12 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: cde-api-worker-copy
|
|
namespace: documentations
|
|
spec:
|
|
interval: 10m
|
|
chart:
|
|
spec:
|
|
chart: universal-chart
|
|
version: "0.1.7"
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: yc-oci-charts
|
|
namespace: flux-system
|
|
interval: 10m
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
remediation:
|
|
retries: 3
|
|
values:
|
|
global:
|
|
env: _default
|
|
services:
|
|
worker-copy:
|
|
enabled: true
|
|
deployment:
|
|
enabled: true
|
|
name:
|
|
_default: worker-copy
|
|
replicaCount:
|
|
_default: 1
|
|
revisionHistoryLimit:
|
|
_default: 5
|
|
resources:
|
|
requests:
|
|
cpu:
|
|
_default: 100m
|
|
memory:
|
|
_default: 64Mi
|
|
image:
|
|
name:
|
|
_default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-copy:prod_c9bc246
|
|
pullPolicy:
|
|
_default: IfNotPresent
|
|
service:
|
|
enabled: false
|
|
imagePullSecrets:
|
|
enabled:
|
|
_default: true
|
|
name:
|
|
_default: dockerhub
|
|
envs:
|
|
- name: CDE_API_EAV_HOST
|
|
value:
|
|
_default: "http://eav-service.eav.svc.cluster.local:8000"
|
|
- name: CDE_API_APP_NAME
|
|
value:
|
|
_default: "worker-copy"
|
|
- name: CDE_API_LOG_LEVEL
|
|
value:
|
|
_default: "info"
|
|
- name: CDE_API_OBSERVABILITY_ENABLE
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_S3_MAX_SINGLE_UPLOAD_SIZE
|
|
value:
|
|
_default: "5368709120"
|
|
- name: CDE_API_S3_MAX_PART_SIZE
|
|
value:
|
|
_default: "524288000"
|
|
- name: CDE_API_S3_UPLOAD_STALL_TIMEOUT
|
|
value:
|
|
_default: "10m"
|
|
- name: CDE_API_SYSTEMLOG_BASE_URL
|
|
value:
|
|
_default: "http://api-service.system-log.svc.cluster.local:8000"
|
|
- name: CDE_API_SYSTEMLOG_TIMEOUT_MS
|
|
value:
|
|
_default: "10000"
|
|
- name: CDE_API_DATABASE__SSLMODE
|
|
value:
|
|
_default: "disable"
|
|
- name: CDE_API_DATABASE__INSECURE_SKIP_TLS
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_DATABASE_MAX_CONN_LIFETIME
|
|
value:
|
|
_default: "30m"
|
|
- name: CDE_API_DATABASE_MAX_CONN_IDLE_TIME
|
|
value:
|
|
_default: "10m"
|
|
- name: CDE_API_DATABASE_HEALTH_CHECK_PERIOD
|
|
value:
|
|
_default: "30s"
|
|
- name: CDE_API_DATABASE_POOL_SIZE
|
|
value:
|
|
_default: "3"
|
|
- name: CDE_API_REDIS__SSL
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_REDIS__POOL_SIZE
|
|
value:
|
|
_default: "5"
|
|
- name: CDE_API_REDIS__MIN_IDLE_CONNS
|
|
value:
|
|
_default: "1"
|
|
- name: CDE_API_REDIS__DIAL_TIMEOUT_MS
|
|
value:
|
|
_default: "5000"
|
|
- name: CDE_API_REDIS__READ_TIMEOUT_MS
|
|
value:
|
|
_default: "3000"
|
|
- name: CDE_API_REDIS__WRITE_TIMEOUT_MS
|
|
value:
|
|
_default: "3000"
|
|
- name: CDE_API_REDIS__DEFAULT_TTL_MINUTES
|
|
value:
|
|
_default: "10"
|
|
- name: CDE_API_REDIS__PERMISSION_CACHE_ENABLED
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_S3_USE_SSL
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_S3_BUCKET_LOOKUP
|
|
value:
|
|
_default: "auto"
|
|
- name: CDE_API_S3_INSECURE_SKIP_TLS
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_S3_CHECK_BUCKET
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_S3_BUCKET_NAME
|
|
value:
|
|
_default: "documentations"
|
|
- name: CDE_API_ZEEBE_USE_PLAINTEXT
|
|
value:
|
|
_default: "true"
|
|
- name: CDE_API_MAILER_BASE_URL
|
|
value:
|
|
_default: "http://mailer-service.mailer:8000"
|
|
- name: CDE_API_MAILER_FROM_EMAIL
|
|
value:
|
|
_default: "noreply@sarex.io"
|
|
- name: CDE_API_WORKFLOW_BASE_URL
|
|
value:
|
|
_default: "http://workflows-api-service.workflow.svc.cluster.local:8000"
|
|
- name: CDE_API_WORKFLOW_RETRY_COUNT
|
|
value:
|
|
_default: "3"
|
|
- name: CDE_API_WORKFLOW_TIMEOUT_MS
|
|
value:
|
|
_default: "30000"
|
|
- name: CDE_API_BIMAPI_URL
|
|
value:
|
|
_default: "http://backend-service.bim.svc.cluster.local:8000"
|
|
- name: CDE_API_BIMAPI_V2_URL
|
|
value:
|
|
_default: "http://backend-service.bim.svc.cluster.local:8000"
|
|
- name: CDE_API_BIMAPI_RETRY_COUNT
|
|
value:
|
|
_default: "3"
|
|
- name: CDE_API_BIMAPI_TIMEOUT_MS
|
|
value:
|
|
_default: "30000"
|
|
- name: CDE_API_BIMAPI_TIMEOUT_V2_MS
|
|
value:
|
|
_default: "300000"
|
|
- name: CDE_API_CONTAINER_REGISTRY
|
|
value:
|
|
_default: "cr.yandex/crp3ccidau046kdj8g9q"
|
|
- name: CDE_API_WORKFLOWS_IMAGES_VERSION
|
|
value:
|
|
_default: "master"
|
|
- name: CDE_API_DJANGO_HOST
|
|
value:
|
|
_default: "http://backend.django.svc.cluster.local:8000"
|
|
- name: CDE_API_ENVIRONMENT
|
|
value:
|
|
_default: "production"
|
|
- name: CDE_API_CONVERTED_PDF_TO_S3
|
|
value:
|
|
_default: "true"
|
|
- name: CDE_API_CONVERT_DXF_TO_GEOJSON
|
|
value:
|
|
_default: "true"
|
|
- name: CDE_API_CONVERT_DWG_TO_GEOJSON
|
|
value:
|
|
_default: "true"
|
|
- name: CDE_API_USE_BIMV1_FOR_BIMV2
|
|
value:
|
|
_default: "true"
|
|
- name: CDE_API_LAST_MASTER_BIM
|
|
value:
|
|
_default: "36311"
|
|
- name: CDE_API_LAST_SLAVE_1_BIM
|
|
value:
|
|
_default: "94015"
|
|
- name: CDE_API_LAST_SLAVE_2_BIM
|
|
value:
|
|
_default: "135771"
|
|
- name: CDE_API_USE_BIM_INSERTER
|
|
value:
|
|
_default: "true"
|
|
- name: CDE_API_USE_LEGACY_BIM_FLOW
|
|
value:
|
|
_default: "0"
|
|
- name: CDE_API_DOCUMENTATION_V2_URL
|
|
value:
|
|
_default: "http://documentations-api.documentations.svc.cluster.local:8080"
|
|
- name: CDE_API_INTERNAL_URL
|
|
value:
|
|
_default: "http://cde-api.documentations:8000"
|
|
- name: CDE_API_FLOWS_URL
|
|
value:
|
|
_default: "http://backend-service.flows.svc.cluster.local:8000"
|
|
- name: CDE_API_TRANSMITTALS_URL
|
|
value:
|
|
_default: "http://transmittal-service.transmittal.svc.cluster.local:80"
|
|
- name: CDE_API_WORKFLOWS_CONFIG_FILEPATH
|
|
value:
|
|
_default: "/etc/app/tasks_execution_config.json"
|
|
- name: CDE_API_WORKSPACE_BASE_URL
|
|
value:
|
|
_default: "http://workspaces-service.workspaces.svc.cluster.local:8000"
|
|
- name: CDE_API_WORKSPACE_RETRY_COUNT
|
|
value:
|
|
_default: "3"
|
|
- name: CDE_API_WORKSPACE_TIMEOUT_MS
|
|
value:
|
|
_default: "10000"
|
|
- name: CDE_API_RABBITMQ__MARKS_ROUTING_KEY
|
|
value:
|
|
_default: "pdf_markings_input"
|
|
- name: CDE_API_RABBITMQ__HASHER_ROUTING_KEY
|
|
value:
|
|
_default: "hash.compute.normal"
|
|
- name: CDE_API_RABBITMQ__HASHER_EXCHANGE
|
|
value:
|
|
_default: "hash.compute"
|
|
- name: CDE_API_ISSUES_SYNC_ENABLED
|
|
value:
|
|
_default: "false"
|
|
- name: CDE_API_ISSUES_BASE_URL
|
|
value:
|
|
_default: "http://issues-service.platform:8000"
|
|
- name: CDE_API_ISSUES_RETRY_COUNT
|
|
value:
|
|
_default: "3"
|
|
- name: CDE_API_ISSUES_TIMEOUT_MS
|
|
value:
|
|
_default: "30000"
|
|
- name: CDE_API_COPY_WORKER_JOBS
|
|
value:
|
|
_default: ""
|
|
- name: CDE_API_COPY_JOB_TIMEOUT_MINUTES
|
|
value:
|
|
_default: "30"
|
|
- name: CDE_API_COPY_STEP_PARALLELISM
|
|
value:
|
|
_default: "1"
|
|
- name: CDE_API_COPY_S3_PARALLELISM
|
|
value:
|
|
_default: "1"
|
|
- name: CDE_API_REDIS__HOST
|
|
value:
|
|
_default: "redis"
|
|
- name: CDE_API_REDIS__PORT
|
|
value:
|
|
_default: "6379"
|
|
- name: CDE_API_DATABASE__HOST
|
|
value:
|
|
_default: "sarex-vpsql-01.xc.wb.ru"
|
|
- name: CDE_API_DATABASE__PORT
|
|
value:
|
|
_default: "5432"
|
|
- name: CDE_API_DATABASE__NAME
|
|
value:
|
|
_default: "documentations_db"
|
|
- name: CDE_API_RABBITMQ__HOST
|
|
value:
|
|
_default: "rabbitmq.rabbitmq.svc.cluster.local"
|
|
- name: CDE_API_RABBITMQ__PORT
|
|
value:
|
|
_default: "5672"
|
|
- name: CDE_API_RABBITMQ__VHOST
|
|
value:
|
|
_default: "cde"
|
|
secretEnvs:
|
|
- name: CDE_API_DATABASE__USER
|
|
secretName:
|
|
_default: "postgres-secret"
|
|
secretKey:
|
|
_default: "username"
|
|
- name: CDE_API_DATABASE__PASSWORD
|
|
secretName:
|
|
_default: "postgres-secret"
|
|
secretKey:
|
|
_default: "password"
|
|
- name: CDE_API_S3_ENDPOINT
|
|
secretName:
|
|
_default: "yc-s3"
|
|
secretKey:
|
|
_default: "endpoint_url"
|
|
- name: CDE_API_S3_ACCESS_KEY
|
|
secretName:
|
|
_default: "yc-s3"
|
|
secretKey:
|
|
_default: "key_id"
|
|
- name: CDE_API_S3_SECRET_KEY
|
|
secretName:
|
|
_default: "yc-s3"
|
|
secretKey:
|
|
_default: "access_key"
|
|
- name: CDE_API_ZEEBE_GATEWAY_ADDRESS
|
|
secretName:
|
|
_default: "cde-api-zeebe-secret"
|
|
secretKey:
|
|
_default: "gateway_address"
|
|
- name: CDE_API_ZEEBE_CLIENT_ID
|
|
secretName:
|
|
_default: "cde-api-zeebe-secret"
|
|
secretKey:
|
|
_default: "client_id"
|
|
- name: CDE_API_ZEEBE_CLIENT_SECRET
|
|
secretName:
|
|
_default: "cde-api-zeebe-secret"
|
|
secretKey:
|
|
_default: "client_secret"
|
|
- name: CDE_API_ZEEBE_AUTH_SERVER_URL
|
|
secretName:
|
|
_default: "cde-api-zeebe-secret"
|
|
secretKey:
|
|
_default: "auth_server_url"
|
|
- name: CDE_API_RABBITMQ__USER
|
|
secretName:
|
|
_default: "hasher-rabbitmq-secret"
|
|
secretKey:
|
|
_default: "user"
|
|
- name: CDE_API_RABBITMQ__PASSWORD
|
|
secretName:
|
|
_default: "hasher-rabbitmq-secret"
|
|
secretKey:
|
|
_default: "password"
|
|
volumes:
|
|
_default:
|
|
- name: tasks-execution-config
|
|
mountPath:
|
|
_default: /etc/app/tasks_execution_config.json
|
|
subPath:
|
|
_default: tasks_execution_config.json
|
|
readOnly:
|
|
_default: true
|
|
configMap:
|
|
name:
|
|
_default: tasks-execution-config-documentation-v2
|
|
items:
|
|
- key: tasks-execution-config-documentation-v2.json
|
|
path:
|
|
_default: tasks_execution_config.json
|
|
defaultMode:
|
|
_default: "0644"
|