[COMMON] Fix resources indent
[oom.git] / kubernetes / aaf / components / aaf-sms / templates / job.yaml
index 8dbe276..5aaea57 100644 (file)
@@ -191,8 +191,7 @@ spec:
             readOnly: true
           - mountPath: /preload/config
             name: {{ include "common.name" . }}-preload
-        resources:
-{{ include "common.resources" . | indent 10 }}
+        resources: {{ include "common.resources" . | nindent 10 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
@@ -201,6 +200,7 @@ spec:
         affinity:
 {{ toYaml .Values.affinity | indent 10 }}
         {{- end }}
+      {{ include "common.waitForJobContainer" . | indent 6 | trim }}
       volumes: {{ include "common.certInitializer.volumes" . | nindent 6 }}
       - name: localtime
         hostPath: