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: config/300-addressableservice.yaml
+46-9Lines changed: 46 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,33 @@ spec:
29
29
status: {}
30
30
schema:
31
31
openAPIV3Schema:
32
+
description: |-
33
+
AddressableService is a Knative abstraction that encapsulates the interface by which Knative
34
+
components express a desire to have a particular image cached.
32
35
type: object
33
36
properties:
37
+
apiVersion:
38
+
description: |-
39
+
APIVersion defines the versioned schema of this representation of an object.
40
+
Servers should convert recognized schemas to the latest internal value, and
41
+
may reject unrecognized values.
42
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43
+
type: string
44
+
kind:
45
+
description: |-
46
+
Kind is a string value representing the REST resource this object represents.
47
+
Servers may infer this from the endpoint the client submits requests to.
48
+
Cannot be updated.
49
+
In CamelCase.
50
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
51
+
type: string
52
+
metadata:
53
+
type: object
34
54
spec:
35
55
description: Spec holds the desired state of the AddressableService (from the client).
36
56
type: object
57
+
required:
58
+
- serviceName
37
59
properties:
38
60
serviceName:
39
61
description: ServiceName holds the name of the Kubernetes Service to expose as an "addressable".
@@ -45,11 +67,11 @@ spec:
45
67
address:
46
68
description: Address holds the information needed to connect this Addressable up to receive events.
47
69
type: object
48
-
required:
49
-
- url
50
70
properties:
51
71
CACerts:
52
-
description: CACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.
72
+
description: |-
73
+
CACerts is the Certification Authority (CA) certificates in PEM format
74
+
according to https://www.rfc-editor.org/rfc/rfc7468.
53
75
type: string
54
76
audience:
55
77
description: Audience is the OIDC audience for this address.
@@ -60,20 +82,31 @@ spec:
60
82
url:
61
83
type: string
62
84
annotations:
63
-
description: Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
85
+
description: |-
86
+
Annotations is additional Status fields for the Resource to save some
87
+
additional State as well as convey more information to the user. This is
88
+
roughly akin to Annotations on any k8s resource, just the reconciler conveying
89
+
richer information outwards.
64
90
type: object
65
-
x-kubernetes-preserve-unknown-fields: true
91
+
additionalProperties:
92
+
type: string
66
93
conditions:
67
94
description: Conditions the latest available observations of a resource's current state.
68
95
type: array
69
96
items:
97
+
description: |-
98
+
Condition defines a readiness condition for a Knative resource.
description: LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).
106
+
description: |-
107
+
LastTransitionTime is the last time the condition transitioned from one status to another.
108
+
We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
109
+
differences (all other things held constant).
77
110
type: string
78
111
message:
79
112
description: A human readable message indicating details about the transition.
@@ -82,7 +115,9 @@ spec:
82
115
description: The reason for the condition's last transition.
83
116
type: string
84
117
severity:
85
-
description: Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.
118
+
description: |-
119
+
Severity with which to treat failures of this type of condition.
120
+
When this is not specified, it defaults to Error.
86
121
type: string
87
122
status:
88
123
description: Status of the condition, one of True, False, Unknown.
@@ -91,7 +126,9 @@ spec:
91
126
description: Type of condition.
92
127
type: string
93
128
observedGeneration:
94
-
description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
129
+
description: |-
130
+
ObservedGeneration is the 'Generation' of the Service that
Copy file name to clipboardExpand all lines: config/300-simpledeployment.yaml
+46-6Lines changed: 46 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,34 @@ spec:
29
29
status: {}
30
30
schema:
31
31
openAPIV3Schema:
32
+
description: |-
33
+
SimpleDeployment is a Knative abstraction that encapsulates the interface by which Knative
34
+
components express a desire to have a particular image cached.
32
35
type: object
33
36
properties:
37
+
apiVersion:
38
+
description: |-
39
+
APIVersion defines the versioned schema of this representation of an object.
40
+
Servers should convert recognized schemas to the latest internal value, and
41
+
may reject unrecognized values.
42
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
43
+
type: string
44
+
kind:
45
+
description: |-
46
+
Kind is a string value representing the REST resource this object represents.
47
+
Servers may infer this from the endpoint the client submits requests to.
48
+
Cannot be updated.
49
+
In CamelCase.
50
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
51
+
type: string
52
+
metadata:
53
+
type: object
34
54
spec:
35
55
description: Spec holds the desired state of the SimpleDeployment (from the client).
36
56
type: object
57
+
required:
58
+
- image
59
+
- replicas
37
60
properties:
38
61
image:
39
62
type: string
@@ -43,22 +66,35 @@ spec:
43
66
status:
44
67
description: Status communicates the observed state of the SimpleDeployment (from the controller).
45
68
type: object
69
+
required:
70
+
- readyReplicas
46
71
properties:
47
72
annotations:
48
-
description: Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
73
+
description: |-
74
+
Annotations is additional Status fields for the Resource to save some
75
+
additional State as well as convey more information to the user. This is
76
+
roughly akin to Annotations on any k8s resource, just the reconciler conveying
77
+
richer information outwards.
49
78
type: object
50
-
x-kubernetes-preserve-unknown-fields: true
79
+
additionalProperties:
80
+
type: string
51
81
conditions:
52
82
description: Conditions the latest available observations of a resource's current state.
53
83
type: array
54
84
items:
85
+
description: |-
86
+
Condition defines a readiness condition for a Knative resource.
description: LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).
94
+
description: |-
95
+
LastTransitionTime is the last time the condition transitioned from one status to another.
96
+
We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic
97
+
differences (all other things held constant).
62
98
type: string
63
99
message:
64
100
description: A human readable message indicating details about the transition.
@@ -67,7 +103,9 @@ spec:
67
103
description: The reason for the condition's last transition.
68
104
type: string
69
105
severity:
70
-
description: Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.
106
+
description: |-
107
+
Severity with which to treat failures of this type of condition.
108
+
When this is not specified, it defaults to Error.
71
109
type: string
72
110
status:
73
111
description: Status of the condition, one of True, False, Unknown.
@@ -76,7 +114,9 @@ spec:
76
114
description: Type of condition.
77
115
type: string
78
116
observedGeneration:
79
-
description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
117
+
description: |-
118
+
ObservedGeneration is the 'Generation' of the Service that
0 commit comments