From 3b5cc536116f34e366a4f2590e815e875825b698 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Wed, 8 May 2019 15:32:14 -0400 Subject: 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 --- .../charts/appc-ansible-server/templates/statefulset.yaml | 15 --------------- kubernetes/appc/charts/appc-ansible-server/values.yaml | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) (limited to 'kubernetes') 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 -- cgit 1.2.3-korg