From a20157681ea717a3d2957b232a29a53a95f265eb Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Tue, 21 Feb 2023 15:29:26 +0000 Subject: [PATCH] Update CRD accordingly. --- .../templates/managedjob-crd.yaml | 31 ++++++++++++++----- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/charts/jobs-manager-operator/templates/managedjob-crd.yaml b/charts/jobs-manager-operator/templates/managedjob-crd.yaml index 17833e1..98e36b2 100644 --- a/charts/jobs-manager-operator/templates/managedjob-crd.yaml +++ b/charts/jobs-manager-operator/templates/managedjob-crd.yaml @@ -38,6 +38,18 @@ spec: groups: items: properties: + dependencies: + items: + properties: + name: + default: "" + type: string + status: + type: string + required: + - status + type: object + type: array jobs: items: properties: @@ -2100,14 +2112,17 @@ spec: type: array type: object dependencies: - properties: - group: - default: "" - type: string - job: - default: "" - type: string - type: object + items: + properties: + name: + default: "" + type: string + status: + type: string + required: + - status + type: object + type: array image: minLength: 5 type: string