diff --git a/helmchart/single-sign-on/templates/job-migration-kratos.yaml b/helmchart/single-sign-on/templates/job-migration-kratos.yaml
index 4d4cf13cfad5b23a69a7c16ea909b31f4cd091d5..dc5f43c2bc0a39017ff4e719ea804cd49525fb3c 100644
--- a/helmchart/single-sign-on/templates/job-migration-kratos.yaml
+++ b/helmchart/single-sign-on/templates/job-migration-kratos.yaml
@@ -17,7 +17,6 @@ metadata:
     {{- end }}
     helm.sh/hook-weight: "1"
     helm.sh/hook-delete-policy: "before-hook-creation,hook-succeeded"
-    {{- end }}
 spec:
   template:
     {{- with .Values.kratos.job.annotations }}