-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Pluralize topologySpreadConstraint to match docs #1089
Conversation
@@ -145,7 +145,7 @@ type RunnerPodSpec struct { | |||
HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"` | |||
|
|||
// +optional | |||
TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraint,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey! Thanks for the correction.
Could you instead add a new field so that we can safely remove it in a later version (like v1alpha2)?
ac017f0
to
25570a0
Compare
@BeyondEvil Hey! It would be great if you could submit another pull request as a successor to this. In that PR code after the change should look like this:
And in our controller we should read |
65ca082
to
6ecb7f7
Compare
I discussed with @toast-gear and decided to just make it a breaking change, assuming not everyone uses this feature and ARC is still pre 1.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution @cbui
Hey @mumoshu Do you still need these changes? If so, I might be able to get them done today. |
Original PR:
https://github.com/actions-runner-controller/actions-runner-controller/pull/814/files#diff-25283fab3c6d5fa726652c8741a122c1ba14d8486fe092774617a385e4bc1a92R145
Fixes: #984
This is a breaking change for users that have figured out that the field should have been singular.