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: