Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/chatwoot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sources:
- http://www.chatwoot.com

# This is the chart version.
version: 2.0.24
version: 2.0.25


# This is the application version.
Expand Down
6 changes: 6 additions & 0 deletions charts/chatwoot/templates/web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ spec:
{{- if .Values.nodeSelector }}
nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }}
{{- end }}

{{- with .Values.web.topologySpreadConstraints }}
topologySpreadConstraints:
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }}
{{- end }}

containers:
- args:
- bundle
Expand Down
6 changes: 6 additions & 0 deletions charts/chatwoot/templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ spec:
{{- if .Values.nodeSelector }}
nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }}
{{- end }}

{{- with .Values.worker.topologySpreadConstraints }}
topologySpreadConstraints:
{{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 8 }}
{{- end }}

containers:
- args:
- bundle
Expand Down
6 changes: 6 additions & 0 deletions charts/chatwoot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ web:
minpods: 1
maxpods: 10
replicaCount: 1
# Topology spread constraints for web pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints: []

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Bump the chart version to publish these settings

When this change is merged to main, the release workflow invokes chart-releaser (.github/workflows/release.yaml, lines 31-34), but charts/chatwoot/Chart.yaml remains at the already released version 2.0.24. Without a new chart version, no package containing these topology-spread settings will be published, so users installing or upgrading from the repository cannot use the feature. Increment the chart version alongside this change.

Useful? React with 👍 / 👎.

livenessProbe:
initialDelaySeconds: 15
periodSeconds: 15
Expand Down Expand Up @@ -58,6 +61,9 @@ worker:
minpods: 2
maxpods: 10
replicaCount: 2
# Topology spread constraints for worker pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints: []
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
Expand Down
Loading