VNFSDK - revert back to embedded postgres
[oom.git] / kubernetes / vnfsdk / templates / deployment.yaml
index 35bff1e..8220553 100644 (file)
@@ -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 }}