From d42737993f1bf71a35fe43d170b5c1b7833e3c58 Mon Sep 17 00:00:00 2001 From: Guillaume Lefevre Date: Thu, 25 Jul 2024 02:38:04 +0800 Subject: [PATCH] Change ansible k8s_info tasks api_version for Job kind to batch/v1 (#1833) Co-authored-by: Guillaume Lefevre --- roles/installer/tasks/migrate_schema.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/installer/tasks/migrate_schema.yml b/roles/installer/tasks/migrate_schema.yml index 22b23a675..31d2d0c34 100644 --- a/roles/installer/tasks/migrate_schema.yml +++ b/roles/installer/tasks/migrate_schema.yml @@ -41,6 +41,7 @@ # initialization of admin user, etc. - name: Watch for the migration job to finish k8s_info: + api_version: batch/v1 kind: Job namespace: "{{ ansible_operator_meta.namespace }}" name: "{{ ansible_operator_meta.name }}-migration-{{ version }}"