OCPBUGS-59649, CNTRLPLANE-1398: feat(globalps): security enhancements on GlobalPullSecret feature - #6745
Conversation
|
Skipping CI for Draft Pull Request. |
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
WalkthroughExpand platform gating to Azure and AWS; refactor global pull-secret handling to maintain an "original" secret and optional merged "global" secret, remove RBAC, add config-seed labeling on the DaemonSet, fetch HostedControlPlane by name, and replace the controller-runtime syncer with a periodic file-driven sync loop. (50 words) Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Pre-merge checks and finishing touches and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
1106e90 to
2257739
Compare
68d44f7 to
9f5a84e
Compare
|
/test unit |
|
/test verify |
|
/test e2e-aws |
|
/test e2e-aks |
Test Resultse2e-aws
Failed TestsTotal failed tests: 21
... and 16 more failed tests e2e-aks
|
9f5a84e to
ed6005c
Compare
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
|
/test e2e-aws |
|
Hey @gaol The only change included is the size of the nodes in the E2E + the client used to list the nodes in the GlobalPS controller. I've verified the right functioning already, but if you want to take a look again is fine. |
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (lgao@redhat.com), skipping review request. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
|
/test e2e-aks |
|
/lgtm |
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (lgao@redhat.com), skipping review request. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (lgao@redhat.com), skipping review request. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
| type Reconciler struct { | ||
| cpClient crclient.Client | ||
| kubeSystemSecretClient crclient.Client | ||
| nodeClient crclient.Client |
There was a problem hiding this comment.
@jparrill I actually don't get it where this nodeClient is used ?
There was a problem hiding this comment.
Sometimes Claude trolls me a lot..., thanks for the heads up, updating the PR
|
/retest-required |
…GlobalPullSecret - Add logic to preserve trailing newlines when updating kubelet config.json - Refactor EnsureGlobalPullSecret E2E test to run as proper subtest - Add validation for NodePool upgrade type compatibility This fix ensures kubelet config files maintain their original formatting when updated by the global pull secret syncer, preventing potential configuration inconsistencies. Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
|
Last changes:
|
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (lgao@redhat.com), skipping review request. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (lgao@redhat.com), skipping review request. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
|
/retest-required |
…est scale Improves autoscaling test robustness and scale to better validate behavior: Configuration changes: - Use RandomExpander instead of LeastWasteExpander for better distribution probability - Increase MaxFreeDifferenceRatioPercent to 70% for more permissive balancing - Set m5.xlarge instance types to ensure adequate memory capacity - Increase MaxNodesTotal from 4 to 6 nodes for larger scale testing Test validation improvements: - Increase workload from 4 to 6 jobs to match node scaling - Relax balancing check to accept 2+4, 3+3, 4+2 distributions (≥2 nodes per NodePool) - Reject extreme imbalances (≤1 nodes in any NodePool) - Update comments and log messages to reflect new expectations The cluster-autoscaler behavior is correct - it doesn't guarantee perfect balance, only reasonable distribution within the configured threshold. Test expectations now align with actual autoscaler behavior based on cluster state analysis. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
|
@jparrill: This pull request references Jira Issue OCPBUGS-59649, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (lgao@redhat.com), skipping review request. This pull request references CNTRLPLANE-1398 which is a valid jira issue. 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. |
|
/retest-required |
|
/test e2e-aks |
|
@jparrill: 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. |
|
/verified by @gaol |
|
@gaol: This PR has been marked as verified by 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. |
|
/lgtm |
|
@jparrill: Jira Issue Verification Checks: Jira Issue OCPBUGS-59649 Jira Issue OCPBUGS-59649 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓 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. |
|
Fix included in accepted release 4.21.0-0.nightly-2025-11-15-144034 |
What this PR does / why we need it
This PR includes several enhancements to the GlobalPullSecret feature:
on content changes
calls in DaemonSet
registry conflicts
E2E adjustments
Added commit from #6736 to allow E2E testing to work as expected
Which issue(s) this PR fixes