Config [operator.openshift.io/v1]
Esc
Start typing to search...
On this page

Config [operator.openshift.io/v1]

Description

Config specifies the behavior of the config operator which is responsible for creating the initial configuration of other components on the cluster. The operator also handles installation, migration or synchronization of cloud configurations for AWS and Azure cloud based clusters

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

Type
`object`
Required
  • spec

Specification

PropertyTypeDescription
apiVersionstringAPIVersion 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
kindstringKind 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
metadataObjectMetaStandard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
specobjectspec is the specification of the desired behavior of the Config Operator.
statusobjectstatus defines the observed status of the Config Operator.

.spec

Description

spec is the specification of the desired behavior of the Config Operator.

Type
`object`
PropertyTypeDescription
logLevelstringlogLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands.
Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
managementStatestringmanagementState indicates whether and how the operator should manage the component
observedConfig``observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because it is an input to the level for the operator
operatorLogLevelstringoperatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves.
Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
unsupportedConfigOverrides``unsupportedConfigOverrides overrides the final configuration that was computed by the operator. Red Hat does not support the use of this field. Misuse of this field could lead to unexpected behavior or conflict with other configuration options. Seek guidance from the Red Hat support before using this field. Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster.

.status

Description

status defines the observed status of the Config Operator.

Type
`object`
PropertyTypeDescription
conditionsarrayconditions is a list of conditions and their status
conditions[]objectOperatorCondition is just the standard condition fields.
generationsarraygenerations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
generations[]objectGenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.
latestAvailableRevisionintegerlatestAvailableRevision is the deploymentID of the most recent deployment
observedGenerationintegerobservedGeneration is the last generation change you’ve dealt with
readyReplicasintegerreadyReplicas indicates how many replicas are ready and at the desired state
versionstringversion is the level this availability applies to

.status.conditions

Description

conditions is a list of conditions and their status

Type
`array`

.status.conditions[]

Description

OperatorCondition is just the standard condition fields.

Type
`object`
Required
  • lastTransitionTime
  • status
  • type
PropertyTypeDescription
lastTransitionTimestringlastTransitionTime 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.
messagestring
reasonstring
statusstringstatus of the condition, one of True, False, Unknown.
typestringtype of condition in CamelCase or in foo.example.com/CamelCase.

.status.generations

Description

generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.

Type
`array`

.status.generations[]

Description

GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.

Type
`object`
Required
  • group
  • name
  • namespace
  • resource
PropertyTypeDescription
groupstringgroup is the group of the thing you’re tracking
hashstringhash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
lastGenerationintegerlastGeneration is the last generation of the workload controller involved
namestringname is the name of the thing you’re tracking
namespacestringnamespace is where the thing you’re tracking is
resourcestringresource is the resource type of the thing you’re tracking

API endpoints

The following API endpoints are available:

  • /apis/operator.openshift.io/v1/configs
    • DELETE: delete collection of Config
    • GET: list objects of kind Config
    • POST: create a Config
  • /apis/operator.openshift.io/v1/configs/{name}
    • DELETE: delete a Config
    • GET: read the specified Config
    • PATCH: partially update the specified Config
    • PUT: replace the specified Config
  • /apis/operator.openshift.io/v1/configs/{name}/status
    • GET: read status of the specified Config
    • PATCH: partially update status of the specified Config
    • PUT: replace status of the specified Config

/apis/operator.openshift.io/v1/configs

HTTP method
`DELETE`
Description
delete collection of Config

HTTP responses

HTTP codeReponse body
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP method
`GET`
Description
list objects of kind Config

HTTP responses

HTTP codeReponse body
200 - OKConfigList schema
401 - UnauthorizedEmpty
HTTP method
`POST`
Description
create a Config

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyConfig schema

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
201 - CreatedConfig schema
202 - AcceptedConfig schema
401 - UnauthorizedEmpty

/apis/operator.openshift.io/v1/configs/{name}

Global path parameters

ParameterTypeDescription
namestringname of the Config
HTTP method
`DELETE`
Description
delete a Config

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed

HTTP responses

HTTP codeReponse body
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP method
`GET`
Description
read the specified Config

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
401 - UnauthorizedEmpty
HTTP method
`PATCH`
Description
partially update the specified Config

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
401 - UnauthorizedEmpty
HTTP method
`PUT`
Description
replace the specified Config

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyConfig schema

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
201 - CreatedConfig schema
401 - UnauthorizedEmpty

/apis/operator.openshift.io/v1/configs/{name}/status

Global path parameters

ParameterTypeDescription
namestringname of the Config
HTTP method
`GET`
Description
read status of the specified Config

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
401 - UnauthorizedEmpty
HTTP method
`PATCH`
Description
partially update status of the specified Config

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
401 - UnauthorizedEmpty
HTTP method
`PUT`
Description
replace status of the specified Config

Query parameters

ParameterTypeDescription
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.

Body parameters

ParameterTypeDescription
bodyConfig schema

HTTP responses

HTTP codeReponse body
200 - OKConfig schema
201 - CreatedConfig schema
401 - UnauthorizedEmpty