OperatorCondition [operators.coreos.com/v1]
- Description
- OperatorCondition is a Custom Resource of type `OperatorCondition` which is used to convey information to OLM about the state of an operator.
- Type
object- Required
metadata
Specification
.spec
- Description
- OperatorConditionSpec allows an operator to report state to OLM and provides cluster admin with the ability to manually override state reported by the operator.
- Type
object
.spec.conditions
- Type
array
.spec.conditions[]
- 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"` // other fields }
- Type
object- Required
lastTransitionTimemessagereasonstatustype
.spec.deployments
- Type
array
.spec.deployments[]
- Type
string
.spec.overrides
- Type
array
.spec.overrides[]
- 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"` // other fields }
- Type
object- Required
messagereasonstatustype
.spec.serviceAccounts
- Type
array
.spec.serviceAccounts[]
- Type
string
.status
- Description
- OperatorConditionStatus allows OLM to convey which conditions have been observed.
- Type
object
.status.conditions
- Type
array
.status.conditions[]
- 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"` // other fields }
- Type
object- Required
lastTransitionTimemessagereasonstatustype
API Endpoints
The following API endpoints are available:
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditionsDELETE: delete collection of OperatorConditionGET: list objects of kind OperatorConditionPOST: create a new OperatorCondition
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}DELETE: delete the specified OperatorConditionGET: read the specified OperatorConditionPATCH: partially update the specified OperatorConditionPUT: replace the specified OperatorCondition
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}/statusGET: read status of the specified OperatorConditionPATCH: partially update status of the specified OperatorConditionPUT: replace status of the specified OperatorCondition
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions
- HTTP method
DELETE- Description
- delete collection of OperatorCondition
- HTTP responses
- HTTP method
GET- Description
- list objects of kind OperatorCondition
- HTTP responses
- HTTP method
POST- Description
- create a new OperatorCondition
- Query parameters
- Body parameters
- HTTP responses
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}
- HTTP method
DELETE- Description
- delete the specified OperatorCondition
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified OperatorCondition
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified OperatorCondition
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified OperatorCondition
- Query parameters
- Body parameters
- HTTP responses
/apis/operators.coreos.com/v2/namespaces/{namespace}/operatorconditions/{name}/status
- HTTP method
GET- Description
- read status of the specified OperatorCondition
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified OperatorCondition
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified OperatorCondition
- Query parameters
- Body parameters
- HTTP responses