Moved from GitHub charts/19
Posted by bcorijn:
When trying to deploy the chart with the alpha antiAffinity set to hard, I get the following error:
Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(StatefulSet.spec.template.spec.affinity.podAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution): invalid type for io.k8s.api.core.v1.PodAntiAffinity.requiredDuringSchedulingIgnoredDuringExecution: got "map", expected "array"
Setting it to soft works perfectly fine, so I assume it’s just a syntax issue. Setting it to hard on the zeros also works fine.