OperatorGroup [operators.coreos.com/v1]
- 描述
- OperatorGroup is the unit of multitenancy for OLM managed operators. It constrains the installation of operators in its namespace to a specified set of target namespaces.
- 类型
object- 必填
metadata
规格
.spec
- 描述
- OperatorGroupSpec is the spec for an OperatorGroup resource.
- 类型
object
.spec.selector
- 描述
- Selector selects the OperatorGroup's target namespaces.
- 类型
object
.spec.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.selector.matchExpressions[]
- 描述
- A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- 类型
object- 必填
keyoperator
.spec.selector.matchExpressions[].values
- 描述
- values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
- 类型
array
.spec.selector.matchExpressions[].values[]
- 类型
string
.spec.selector.matchLabels
- 描述
- matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
- 类型
object
.spec.targetNamespaces
- 描述
- TargetNamespaces is an explicit set of namespaces to target. If it is set, Selector is ignored.
- 类型
array
.spec.targetNamespaces[]
- 类型
string
.status
- 描述
- OperatorGroupStatus is the status for an OperatorGroupResource.
- 类型
object- 必填
lastUpdated
.status.conditions
- 描述
- Conditions is an array of the OperatorGroup's conditions.
- 类型
array
.status.conditions[]
- 描述
- 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 }
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
.status.namespaces
- 描述
- Namespaces is the set of target namespaces for the OperatorGroup.
- 类型
array
.status.namespaces[]
- 类型
string
.status.serviceAccountRef
- 描述
- ServiceAccountRef references the service account object specified.
- 类型
object
API 端点
可用的 API 端点如下:
/apis/operators.coreos.com/v1/namespaces/{namespace}/operatorgroupsDELETE: delete collection of OperatorGroupGET: list objects of kind OperatorGroupPOST: create a new OperatorGroup
/apis/operators.coreos.com/v1/namespaces/{namespace}/operatorgroups/{name}DELETE: delete the specified OperatorGroupGET: read the specified OperatorGroupPATCH: partially update the specified OperatorGroupPUT: replace the specified OperatorGroup
/apis/operators.coreos.com/v1/namespaces/{namespace}/operatorgroups/{name}/statusGET: read status of the specified OperatorGroupPATCH: partially update status of the specified OperatorGroupPUT: replace status of the specified OperatorGroup
/apis/operators.coreos.com/v1/namespaces/{namespace}/operatorgroups
- HTTP 方法
DELETE- 描述
- delete collection of OperatorGroup
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind OperatorGroup
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new OperatorGroup
- 查询参数
- 请求体参数
- HTTP 响应
/apis/operators.coreos.com/v1/namespaces/{namespace}/operatorgroups/{name}
- HTTP 方法
DELETE- 描述
- delete the specified OperatorGroup
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified OperatorGroup
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified OperatorGroup
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified OperatorGroup
- 查询参数
- 请求体参数
- HTTP 响应
/apis/operators.coreos.com/v1/namespaces/{namespace}/operatorgroups/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified OperatorGroup
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified OperatorGroup
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified OperatorGroup
- 查询参数
- 请求体参数
- HTTP 响应