From d5e4d87b1c84121e7dfdb90c792a1505c52a049e Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Thu, 3 Aug 2023 11:01:15 +0200 Subject: [PATCH] Fix status definition. --- deploy/crds/vm-crd.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/deploy/crds/vm-crd.yaml b/deploy/crds/vm-crd.yaml index dd50c96..c1950f0 100644 --- a/deploy/crds/vm-crd.yaml +++ b/deploy/crds/vm-crd.yaml @@ -38,6 +38,12 @@ spec: type: object description: Defines the VM. properties: + state: + description: >- + The (desired) state of the VM. + type: string + enum: [ "Stopped", "Running" ] + default: "Stopped" machineUuid: description: >- The machine's uuid. If none is specified, a uuid @@ -511,12 +517,12 @@ spec: Message is a human readable message indicating details about the transition. This may be an empty string. default: "" - required: - - type - - status - - lastTransitionTime - - reason - - message + required: + - type + - status + - lastTransitionTime + - reason + - message # either Namespaced or Cluster scope: Namespaced names: