aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vnfsdk/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/vnfsdk/templates/deployment.yaml')
-rw-r--r--kubernetes/vnfsdk/templates/deployment.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml
index 35bff1e38d..8220553cf6 100644
--- a/kubernetes/vnfsdk/templates/deployment.yaml
+++ b/kubernetes/vnfsdk/templates/deployment.yaml
@@ -52,6 +52,9 @@ spec:
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.pullPolicy | default .Values.global.pullPolicy }}
name: {{ include "common.name" . }}
+ env:
+ - name: POSTGRES_SERVICE_HOST
+ value: "$(VNFSDK_POSTGRES_SERVICE_HOST)"
readinessProbe:
tcpSocket:
port: {{ .Values.service.internalPort }}