forked from kubernetes-client/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspace.yaml
More file actions
36 lines (36 loc) · 1.21 KB
/
space.yaml
File metadata and controls
36 lines (36 loc) · 1.21 KB
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
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
# name must match the spec fields below, and be in the form: <plural>.<group>
name: spaces.tenancy.kiosk.sh
spec:
# group name to use for REST API: /apis/<group>/<version>
group: tenancy.kiosk.sh
# list of versions supported by this CustomResourceDefinition
versions:
- name: v1alpha1
# Each version can be enabled/disabled by Served flag.
served: true
# One and only one version must be marked as the storage version.
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
account:
type: string
# either Namespaced or Cluster
scope: Cluster
names:
# plural name to be used in the URL: /apis/<group>/<version>/<plural>
plural: spaces
# singular name to be used as an alias on the CLI and for display
singular: space
# kind is normally the CamelCased singular type. Your resource manifests use this.
kind: Space
# shortNames allow shorter string to match your resource on the CLI
#shortNames:
#- ct