summaryrefslogtreecommitdiffstats
path: root/kubernetes/vnfsdk/templates/deployment.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-05-29 16:05:36 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-29 16:05:36 +0000
commit7a1d526b8a1eab6cbb7cc45248b44c52d5979077 (patch)
treeb7530dcaf529242f378e9b2cde969c614418fce0 /kubernetes/vnfsdk/templates/deployment.yaml
parent21dc6c0dedb9bfa8b4f9dbc0f6558c74c9a7ef3c (diff)
parent613f4eb0c7a28a856bdd63c2776c355a3ad6be9b (diff)
Merge "VNFSDK - revert back to embedded postgres"
Diffstat (limited to 'kubernetes/vnfsdk/templates/deployment.yaml')
-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 }}