diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-10-24 21:04:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-24 21:04:18 +0000 |
commit | 4d5a96331a9ca22b152bf20c121a572c8235fe69 (patch) | |
tree | 58551122b406a05c1dbf0f8f8cc176284f4d1bff /kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml | |
parent | cf7dd544779197b91ed9a973cba3843b30809caa (diff) | |
parent | af645b57657cdfba0ed9e6167bf74ed17e6e21d1 (diff) |
Merge "Add missing resource limits to POMBA pods"
Diffstat (limited to 'kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml')
-rw-r--r-- | kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml index ce62679ee0..3244a74f1f 100644 --- a/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml +++ b/kubernetes/pomba/charts/pomba-data-router/templates/deployment.yaml @@ -36,6 +36,20 @@ spec: spec: initContainers: - command: + - /root/ready.py + args: + - --container-name + - pomba-search-data + env: + - name: NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}" + imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + name: {{ include "common.name" . }}-readiness + - command: - /bin/sh - -c - | |