|
27273 | 27273 | }
|
27274 | 27274 | }
|
27275 | 27275 | },
|
| 27276 | + "com.github.openshift.api.operator.v1.BootImageSkewEnforcementConfig": { |
| 27277 | + "description": "BootImageSkewEnforcementConfig is used to configure how boot image version skew is enforced on the cluster.", |
| 27278 | + "type": "object", |
| 27279 | + "required": [ |
| 27280 | + "mode" |
| 27281 | + ], |
| 27282 | + "properties": { |
| 27283 | + "manual": { |
| 27284 | + "description": "manual describes the current boot image of the cluster. This should be set to the oldest boot image used amongst all machine resources in the cluster. This must include either the RHCOS version of the boot image or the OCP release version which shipped with that RHCOS boot image. Required when mode is set to \"Manual\" and forbidden otherwise.", |
| 27285 | + "default": {}, |
| 27286 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.ClusterBootImageManual" |
| 27287 | + }, |
| 27288 | + "mode": { |
| 27289 | + "description": "mode determines the underlying behavior of skew enforcement mechanism. Valid values are Manual and None. Manual means that the cluster admin is expected to perform manual boot image updates and store the OCP & RHCOS version associated with the last boot image update in the manual field. In Manual mode, the MCO will prevent upgrades when the boot image skew exceeds the skew limit described by the release image. None means that the MCO will no longer monitor the boot image skew. This may affect the cluster's ability to scale. This field is required.", |
| 27290 | + "type": "string" |
| 27291 | + } |
| 27292 | + }, |
| 27293 | + "x-kubernetes-unions": [ |
| 27294 | + { |
| 27295 | + "discriminator": "mode", |
| 27296 | + "fields-to-discriminateBy": { |
| 27297 | + "manual": "Manual" |
| 27298 | + } |
| 27299 | + } |
| 27300 | + ] |
| 27301 | + }, |
| 27302 | + "com.github.openshift.api.operator.v1.BootImageSkewEnforcementStatus": { |
| 27303 | + "description": "BootImageSkewEnforcementStatus is the type for the status object. It represents the cluster defaults when the boot image skew enforcement configuration is undefined and reflects the actual configuration when it is defined.", |
| 27304 | + "type": "object", |
| 27305 | + "required": [ |
| 27306 | + "mode" |
| 27307 | + ], |
| 27308 | + "properties": { |
| 27309 | + "automatic": { |
| 27310 | + "description": "automatic describes the current boot image of the cluster. This will be populated by the MCO when performing boot image updates. This value will be compared against the cluster's skew limit to determine skew compliance. Required when mode is set to \"Automatic\" and forbidden otherwise.", |
| 27311 | + "default": {}, |
| 27312 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.ClusterBootImageAutomatic" |
| 27313 | + }, |
| 27314 | + "manual": { |
| 27315 | + "description": "manual describes the current boot image of the cluster. This will be populated by the MCO using the values provided in the spec.bootImageSkewEnforcement.manual field. This value will be compared against the cluster's skew limit to determine skew compliance. Required when mode is set to \"Manual\" and forbidden otherwise.", |
| 27316 | + "default": {}, |
| 27317 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.ClusterBootImageManual" |
| 27318 | + }, |
| 27319 | + "mode": { |
| 27320 | + "description": "mode determines the underlying behavior of skew enforcement mechanism. Valid values are Automatic, Manual and None. Automatic means that the MCO will perform boot image updates and store the OCP & RHCOS version associated with the last boot image update in the automatic field. Manual means that the cluster admin is expected to perform manual boot image updates and store the OCP & RHCOS version associated with the last boot image update in the manual field. In Automatic and Manual mode, the MCO will prevent upgrades when the boot image skew exceeds the skew limit described by the release image. None means that the MCO will no longer monitor the boot image skew. This may affect the cluster's ability to scale. This field is required.", |
| 27321 | + "type": "string" |
| 27322 | + } |
| 27323 | + }, |
| 27324 | + "x-kubernetes-unions": [ |
| 27325 | + { |
| 27326 | + "discriminator": "mode", |
| 27327 | + "fields-to-discriminateBy": { |
| 27328 | + "automatic": "Automatic", |
| 27329 | + "manual": "Manual" |
| 27330 | + } |
| 27331 | + } |
| 27332 | + ] |
| 27333 | + }, |
27276 | 27334 | "com.github.openshift.api.operator.v1.CSIDriverConfigSpec": {
|
27277 | 27335 | "description": "CSIDriverConfigSpec defines configuration spec that can be used to optionally configure a specific CSI Driver.",
|
27278 | 27336 | "type": "object",
|
|
27679 | 27737 | }
|
27680 | 27738 | }
|
27681 | 27739 | },
|
| 27740 | + "com.github.openshift.api.operator.v1.ClusterBootImageAutomatic": { |
| 27741 | + "description": "ClusterBootImageAutomatic is used to describe the cluster boot image in Automatic mode. It stores the RHCOS version of the boot image and the OCP release version which shipped with that RHCOS boot image. At least one of these values are required. If ocpVersion and rhcosVersion are defined, both values will be used for checking skew compliance. If only ocpVersion is defined, only that value will be used for checking skew compliance. If only rhcosVersion is defined, only that value will be used for checking skew compliance.", |
| 27742 | + "type": "object", |
| 27743 | + "properties": { |
| 27744 | + "ocpVersion": { |
| 27745 | + "description": "ocpVersion provides a string which represents the OCP version of the boot image. This field must match the OCP semver compatible format of x.y.z. This field must be between 5 and 10 characters long.", |
| 27746 | + "type": "string" |
| 27747 | + }, |
| 27748 | + "rhcosVersion": { |
| 27749 | + "description": "rhcosVersion provides a string which represents the RHCOS version of the boot image This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between 14 and 21 characters long.", |
| 27750 | + "type": "string" |
| 27751 | + } |
| 27752 | + } |
| 27753 | + }, |
| 27754 | + "com.github.openshift.api.operator.v1.ClusterBootImageManual": { |
| 27755 | + "description": "ClusterBootImageManual is used to describe the cluster boot image in Manual mode.", |
| 27756 | + "type": "object", |
| 27757 | + "required": [ |
| 27758 | + "mode" |
| 27759 | + ], |
| 27760 | + "properties": { |
| 27761 | + "mode": { |
| 27762 | + "description": "mode is used to configure which boot image field is defined in Manual mode. Valid values are OCPVersion and RHCOSVersion. OCPVersion means that the cluster admin is expected to set the OCP version associated with the last boot image update in the OCPVersion field. RHCOSVersion means that the cluster admin is expected to set the RHCOS version associated with the last boot image update in the RHCOSVersion field. This field is required.", |
| 27763 | + "type": "string" |
| 27764 | + }, |
| 27765 | + "ocpVersion": { |
| 27766 | + "description": "ocpVersion provides a string which represents the OCP version of the boot image. This field must match the OCP semver compatible format of x.y.z. This field must be between 5 and 10 characters long. Required when mode is set to \"OCPVersion\" and forbidden otherwise.", |
| 27767 | + "type": "string" |
| 27768 | + }, |
| 27769 | + "rhcosVersion": { |
| 27770 | + "description": "rhcosVersion provides a string which represents the RHCOS version of the boot image This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between 14 and 21 characters long. Required when mode is set to \"RHCOSVersion\" and forbidden otherwise.", |
| 27771 | + "type": "string" |
| 27772 | + } |
| 27773 | + }, |
| 27774 | + "x-kubernetes-unions": [ |
| 27775 | + { |
| 27776 | + "discriminator": "mode", |
| 27777 | + "fields-to-discriminateBy": { |
| 27778 | + "ocpVersion": "OCPVersion", |
| 27779 | + "rhcosVersion": "RHCOSVersion" |
| 27780 | + } |
| 27781 | + } |
| 27782 | + ] |
| 27783 | + }, |
27682 | 27784 | "com.github.openshift.api.operator.v1.ClusterCSIDriver": {
|
27683 | 27785 | "description": "ClusterCSIDriver object allows management and configuration of a CSI driver operator installed by default in OpenShift. Name of the object must be name of the CSI driver it operates. See CSIDriverName type for list of allowed values.\n\nCompatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).",
|
27684 | 27786 | "type": "object",
|
|
31004 | 31106 | "forceRedeploymentReason"
|
31005 | 31107 | ],
|
31006 | 31108 | "properties": {
|
| 31109 | + "bootImageSkewEnforcement": { |
| 31110 | + "description": "bootImageSkewEnforcement allows an admin to configure how boot image version skew is enforced on the cluster. When omitted, this will default to Automatic for clusters that support automatic boot image updates. For clusters that do not support automatic boot image updates, cluster upgrades will be disabled until a skew enforcement mode has been specified. When version skew is being enforced, cluster upgrades will be disabled until the version skew is deemed acceptable for the current release payload.", |
| 31111 | + "default": {}, |
| 31112 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.BootImageSkewEnforcementConfig" |
| 31113 | + }, |
31007 | 31114 | "failedRevisionLimit": {
|
31008 | 31115 | "description": "failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)",
|
31009 | 31116 | "type": "integer",
|
|
31060 | 31167 | "com.github.openshift.api.operator.v1.MachineConfigurationStatus": {
|
31061 | 31168 | "type": "object",
|
31062 | 31169 | "properties": {
|
| 31170 | + "bootImageSkewEnforcementStatus": { |
| 31171 | + "description": "bootImageSkewEnforcementStatus reflects what the latest cluster-validated boot image skew enforcement configuration is and will be used by Machine Config Controller while performing boot image skew enforcement. When omitted, the MCO has no knowledge of how to enforce boot image skew. When the MCO does not know how boot image skew should be enforced, cluster upgrades will be blocked until it can either automatically determine skew enforcement or there is an explicit skew enforcement configuration provided in the spec.bootImageSkewEnforcement field.", |
| 31172 | + "default": {}, |
| 31173 | + "$ref": "#/definitions/com.github.openshift.api.operator.v1.BootImageSkewEnforcementStatus" |
| 31174 | + }, |
31063 | 31175 | "conditions": {
|
31064 | 31176 | "description": "conditions is a list of conditions and their status",
|
31065 | 31177 | "type": "array",
|
|
0 commit comments