Closed fkrestan closed 1 year ago
Thanks for the contribution! I merged some changes that will probably need to be merged in/resolved against your changes.
I also agree with your comment with regards to "selectorLabels", I'll see what I can think of.
I merged some changes that will probably need to be merged in/resolved against your changes.
I've re-based against the latest develop
and updated the docstring to match the new style.
Great, thank you! I'm aiming to play around locally and get this reviewed/merged by the end of the week.
@fkrestan do we need to check that this hasn't been set if the user is deploying a Daemonset? Would that error, or just be ignored by the API?
@fkrestan do we need to check that this hasn't been set if the user is deploying a Daemonset? Would that error, or just be ignored by the API?
I've tested this and it seems to be ignored at least in effect:
topologySpreadConstraints
is part of the Pod API spec which is embedded in the DaemonSet so it makes sense that this passes API validation.kubectl describe
output, it seems to be applied and respected. I don't see any complaints in Kubernetes API nor controller manager logs.IMO there is no need to put any checks in place.
Resolves #260