We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 979af3d commit db5c8d6Copy full SHA for db5c8d6
charts/operator-wandb/charts/app/templates/deployment.yaml
@@ -43,6 +43,9 @@ spec:
43
{{- include "wandb.nodeSelector" . | nindent 6 }}
44
{{- include "wandb.priorityClassName" . | nindent 6 }}
45
{{- include "wandb.podSecurityContext" .Values.pod.securityContext | nindent 6 }}
46
+ {{- if .Values.topologySpreadConstraints.enabled }}
47
+ {{- include "wandb.topologySpreadConstraints" (dict "matchLabels" (fromYaml (include "app.labels" .))) | nindent 6 }}
48
+ {{- end }}
49
# Extend the pods shutdown grace period from the default of 30s to 60s.
50
# This goes in the pod template spec.
51
terminationGracePeriodSeconds: 60
0 commit comments