remove readiness for ansible pod 75/87275/2
authorTaka Cho <takamune.cho@att.com>
Wed, 8 May 2019 19:32:14 +0000 (15:32 -0400)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 9 May 2019 00:39:54 +0000 (00:39 +0000)
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>
kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml
kubernetes/appc/charts/appc-ansible-server/values.yaml

index 5f1cc5a..1df20c2 100644 (file)
@@ -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"]
index 5c8d4c7..59cf29f 100644 (file)
@@ -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