feat(argo-cd): Add support for topologySpreadConstraints (#917)

* feat(argo-cd): Add support for topologySpreadConstraints

Signed-off-by: Sander van Schie <sandervanschie@gmail.com>

* Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Sander van Schie 2021-09-17 15:57:26 +02:00 committed by GitHub
parent 91aaaf066f
commit 804cd4ec54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 102 additions and 2 deletions

View file

@ -143,6 +143,14 @@ controller:
tolerations: []
affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: ""
resources: {}
@ -323,6 +331,14 @@ dex:
tolerations: []
affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: ""
## Labels to set container specific security contexts
@ -390,6 +406,14 @@ redis:
tolerations: []
affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: ""
## Labels to set container specific security contexts
@ -535,6 +559,14 @@ server:
tolerations: []
affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: ""
## Labels to set container specific security contexts
@ -948,6 +980,14 @@ repoServer:
tolerations: []
affinity: {}
# Pod Topology Spread Constraints
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
# If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
priorityClassName: ""
## Labels to set container specific security contexts