File tree 2 files changed +46
-0
lines changed
2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apiextensions.k8s.io/v1
2
+ kind : CustomResourceDefinition
3
+ metadata :
4
+ # name must match the spec fields below, and be in the form: <plural>.<group>
5
+ name : applications.alpha.keroku.com
6
+ spec :
7
+ # group name to use for REST API: /apis/<group>/<version>
8
+ group : alpha.keroku.com
9
+ # list of versions supported by this CustomResourceDefinition
10
+ versions :
11
+ - name : v1alpha
12
+ # Each version can be enabled/disabled by Served flag.
13
+ served : true
14
+ # One and only one version must be marked as the storage version.
15
+ storage : true
16
+ schema :
17
+ openAPIV3Schema :
18
+ type : object
19
+ properties :
20
+ spec :
21
+ type : object
22
+ properties :
23
+ cronSpec :
24
+ type : string
25
+ image :
26
+ type : string
27
+ replicas :
28
+ type : integer
29
+ scope : Cluster
30
+ names :
31
+ # plural name to be used in the URL: /apis/<group>/<version>/<plural>
32
+ plural : applications
33
+ # singular name to be used as an alias on the CLI and for display
34
+ singular : application
35
+ # kind is normally the CamelCased singular type. Your resource manifests use this.
36
+ kind : Application
37
+ # shortNames allow shorter string to match your resource on the CLI
38
+ shortNames :
39
+ - app
Original file line number Diff line number Diff line change
1
+ apiVersion : " alpha.keroku.com/v1alpha"
2
+ kind : Application
3
+ metadata :
4
+ name : my-new-app-object
5
+ spec :
6
+ cronSpec : " * * * * */5"
7
+ image : my-awesome-cron-image
You can’t perform that action at this time.
0 commit comments