drawings/uralkal: workflow env for DWG export
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).
This commit is contained in:
parent
3a62bd4792
commit
005e88d91e
46
apps/drawings/uralkal/backend.yaml
Normal file
46
apps/drawings/uralkal/backend.yaml
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
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"
|
||||
@ -2,3 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../base
|
||||
patches:
|
||||
- path: backend.yaml
|
||||
target:
|
||||
kind: HelmRelease
|
||||
name: backend
|
||||
|
||||
Loading…
Reference in New Issue
Block a user