From ed53bc8658f70940b75ad6238ac5fd33db492431 Mon Sep 17 00:00:00 2001 From: Roman Pytkov Date: Sun, 2 Nov 2025 21:08:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20=D1=82=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=B8=D1=80=D1=83=D1=8E=D1=89=D0=B8=D0=B9=20=D0=BC?= =?UTF-8?q?=D0=BE=D0=B4=D1=83=D0=BB=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liquid-code/templates/Deployments/backend-deployment.yaml | 7 ++++++- .../Deployments/testing-module-gateway-deployment.yaml | 2 +- .../Deployments/testing-module-worker-deployment.yaml | 2 +- liquid-code/values.yaml | 5 ++++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/liquid-code/templates/Deployments/backend-deployment.yaml b/liquid-code/templates/Deployments/backend-deployment.yaml index 01749bc..c3c4ac5 100644 --- a/liquid-code/templates/Deployments/backend-deployment.yaml +++ b/liquid-code/templates/Deployments/backend-deployment.yaml @@ -39,10 +39,15 @@ spec: secretKeyRef: name: {{ .Values.s3.secretName | quote }} key: {{ required "secret-key-ref!" .Values.s3.secretKeyRef | quote }} + - name: SUBMIT_CALLBACK_SECRET + valueFrom: + secretKeyRef: + name: {{ .Values.tester.secretName | quote }} + key: {{ required "secret-key-ref!" .Values.tester.secretKeyRef | quote }} - name: TESTING_MODULE_URL value: http://{{ .Release.Name }}-testing-module-gateway-service/api/tester/submit - name: SERVICE_BASE_URL - value: {{ .Release.Name }}-backend-service + value: http://{{ .Release.Name }}-backend-service - name: PG_URI valueFrom: secretKeyRef: diff --git a/liquid-code/templates/Deployments/testing-module-gateway-deployment.yaml b/liquid-code/templates/Deployments/testing-module-gateway-deployment.yaml index 5681253..5164028 100644 --- a/liquid-code/templates/Deployments/testing-module-gateway-deployment.yaml +++ b/liquid-code/templates/Deployments/testing-module-gateway-deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: {{ .Release.Name }}-testing-module-gateway - image: git.nullptr.top/liquidcode/liquidcode-tester-gateway:latest + image: git.nullptr.top/liquidcode/liquidcode-tester-gateway-roman:latest imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/liquid-code/templates/Deployments/testing-module-worker-deployment.yaml b/liquid-code/templates/Deployments/testing-module-worker-deployment.yaml index e73c1de..5b73182 100644 --- a/liquid-code/templates/Deployments/testing-module-worker-deployment.yaml +++ b/liquid-code/templates/Deployments/testing-module-worker-deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: {{ .Release.Name }}-testing-module-worker - image: git.nullptr.top/liquidcode/liquidcode-tester-worker:latest + image: git.nullptr.top/liquidcode/liquidcode-tester-worker-roman:latest imagePullPolicy: Always ports: - containerPort: 8080 diff --git a/liquid-code/values.yaml b/liquid-code/values.yaml index 5396411..2532c3e 100644 --- a/liquid-code/values.yaml +++ b/liquid-code/values.yaml @@ -5,12 +5,15 @@ s3: secretKeyRef: ACCESS_SECRET_KEY privateBucket: liquid-code publicBucket: liquid-code-public +tester: + secretName: tester-callback + secretKeyRef: SUBMIT_CALLBACK_SECRET jwt: secretName: jwt-secrets database: secretName: liquid-db-app migrateDb: true - dropDb: false + dropDb: true frontend: enable: true testingModule: