diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2018-05-29 16:05:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-29 16:05:36 +0000 |
commit | 7a1d526b8a1eab6cbb7cc45248b44c52d5979077 (patch) | |
tree | b7530dcaf529242f378e9b2cde969c614418fce0 /kubernetes/vnfsdk/templates/deployment.yaml | |
parent | 21dc6c0dedb9bfa8b4f9dbc0f6558c74c9a7ef3c (diff) | |
parent | 613f4eb0c7a28a856bdd63c2776c355a3ad6be9b (diff) |
Merge "VNFSDK - revert back to embedded postgres"
Diffstat (limited to 'kubernetes/vnfsdk/templates/deployment.yaml')
-rw-r--r-- | kubernetes/vnfsdk/templates/deployment.yaml | 5 |
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 }} |