From 4943baf3e38bf9353ba75ef7e6cde6d878ad312c Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Tue, 14 Jan 2025 10:23:32 +0100 Subject: [PATCH] Save assignment information. --- deploy/crds/vms-crd.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/deploy/crds/vms-crd.yaml b/deploy/crds/vms-crd.yaml index 5f67b4c..1e79e27 100644 --- a/deploy/crds/vms-crd.yaml +++ b/deploy/crds/vms-crd.yaml @@ -1486,6 +1486,27 @@ spec: by the runner if password protection is not enabled. type: integer default: 0 + assignment: + description: >- + The assignment of this VM to a a particular user. + type: object + properties: + pool: + description: >- + The pool this VM is taken from. + type: string + default: "" + user: + description: >- + The user this VM is assigned to. + type: string + default: "" + lastUsed: + description: >- + The last time this VM was used by the user. + type: string + default: "1970-01-01T00:00:00Z" + default: {} conditions: description: >- List of component conditions observed