summaryrefslogtreecommitdiffstats
path: root/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-12-17 11:10:41 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-17 11:10:41 +0000
commitee65f30af9912d95133d2922ac982a7973214170 (patch)
tree4c7ab9ac823b3d14f1cd96c90dea14fb7c2c8ee5 /kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml
parentf8b274b47a9413fe13b6d8e7f5c1edbb7c179a56 (diff)
parenta2e327595e334ee75b7f82fe46bfdd7195158ebc (diff)
Merge "[SO] Use readiness check job support"
Diffstat (limited to 'kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml')
-rwxr-xr-xkubernetes/so/components/so-cnf-adapter/templates/deployment.yaml15
1 files changed, 1 insertions, 14 deletions
diff --git a/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml b/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml
index 3c131321f3..4518a5f607 100755
--- a/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml
+++ b/kubernetes/so/components/so-cnf-adapter/templates/deployment.yaml
@@ -50,20 +50,7 @@ spec:
volumeMounts:
- name: encoder
mountPath: /output
- - name: {{ include "common.name" . }}-readiness
- command:
- - /app/ready.py
- args:
- - --job-name
- - {{ include "common.release" . }}-so-mariadb-config-job
- env:
- - name: NAMESPACE
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- image: {{ include "repositoryGenerator.image.readiness" . }}
- imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ {{ include "common.readinessCheck.waitFor" . | indent 8 | trim }}
containers:
- name: {{ include "common.name" . }}
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}