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-search-data/templates/deployment.yaml | |
parent | cf7dd544779197b91ed9a973cba3843b30809caa (diff) | |
parent | af645b57657cdfba0ed9e6167bf74ed17e6e21d1 (diff) |
Merge "Add missing resource limits to POMBA pods"
Diffstat (limited to 'kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml')
-rw-r--r-- | kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml index fd03c6c92d..0a81e2615d 100644 --- a/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml +++ b/kubernetes/pomba/charts/pomba-search-data/templates/deployment.yaml @@ -34,6 +34,21 @@ spec: release: {{ .Release.Name }} name: {{ include "common.name" . }} spec: + initContainers: + - command: + - /root/ready.py + args: + - --container-name + - pomba-elasticsearch + 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 containers: - name: {{ include "common.name" . }} image: "{{ include "common.repository" . }}/{{ .Values.image }}" |