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: crds/operators.coreos.com_operatorconditions.yaml
+119Lines changed: 119 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,125 @@ spec:
19
19
scope: Namespaced
20
20
versions:
21
21
- name: v1
22
+
schema:
23
+
openAPIV3Schema:
24
+
description: OperatorCondition is a Custom Resource of type `OperatorCondition` which is used to convey information to OLM about the state of an operator.
25
+
type: object
26
+
required:
27
+
- metadata
28
+
properties:
29
+
apiVersion:
30
+
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
31
+
type: string
32
+
kind:
33
+
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
34
+
type: string
35
+
metadata:
36
+
type: object
37
+
spec:
38
+
description: OperatorConditionSpec allows a cluster admin to convey information about the state of an operator to OLM, potentially overriding state reported by the operator.
39
+
type: object
40
+
properties:
41
+
deployments:
42
+
type: array
43
+
items:
44
+
type: string
45
+
overrides:
46
+
type: array
47
+
items:
48
+
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
49
+
type: object
50
+
required:
51
+
- message
52
+
- reason
53
+
- status
54
+
- type
55
+
properties:
56
+
lastTransitionTime:
57
+
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
58
+
type: string
59
+
format: date-time
60
+
message:
61
+
description: message is a human readable message indicating details about the transition. This may be an empty string.
62
+
type: string
63
+
maxLength: 32768
64
+
observedGeneration:
65
+
description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
66
+
type: integer
67
+
format: int64
68
+
minimum: 0
69
+
reason:
70
+
description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
71
+
type: string
72
+
maxLength: 1024
73
+
minLength: 1
74
+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
75
+
status:
76
+
description: status of the condition, one of True, False, Unknown.
77
+
type: string
78
+
enum:
79
+
- "True"
80
+
- "False"
81
+
- Unknown
82
+
type:
83
+
description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: OperatorConditionStatus allows an operator to convey information its state to OLM. The status may trail the actual state of a system.
93
+
type: object
94
+
properties:
95
+
conditions:
96
+
type: array
97
+
items:
98
+
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
99
+
type: object
100
+
required:
101
+
- lastTransitionTime
102
+
- message
103
+
- reason
104
+
- status
105
+
- type
106
+
properties:
107
+
lastTransitionTime:
108
+
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
109
+
type: string
110
+
format: date-time
111
+
message:
112
+
description: message is a human readable message indicating details about the transition. This may be an empty string.
113
+
type: string
114
+
maxLength: 32768
115
+
observedGeneration:
116
+
description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
117
+
type: integer
118
+
format: int64
119
+
minimum: 0
120
+
reason:
121
+
description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
122
+
type: string
123
+
maxLength: 1024
124
+
minLength: 1
125
+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
126
+
status:
127
+
description: status of the condition, one of True, False, Unknown.
128
+
type: string
129
+
enum:
130
+
- "True"
131
+
- "False"
132
+
- Unknown
133
+
type:
134
+
description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
description: OperatorCondition is a Custom Resource of type `OperatorCondition` which is used to convey information to OLM about the state of an operator.
// Upgradeable indicates that the operator is upgradeable
9
+
Upgradeablestring="Upgradeable"
10
+
)
11
+
12
+
// OperatorConditionSpec allows a cluster admin to convey information about the state of an operator to OLM, potentially overriding state reported by the operator.
0 commit comments