Closed zevisert closed 11 months ago
Here is the link to the type from the kubernetes API documentation for v1/PodSpec: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#podspec-v1-core:~:text=the%20pod%27s%20tolerations.-,topologySpreadConstraints,-TopologySpreadConstraint%20array%0Apatch
v1/PodSpec
You can see that topologySpreadConstraints is an array of TopologySpreadConstraint objects.
topologySpreadConstraints
TopologySpreadConstraint
The values.yaml here exports a default map, instead of an empty list.
https://github.com/companyinfo/helm-charts/blob/6ab22656613426432e05555873b06a3da9d8a93e/charts/helmet/values.yaml#L323-L326
Here is the link to the type from the kubernetes API documentation for
v1/PodSpec
: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#podspec-v1-core:~:text=the%20pod%27s%20tolerations.-,topologySpreadConstraints,-TopologySpreadConstraint%20array%0ApatchYou can see that
topologySpreadConstraints
is an array ofTopologySpreadConstraint
objects.The values.yaml here exports a default map, instead of an empty list.
https://github.com/companyinfo/helm-charts/blob/6ab22656613426432e05555873b06a3da9d8a93e/charts/helmet/values.yaml#L323-L326