fix(chart): honor kube-scheduler image pull secrets - #2976
Conversation
scheduler.kubeScheduler.image.pullSecrets,可能导致私有 kube-scheduler 镜像拉取失败|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthroughThe scheduler extender helper now resolves pull secrets from the extender image and, when enabled, the kube-scheduler image. ChangesScheduler image pull secret resolution
Estimated code review effort: 2 (Simple) | ~5 minutes Merge Risk: ⚪ Minimal · up to Scheduler pods now include pull secrets configured for an enabled kube-scheduler image alongside existing secrets, allowing private scheduler images to be pulled. No current merge-blocking risk remains. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
718dffd to
16ef415
Compare
Signed-off-by: spencercjh <jiahao.cai@dynamia.ai>
16ef415 to
e8d7220
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/assign @mesutoezdil |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FouoF, spencercjh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
The scheduler Pod currently includes global and extender image pull secrets but ignores
scheduler.kubeScheduler.image.pullSecrets. This can prevent a private kube-scheduler image from being pulled.Update the existing
hami.scheduler.extender.imagePullSecretshelper to include kube-scheduler pull secrets when its container is enabled, while retaining global and extender secrets.Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Yes.
scheduler.kubeScheduler.image.pullSecretsnow contributes to the scheduler Pod'simagePullSecretswhen kube-scheduler is enabled.Summary by CodeRabbit