Include a new "topologySpreadConstraint" snippet to all deployments
By default it won't be included, but if you set .Values.includeDefaultTopologySpreadConstraints it will add a topologySpreadConstraint to all deployments to balance pods between availability zones and hosts
Type of change
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
How has this been tested?
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
Description
Include a new "topologySpreadConstraint" snippet to all deployments
By default it won't be included, but if you set .Values.includeDefaultTopologySpreadConstraints it will add a topologySpreadConstraint to all deployments to balance pods between availability zones and hosts
Type of change
How has this been tested?
Checklist