summaryrefslogtreecommitdiffstats
path: root/kubernetes/vnfsdk/templates
diff options
context:
space:
mode:
authorjasmineWen <jasmine.wen@amdocs.com>2018-05-28 14:59:28 +0000
committerjasmineWen <jasmine.wen@amdocs.com>2018-05-29 15:39:40 +0000
commit613f4eb0c7a28a856bdd63c2776c355a3ad6be9b (patch)
treea51abe6767a626b3ce94979bce451708854c876e /kubernetes/vnfsdk/templates
parent81aad2ef68e4563fefcc376d22e8cc6483e06d68 (diff)
VNFSDK - revert back to embedded postgres
Change-Id: Iae0e6953175769730d5afc52409a354f5f0b3bf1 Issue-ID: OOM-751 Signed-off-by: jasmineWen <jasmine.wen@amdocs.com>
Diffstat (limited to 'kubernetes/vnfsdk/templates')
-rw-r--r--kubernetes/vnfsdk/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/vnfsdk/templates/deployment.yaml b/kubernetes/vnfsdk/templates/deployment.yaml
index d8a3d360df..8220553cf6 100644
--- a/kubernetes/vnfsdk/templates/deployment.yaml
+++ b/kubernetes/vnfsdk/templates/deployment.yaml
@@ -38,7 +38,7 @@ spec:
- /root/ready.py
args:
- --container-name
- - "{{ .Values.postgres.nameOverride }}"
+ - "{{ .Values.vnfsdkpostgres.nameOverride }}"
env:
- name: NAMESPACE
valueFrom:
@@ -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 }}