Updates services and ingress configurations

Updates the chart and app versions.

Modifies service configurations to use port 80 for both the testing module gateway and worker services.

Updates ingress to include a host for the tester, directing traffic to the testing module gateway service on port 80.

Updates backend deployment to include the correct URL for the testing module and the base service URL.

Disables database dropping on application startup.
This commit is contained in:
2025-11-02 16:58:54 +03:00
parent da3d72422a
commit e7e3cb8c23
7 changed files with 23 additions and 11 deletions

View File

@@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.2
version: 1.0.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.0.2"
appVersion: "1.0.3"

View File

@@ -40,7 +40,9 @@ spec:
name: {{ .Values.s3.secretName | quote }}
key: {{ required "secret-key-ref!" .Values.s3.secretKeyRef | quote }}
- name: TESTING_MODULE_URL
value: http://{{ .Release.Name }}-testing-module-gateway-service:8080/
value: http://{{ .Release.Name }}-testing-module-gateway-service/api/tester/submit
- name: SERVICE_BASE_URL
value: {{ .Release.Name }}-backend-service
- name: PG_URI
valueFrom:
secretKeyRef:

View File

@@ -25,13 +25,13 @@ spec:
- containerPort: 8080
env:
- name: Workers__Cpp
value: http://{{ .Release.Name }}-testing-module-worker-service:8080
value: http://{{ .Release.Name }}-testing-module-worker-service
- name: Workers__Java
value: http://{{ .Release.Name }}-testing-module-worker-service:8080
value: http://{{ .Release.Name }}-testing-module-worker-service
- name: Workers__Kotlin
value: http://{{ .Release.Name }}-testing-module-worker-service:8080
value: http://{{ .Release.Name }}-testing-module-worker-service
- name: Workers__CSharp
value: http://{{ .Release.Name }}-testing-module-worker-service:8080
value: http://{{ .Release.Name }}-testing-module-worker-service
- name: Workers__Python
value: http://{{ .Release.Name }}-testing-module-worker-service:8080
value: http://{{ .Release.Name }}-testing-module-worker-service
{{ end }}

View File

@@ -9,6 +9,6 @@ spec:
ports:
- name: http
protocol: TCP
port: 8080
port: 80
targetPort: 8080
{{ end }}

View File

@@ -9,6 +9,6 @@ spec:
ports:
- name: http
protocol: TCP
port: 8080
port: 80
targetPort: 8080
{{ end }}

View File

@@ -26,3 +26,13 @@ spec:
name: {{ .Release.Name }}-frontend-service
port:
number: 80
- host: tester.liquidcode.ru
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: {{ .Release.Name }}-testing-module-gateway-service
port:
number: 80

View File

@@ -10,7 +10,7 @@ jwt:
database:
secretName: liquid-db-app
migrateDb: true
dropDb: true
dropDb: false
frontend:
enable: true
testingModule: