[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / aaf / components / aaf-sshsm / charts / aaf-sshsm-abrmd / templates / statefulset.yaml
index c624ccf..53ea995 100644 (file)
@@ -27,11 +27,11 @@ spec:
     metadata: {{- include "common.templateMetadata" . | nindent 6 }}
     spec:
       initContainers:
-      - image:  "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
+      - image:  "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         name: {{ include "common.name" . }}-job-complete
         command:
-        - /root/job_complete.py
+        - /app/ready.py
         args:
         - -j
         - "{{ include "common.fullname" . }}-init"