Closed eikster-dk closed 1 year ago
Right now there isn't a way to do this. The yaml block for topologySpreadConstraints is directly inserted into the yaml for the Deployment or Statefulset.
@henryrecker-pingidentity is this something ping identity is up for discussing on how to improve, so it can run through the template engine or somehow improved so we don't have to use hardcode it?
@eikster-dk Yes, I'll open an issue internally to improve this.
Updated workload to have matchLabels use the default labels.
@eikster-dk These labels should now be setting automatically to match the workload with the new 0.9.12 release.
Hello
I want some guidance in settings the
topologySpreadConstraints
correctly for Directory and ping federate. Currently it requires you to set the match selectors manually and this requires you to hardcode the matchSelectors in the values fileIs there a way to get the matchLabels dynamically set to the same as the resulting workload labels?
example: