diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-11-05 10:02:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-11-05 10:02:41 +0000 |
commit | 13a3131a6816f874d1d605f4efed299f56b768c6 (patch) | |
tree | a0846fb9b80870e9d94071f09252138828842c8e /kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml | |
parent | c519be91654f664648d5d30eb6d3fb9863dd0e97 (diff) | |
parent | d055a17d87b9e6bbfde51f523eea1838bc6b40dd (diff) |
Merge "[SO] Use readiness chart"
Diffstat (limited to 'kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml b/kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml index 55177031e4..7c528b0290 100755 --- a/kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml +++ b/kubernetes/so/components/so-ve-vnfm-adapter/templates/deployment.yaml @@ -24,23 +24,8 @@ spec: metadata: labels: {{- include "common.labels" . | nindent 8 }} spec: - initContainers: {{ include "so.certificate.container_importer" . | nindent 8 }} - - name: {{ include "common.name" . }}-readiness - command: - - /app/ready.py - args: - - --container-name - - aai - - --container-name - - message-router - env: - - name: NAMESPACE - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.namespace - image: {{ include "common.repository" . }}/{{ .Values.global.readinessImage }} - imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} + initContainers: {{ include "so.certificate.container_importer" . | nindent 6 }} + {{ include "common.readinessCheck.waitFor" . | indent 6 | trim }} containers: - name: {{ include "common.name" . }} envFrom: |