From 02272355647a912119dcaf20e611819e74f04e20 Mon Sep 17 00:00:00 2001 From: David Mayr Date: Sat, 7 Dec 2024 23:31:22 +0100 Subject: [PATCH 1/2] feat: add podIP and ingameTime to crd --- .../resources/kubernetes/strela.dev_minecraftservers.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml b/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml index a4db991..f2e04ee 100644 --- a/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml +++ b/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml @@ -7539,8 +7539,13 @@ spec: INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file type: boolean + ingameTime: + format: date-time + type: string playerCount: type: integer + podIP: + type: string ready: type: boolean type: object From 52966e8c26eddeace85668616ee4c06661ac9e92 Mon Sep 17 00:00:00 2001 From: David Mayr Date: Sun, 8 Dec 2024 00:07:59 +0100 Subject: [PATCH 2/2] feat: add other missing fields --- .../resources/kubernetes/strela.dev_minecraftservers.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml b/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml index f2e04ee..fb09eee 100644 --- a/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml +++ b/src/main/resources/kubernetes/strela.dev_minecraftservers.yaml @@ -49,6 +49,8 @@ spec: type: string maxPlayers: type: integer + serverType: + type: string template: description: PodTemplateSpec describes the data a pod should have when created from a template @@ -7548,6 +7550,9 @@ spec: type: string ready: type: boolean + readyTime: + format: date-time + type: string type: object type: object served: true