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:
@@ -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"
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -9,6 +9,6 @@ spec:
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
{{ end }}
|
||||
|
||||
@@ -9,6 +9,6 @@ spec:
|
||||
ports:
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 8080
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
{{ end }}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,7 +10,7 @@ jwt:
|
||||
database:
|
||||
secretName: liquid-db-app
|
||||
migrateDb: true
|
||||
dropDb: true
|
||||
dropDb: false
|
||||
frontend:
|
||||
enable: true
|
||||
testingModule:
|
||||
|
||||
Reference in New Issue
Block a user