Skip to content

Commit c239ab3

Browse files
authored
Merge pull request #54 from aslafy-z/patch-1
feat(helm): add topologySpreadConstraints
2 parents 6edc790 + 94fcc0a commit c239ab3

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

charts/log-generator/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ helm install --wait --generate-name oci://ghcr.io/kube-logging/helm-charts/log-g
4646
| nodeSelector | object | `{}` | |
4747
| tolerations | list | `[]` | |
4848
| affinity | object | `{}` | |
49+
| topologySpreadConstraints | list | `[]` | |

charts/log-generator/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ spec:
5757
tolerations:
5858
{{- toYaml . | nindent 8 }}
5959
{{- end }}
60+
{{- with .Values.topologySpreadConstraints }}
61+
topologySpreadConstraints:
62+
{{- toYaml . | nindent 8 }}
63+
{{- end }}

charts/log-generator/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ nodeSelector: {}
8383
tolerations: []
8484

8585
affinity: {}
86+
87+
topologySpreadConstraints: []

0 commit comments

Comments
 (0)