Compare commits

...

2 Commits

Author SHA1 Message Date
e7e3cb8c23 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.
2025-11-02 16:58:54 +03:00
da3d72422a Возвращен публичный бакет 2025-10-29 17:54:12 +03:00
7 changed files with 26 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

@@ -27,6 +27,8 @@ spec:
value: {{ required "s3 endpoint!" .Values.s3.endpointUrl | quote }}
- name: S3_PRIVATE_BUCKET
value: {{ required "privateBucket!" .Values.s3.privateBucket | quote }}
- name: S3_PUBLIC_BUCKET
value: {{ required "publicBucket!" .Values.s3.publicBucket | quote }}
- name: S3_ACCESS_KEY
valueFrom:
secretKeyRef:
@@ -38,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

@@ -4,12 +4,13 @@ s3:
accessKeyRef: ACCESS_KEY_ID
secretKeyRef: ACCESS_SECRET_KEY
privateBucket: liquid-code
publicBucket: liquid-code-public
jwt:
secretName: jwt-secrets
database:
secretName: liquid-db-app
migrateDb: true
dropDb: true
dropDb: false
frontend:
enable: true
testingModule: