added basic support

This commit is contained in:
2025-04-02 04:39:27 +03:00
parent d83bc3368a
commit 27d24e5b1d
6 changed files with 166 additions and 49 deletions

View File

@@ -90,6 +90,8 @@ spec:
working_dir:
type: string
type: object
storage:
type: string
type: object
status:
description: ServerManagerStatus defines the observed state of ServerManager

View File

@@ -6,4 +6,12 @@ metadata:
app.kubernetes.io/managed-by: kustomize
name: servermanager-sample
spec:
# TODO(user): Add fields here
id: test-serverr
storage: 10Gi
server:
"on": true
image: git.acooldomain.co/server-manager/minecraft:paper-1.21.4
working_dir: /opt/server
ports:
- protocol: TCP
port: 25565