Repository navigation
fix(controller): keep scheduled run names within DNS label limit - #3121
immanuwell wants to merge 1 commit into
Conversation
|
[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 |
|
🎉 Welcome to the Kubeflow Spark Operator! 🎉 Thanks for opening your first PR! We're happy to have you as part of our community 🚀 Here's what happens next:
Join the community:
Feel free to ask questions in the comments if you need any help or clarification! |
tariq-hasan
left a comment
There was a problem hiding this comment.
Hi @immanuwell! I have added a few comments.
|
/assign |
|
@immanuwell Please address the review comments so we can move forward with this PR. |
Signed-off-by: immanuwell <pchpr.00@list.ru>
1285b98 to
2e2fe94
Compare
|
@tariq-hasan everything is addressed, please take a look |
tariq-hasan
left a comment
There was a problem hiding this comment.
Thanks @immanuwell!
/lgtm
|
/cc @nabuskey |
Purpose of this PR
A 55 character
ScheduledSparkApplicationname is accepted, but even the shortestminutessuffix creates a 64 character run name.The child webhook rejects it, so the schedule never starts.
so this is still reachable after #2827
Related to #2602.
Proposed changes:
Reproduction
metadata.nameset to 55 lowercase lettersminutesmust be no more than 63 charactersChange Category
Rationale
Only names that already fail are changed. Working names stay byte for byte the same, so yeah this is pretty contained.
Checklist
Additional Notes
go test ./...,go vet ./..., andmake go-lintpass locally.