From 91d6aa41d6423abd46cf8d0d115e02f254d35837 Mon Sep 17 00:00:00 2001 From: emelinda Date: Mon, 26 Oct 2026 09:53:21 +0500 Subject: [PATCH] Add HelmRelease for `pdf-markings-amqp` in `d8-ugmk-prod` and update kustomization configuration --- .../d8-ugmk-prod/kustomization.yaml | 6 +- .../d8-ugmk-prod/pdf-markings-amqp.yaml | 60 +++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 apps/documentations/d8-ugmk-prod/pdf-markings-amqp.yaml diff --git a/apps/documentations/d8-ugmk-prod/kustomization.yaml b/apps/documentations/d8-ugmk-prod/kustomization.yaml index 56d6b60..c9bae98 100644 --- a/apps/documentations/d8-ugmk-prod/kustomization.yaml +++ b/apps/documentations/d8-ugmk-prod/kustomization.yaml @@ -12,4 +12,8 @@ patches: - path: filestream.yaml target: kind: HelmRelease - name: documentations-filestream \ No newline at end of file + name: documentations-filestream + - path: pdf-markings-amqp.yaml + target: + kind: HelmRelease + name: documentations-pdf-markings-amqp \ No newline at end of file diff --git a/apps/documentations/d8-ugmk-prod/pdf-markings-amqp.yaml b/apps/documentations/d8-ugmk-prod/pdf-markings-amqp.yaml new file mode 100644 index 0000000..43d6a54 --- /dev/null +++ b/apps/documentations/d8-ugmk-prod/pdf-markings-amqp.yaml @@ -0,0 +1,60 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: documentations-pdf-markings-amqp + namespace: documentations +spec: + values: + services: + backend: + envs: + - name: MARKS_APP__LOG_LEVEL + value: + _default: INFO + + - name: MARKS_CRYPTO__HASHING_ALGO + value: + _default: md_gost12_256 + + - name: MARKS_QR__REDIRECT_URL + value: + _default: "https://sarex-stamp-verification.uralmine.com/" + + - name: MARKS_QR__BASE_DOCUMENT_URL + value: + _default: "https://sarex.uralmine.com" + + - name: MARKS_S3__REGION + value: + _default: ru-central1 + + - name: MARKS_S3__USE_SSL + value: + _default: "true" + + # Временно: в образе нет CA УГМК для s3.uralmine.com (INFRA-3034). + # Вернуть "true" после монтирования CA и AWS_CA_BUNDLE. + - name: MARKS_S3__SSL_VERIFY + value: + _default: "false" + + - name: MARKS_S3__DEFAULT_BUCKET + value: + _default: documentations-marks + + - name: MARKS_RABBITMQ__ROUTING__INPUT_QUEUE + value: + _default: pdf_markings_input + + - name: MARKS_RABBITMQ__HOST + value: + _default: rabbitmq.rabbitmq.svc.cluster.local + + - name: MARKS_RABBITMQ__PORT + value: + _default: "5672" + + - name: MARKS_RABBITMQ__HEARTBEAT_SECONDS + value: + _default: "60" \ No newline at end of file