Skip to content

Commit 5fe8ccc

Browse files
authored
Add helm values to support topologySpreadConstraints (#458)
Signed-off-by: Erwan Vallienne <[email protected]>
1 parent b083129 commit 5fe8ccc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/helm/reflector/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,8 @@ spec:
8787
tolerations:
8888
{{- toYaml . | nindent 8 }}
8989
{{- end }}
90+
{{- with .Values.topologySpreadConstraints }}
91+
topologySpreadConstraints:
92+
{{- toYaml . | nindent 8 }}
93+
{{- end }}
9094
{{- end }}

src/helm/reflector/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,6 @@ tolerations: []
102102

103103
affinity: {}
104104

105+
topologySpreadConstraints: []
106+
105107
priorityClassName: ""

0 commit comments

Comments
 (0)