316 lines
9.5 KiB
YAML
316 lines
9.5 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: cde-api-worker-s32d-process-workflows
|
|
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-s32d-process-workflows:
|
|
enabled: true
|
|
deployment:
|
|
enabled: true
|
|
name:
|
|
_default: worker-s32d-process-workflows
|
|
replicaCount:
|
|
_default: 1
|
|
revisionHistoryLimit:
|
|
_default: 5
|
|
resources:
|
|
requests:
|
|
cpu:
|
|
_default: 200m
|
|
memory:
|
|
_default: 256Mi
|
|
strategy:
|
|
type: RollingUpdate
|
|
rollingUpdate:
|
|
maxSurge: 0
|
|
maxUnavailable: 1
|
|
image:
|
|
name:
|
|
_default: cr.yandex/crp3ccidau046kdj8g9q/cde-api-worker-s32d-process-workflows:production_19194531
|
|
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-s32d-process-workflows
|
|
- 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_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_ZEEBE_USE_PLAINTEXT
|
|
value:
|
|
_default: 'true'
|
|
- name: CDE_API_S32D_WORKER_PROCESS_WORKFLOWS_TIMEOUT_MIN
|
|
value:
|
|
_default: '480'
|
|
- name: CDE_API_S32D_WORKER_PROCESS_WORKFLOWS_MAX_JOBS
|
|
value:
|
|
_default: '1'
|
|
- 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://bim-backend-v2-service.bim-api.svc.cluster.local:8080
|
|
- 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: wb
|
|
- 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: 'false'
|
|
- name: CDE_API_LAST_MASTER_BIM
|
|
value:
|
|
_default: '2000'
|
|
- name: CDE_API_LAST_SLAVE_1_BIM
|
|
value:
|
|
_default: '2250'
|
|
- name: CDE_API_LAST_SLAVE_2_BIM
|
|
value:
|
|
_default: '15000'
|
|
- name: CDE_API_USE_BIM_INSERTER
|
|
value:
|
|
_default: 'true'
|
|
- name: CDE_API_USE_LEGACY_BIM_FLOW
|
|
value:
|
|
_default: 'true'
|
|
- 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_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
|
|
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: cde-api-s3-secret
|
|
secretKey:
|
|
_default: endpoint
|
|
- name: CDE_API_S3_ACCESS_KEY
|
|
secretName:
|
|
_default: cde-api-s3-secret
|
|
secretKey:
|
|
_default: access_key
|
|
- name: CDE_API_S3_SECRET_KEY
|
|
secretName:
|
|
_default: cde-api-s3-secret
|
|
secretKey:
|
|
_default: secret_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_S3_BUCKET_NAME
|
|
secretName:
|
|
_default: cde-api-s3-secret
|
|
secretKey:
|
|
_default: bucket
|
|
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'
|
|
dependsOn:
|
|
- name: cde-api
|
|
namespace: documentations
|