From 8e7ad5de14e28f1f0ef19e2c33b970571b1d1092 Mon Sep 17 00:00:00 2001
From: Valeri Fikov <valeri.fikov@vereign.com>
Date: Tue, 21 Jun 2022 10:32:55 +0000
Subject: [PATCH] Update templates/deployment.yaml

---
 templates/deployment.yaml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index 4a1a5d2..b1a5a03 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -41,15 +41,15 @@ spec:
           - name: LOG_ENCODING
             value: {{ .Values.log.encoding | default "json" }}
           - name: HTTP_HOST
-            value: {{ .Values.task.http.host | quote }}
+            value: {{ .Values.infohub.http.host | quote }}
           - name: HTTP_PORT
-            value: {{ .Values.task.http.port | quote }}
+            value: {{ .Values.infohub.http.port | quote }}
           - name: HTTP_IDLE_TIMEOUT
-            value: {{ .Values.task.http.timeout.idle | quote }}
+            value: {{ .Values.infohub.http.timeout.idle | quote }}
           - name: HTTP_READ_TIMEOUT
-            value: {{ .Values.task.http.timeout.read | quote }}
+            value: {{ .Values.infohub.http.timeout.read | quote }}
           - name: HTTP_WRITE_TIMEOUT
-            value: {{ .Values.task.http.timeout.write | quote }}
+            value: {{ .Values.infohub.http.timeout.write | quote }}
           - name: MONGO_ADDR
             value: {{ .Values.mongo.addr | quote }}
           - name: MONGO_USER
@@ -75,11 +75,11 @@ spec:
           containerPort: {{ .Values.metrics.port }}
         {{- end }}
         - name: http
-          containerPort: {{ .Values.task.http.port }}
+          containerPort: {{ .Values.infohub.http.port }}
         readinessProbe:
           httpGet:
             path: /readiness
-            port: {{ .Values.task.http.port }}
+            port: {{ .Values.infohub.http.port }}
           initialDelaySeconds: 5
           periodSeconds: 5
           successThreshold: 2
-- 
GitLab