You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/guestbook-operator/config/crd/bases/addons.example.org_guestbooks.yaml
+25-19Lines changed: 25 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,9 @@
1
-
2
1
---
3
2
apiVersion: apiextensions.k8s.io/v1
4
3
kind: CustomResourceDefinition
5
4
metadata:
6
5
annotations:
7
-
controller-gen.kubebuilder.io/version: v0.4.1
8
-
creationTimestamp: null
6
+
controller-gen.kubebuilder.io/version: v0.17.3
9
7
name: guestbooks.addons.example.org
10
8
spec:
11
9
group: addons.example.org
@@ -22,31 +20,40 @@ spec:
22
20
description: Guestbook is the Schema for the guestbooks API
23
21
properties:
24
22
apiVersion:
25
-
description: 'APIVersion defines the versioned schema of this representation
26
-
of an object. Servers should convert recognized schemas to the latest
27
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23
+
description: |-
24
+
APIVersion defines the versioned schema of this representation of an object.
25
+
Servers should convert recognized schemas to the latest internal value, and
26
+
may reject unrecognized values.
27
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
28
type: string
29
29
kind:
30
-
description: 'Kind is a string value representing the REST resource this
31
-
object represents. Servers may infer this from the endpoint the client
32
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30
+
description: |-
31
+
Kind is a string value representing the REST resource this object represents.
32
+
Servers may infer this from the endpoint the client submits requests to.
33
+
Cannot be updated.
34
+
In CamelCase.
35
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
33
36
type: string
34
37
metadata:
35
38
type: object
36
39
spec:
37
40
description: GuestbookSpec defines the desired state of Guestbook
38
41
properties:
39
42
channel:
40
-
description: 'Channel specifies a channel that can be used to resolve
41
-
a specific addon, eg: stable It will be ignored if Version is specified'
43
+
description: |-
44
+
Channel specifies a channel that can be used to resolve a specific addon, eg: stable
45
+
It will be ignored if Version is specified
42
46
type: string
43
47
patches:
44
48
items:
45
49
type: object
50
+
x-kubernetes-preserve-unknown-fields: true
46
51
type: array
52
+
x-kubernetes-preserve-unknown-fields: true
47
53
version:
48
-
description: Version specifies the exact addon version to be deployed,
49
-
eg 1.2.3 It should not be specified if Channel is specified
54
+
description: |-
55
+
Version specifies the exact addon version to be deployed, eg 1.2.3
56
+
It should not be specified if Channel is specified
0 commit comments