Skip to content

Commit

Permalink
feat(aws-efs-csi-chart): Add an option to specify topologySpreadConst…
Browse files Browse the repository at this point in the history
…raints for the controller deployment resource.
  • Loading branch information
AviorSchreiber committed Aug 26, 2024
1 parent 2958368 commit 44cb888
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ .Values.controller.serviceAccount.name }}
{{- with .Values.controller.topologySpreadConstraints }}
topologySpreadConstraints:
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
priorityClassName: {{ .Values.controller.priorityClassName | default "system-cluster-critical" }}
{{- with .Values.controller.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ controller:
- key: efs.csi.aws.com/agent-not-ready
operator: Exists
affinity: {}
# -- Topology spread constraints.
topologySpreadConstraints: []
env: []
volumes: []
volumeMounts: []
Expand Down

0 comments on commit 44cb888

Please sign in to comment.