-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrd-csgo-server.yaml
38 lines (38 loc) · 1.01 KB
/
crd-csgo-server.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: csgoservers.csgooperator.shootingrange.github.com
spec:
group: csgooperator.shootingrange.github.com
versions:
- name: v1alpha1
served: true
storage: true
schema:
# schema used for validation
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
deploymentName:
type: string
replicas:
type: integer
minimum: 1
maximum: 10
status:
type: object
properties:
availableReplicas:
type: integer
# subresources for the custom resource
subresources:
# enables the status subresource
status: {}
names:
kind: CSGOServer
plural: csgoservers
singular: csgoserver
scope: Namespaced