kubernetes-operator/config/crd/bases/server-manager.acooldomain.co_servermanagers.yaml
ACoolName 7ef824830e
Some checks failed
Build and Push Docker Image / Build image (push) Has been cancelled
added command and args to status
2025-04-05 22:35:43 +03:00

131 lines
4.5 KiB
YAML

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
name: servermanagers.server-manager.acooldomain.co
spec:
group: server-manager.acooldomain.co
names:
kind: ServerManager
listKind: ServerManagerList
plural: servermanagers
singular: servermanager
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ServerManager is the Schema for the servermanagers API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: ServerManagerSpec defines the desired state of ServerManager
properties:
browser:
properties:
"on":
type: boolean
type: object
server:
description: |-
INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file
properties:
args:
items:
type: string
type: array
command:
items:
type: string
type: array
image:
type: string
"on":
type: boolean
ports:
items:
properties:
port:
format: int32
type: integer
protocol:
description: Protocol defines network protocols supported
for things like container ports.
type: string
type: object
type: array
working_dir:
type: string
type: object
storage:
type: string
type: object
status:
description: ServerManagerStatus defines the observed state of ServerManager
properties:
browser:
properties:
running:
type: boolean
url:
type: string
type: object
server:
description: |-
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
Important: Run "make" to regenerate code after modifying this file
properties:
args:
items:
type: string
type: array
command:
items:
type: string
type: array
domain:
type: string
host_ports:
items:
properties:
host_port:
format: int32
type: integer
protocol:
description: Protocol defines network protocols supported
for things like container ports.
type: string
target_port:
format: int32
type: integer
type: object
type: array
running:
type: boolean
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}