diff options
author | Taka Cho <takamune.cho@att.com> | 2019-05-08 15:32:14 -0400 |
---|---|---|
committer | Alexis de Talhouƫt <adetalhouet89@gmail.com> | 2019-05-09 00:39:54 +0000 |
commit | 3b5cc536116f34e366a4f2590e815e875825b698 (patch) | |
tree | 7db10a0239483eb2185b1ca317c19d8ce33b4d51 /kubernetes/appc/charts | |
parent | 72c768e31a25274fbdddbd2e5cf02d7641ee1d93 (diff) |
remove readiness for ansible pod
ansible pod does not require
any dependency with other pod,
and the restful script can
be brought up within one minutes
also use the release version
Change-Id: I310963a3d01d5ca99c3495f201e1aa3ec3d60fea
Issue-ID: APPC-1602
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'kubernetes/appc/charts')
-rw-r--r-- | kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml | 15 | ||||
-rw-r--r-- | kubernetes/appc/charts/appc-ansible-server/values.yaml | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml index 5f1cc5ae24..1df20c291d 100644 --- a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml @@ -30,21 +30,6 @@ spec: app: {{ include "common.name" . }} release: {{ .Release.Name }} spec: - initContainers: - - command: - - /root/ready.py - args: - - --container-name - - {{ .Values.config.appcChartName }} - 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" . }} command: ["/bin/bash"] diff --git a/kubernetes/appc/charts/appc-ansible-server/values.yaml b/kubernetes/appc/charts/appc-ansible-server/values.yaml index 5c8d4c77d5..59cf29f70c 100644 --- a/kubernetes/appc/charts/appc-ansible-server/values.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/values.yaml @@ -29,7 +29,7 @@ flavor: small # application image repository: nexus3.onap.org:10001 -image: onap/ccsdk-ansible-server-image:0.4.2-STAGING-latest +image: onap/ccsdk-ansible-server-image:0.4.2 pullPolicy: Always # flag to enable debugging - application support required |