MCO-1870: Update MachineConfigNode printcolumns#2678
MCO-1870: Update MachineConfigNode printcolumns#2678isabella-janssen wants to merge 1 commit intoopenshift:masterfrom
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@isabella-janssen: This pull request references MCO-1870 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Hello @isabella-janssen! Some important instructions when contributing to openshift/api: |
📝 WalkthroughWalkthroughThis pull request refactors machine configuration node status tracking by replacing a single combined condition 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
|
@isabella-janssen: This pull request references MCO-1870 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
1 similar comment
|
@isabella-janssen: This pull request references MCO-1870 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
@isabella-janssen: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| // +kubebuilder:printcolumn:name="UpdatedFilesAndOS",type="string",JSONPath=.status.conditions[?(@.type=="AppliedFilesAndOS")].status,priority=1 | ||
| // +kubebuilder:printcolumn:name="AppliedOSImage",type="string",JSONPath=.status.conditions[?(@.type=="AppliedOSImage")].status,priority=1 | ||
| // +kubebuilder:printcolumn:name="AppliedFiles",type="string",JSONPath=.status.conditions[?(@.type=="AppliedFiles")].status,priority=1 |
There was a problem hiding this comment.
I looked back at the .status.conditions field and it is mentioned that the AppliedOSImage and AppliedFiles conditions are only available when the ImageModeStatusReporting feature gate is enabled.
I took a look and it looks like that feature gate isn't enabled by default:
Lines 277 to 283 in c16ec2b
Are these status conditions no longer blocked by enablement of the feature gate?
User description
This updates the printcolumns for MachineConfigNodes to align with the changes made for MCO-1870:
AppliedOSImageandAppliedFilesconditionsUpdatedFilesAndOSconditionPR Type
Enhancement
Description
Replace
UpdatedFilesAndOSprintcolumn withAppliedOSImageandAppliedFilesUpdate condition type references from
AppliedFilesAndOSto separate conditionsSynchronize changes across all CRD manifest files and feature-gated variants
Diagram Walkthrough
File Walkthrough
1 files
Update kubebuilder printcolumn annotations for conditions25 files
Update printcolumns in Hypershift CustomNoUpgrade CRD manifestUpdate printcolumns in Hypershift Default CRD manifestUpdate printcolumns in Hypershift DevPreviewNoUpgrade CRD manifestUpdate printcolumns in Hypershift OKD CRD manifestUpdate printcolumns in Hypershift TechPreviewNoUpgrade CRD manifestUpdate printcolumns in SelfManagedHA CustomNoUpgrade CRD manifestUpdate printcolumns in SelfManagedHA Default CRD manifestUpdate printcolumns in SelfManagedHA DevPreviewNoUpgrade CRD manifestUpdate printcolumns in SelfManagedHA OKD CRD manifestUpdate printcolumns in SelfManagedHA TechPreviewNoUpgrade CRD manifestUpdate printcolumns in featuregated CRD manifests aggregationUpdate printcolumns in ImageModeStatusReporting feature gateUpdate printcolumns in IrreconcilableMachineConfig feature gateUpdate printcolumns in MachineConfigNodes feature gateUpdate printcolumns in NoRegistryClusterInstall feature gateUpdate printcolumns in payload Hypershift CustomNoUpgrade manifestUpdate printcolumns in payload Hypershift Default manifestUpdate printcolumns in payload Hypershift DevPreviewNoUpgrade manifestUpdate printcolumns in payload Hypershift OKD manifestUpdate printcolumns in payload Hypershift TechPreviewNoUpgrademanifestUpdate printcolumns in payload SelfManagedHA CustomNoUpgrade manifestUpdate printcolumns in payload SelfManagedHA Default manifestUpdate printcolumns in payload SelfManagedHA DevPreviewNoUpgrademanifestUpdate printcolumns in payload SelfManagedHA OKD manifestUpdate printcolumns in payload SelfManagedHA TechPreviewNoUpgrademanifest