Skip to content
Snippets Groups Projects
Commit 8e7ad5de authored by Valeri Fikov's avatar Valeri Fikov :speech_balloon:
Browse files

Update templates/deployment.yaml

parent 1b4cbba1
No related branches found
No related tags found
No related merge requests found
Pipeline #51707 failed with stage
in 3 seconds
...@@ -41,15 +41,15 @@ spec: ...@@ -41,15 +41,15 @@ spec:
- name: LOG_ENCODING - name: LOG_ENCODING
value: {{ .Values.log.encoding | default "json" }} value: {{ .Values.log.encoding | default "json" }}
- name: HTTP_HOST - name: HTTP_HOST
value: {{ .Values.task.http.host | quote }} value: {{ .Values.infohub.http.host | quote }}
- name: HTTP_PORT - name: HTTP_PORT
value: {{ .Values.task.http.port | quote }} value: {{ .Values.infohub.http.port | quote }}
- name: HTTP_IDLE_TIMEOUT - name: HTTP_IDLE_TIMEOUT
value: {{ .Values.task.http.timeout.idle | quote }} value: {{ .Values.infohub.http.timeout.idle | quote }}
- name: HTTP_READ_TIMEOUT - name: HTTP_READ_TIMEOUT
value: {{ .Values.task.http.timeout.read | quote }} value: {{ .Values.infohub.http.timeout.read | quote }}
- name: HTTP_WRITE_TIMEOUT - name: HTTP_WRITE_TIMEOUT
value: {{ .Values.task.http.timeout.write | quote }} value: {{ .Values.infohub.http.timeout.write | quote }}
- name: MONGO_ADDR - name: MONGO_ADDR
value: {{ .Values.mongo.addr | quote }} value: {{ .Values.mongo.addr | quote }}
- name: MONGO_USER - name: MONGO_USER
...@@ -75,11 +75,11 @@ spec: ...@@ -75,11 +75,11 @@ spec:
containerPort: {{ .Values.metrics.port }} containerPort: {{ .Values.metrics.port }}
{{- end }} {{- end }}
- name: http - name: http
containerPort: {{ .Values.task.http.port }} containerPort: {{ .Values.infohub.http.port }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /readiness path: /readiness
port: {{ .Values.task.http.port }} port: {{ .Values.infohub.http.port }}
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 5 periodSeconds: 5
successThreshold: 2 successThreshold: 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment