drawings-api builds its workflows client from WORKFLOW_HOST, which no cluster set, so POST /internal/v1/exports failed with 'unsupported protocol scheme'. Add WORKFLOW_HOST and the other export settings from the drawings-api chart with uralkal service addresses (processing, drawings, attachments).
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
---
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: backend
|
|
namespace: drawings
|
|
spec:
|
|
values:
|
|
services:
|
|
backend:
|
|
envs:
|
|
- name: POSTGRES_POOL_SIZE
|
|
value:
|
|
_default: "3"
|
|
|
|
- name: API_ADDRESS
|
|
value:
|
|
_default: "0.0.0.0:8000"
|
|
|
|
- name: ENABLE_SSL
|
|
value:
|
|
_default: "0"
|
|
|
|
- name: WORKFLOW_HOST
|
|
value:
|
|
_default: "http://backend-svc.processing.svc.cluster.local/"
|
|
|
|
- name: IMAGE_NAME_EXPORT_TO_DWG
|
|
value:
|
|
_default: "cross-sections-to-dwg"
|
|
|
|
- name: IMAGE_TAG
|
|
value:
|
|
_default: "develop"
|
|
|
|
- name: TASK_VERSION
|
|
value:
|
|
_default: "1"
|
|
|
|
- name: DRAWING_INTERNAL_URL
|
|
value:
|
|
_default: "http://backend-service.drawings.svc.cluster.local:8000/"
|
|
|
|
- name: ATTACHMENT_URL
|
|
value:
|
|
_default: "http://attachments-service.attachments.svc.cluster.local:8000"
|