This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika-helm.git


The following commit(s) were added to refs/heads/main by this push:
     new dcad99d  feat: add topologySpreadConstraints support in deployment 
(#24)
dcad99d is described below

commit dcad99d4af5ae3283a3974b9f123d2a69b95bbed
Author: thatmlopsguy <[email protected]>
AuthorDate: Mon Aug 4 17:08:18 2025 +0100

    feat: add topologySpreadConstraints support in deployment (#24)
    
    * feat: add topologySpreadConstraints support in deployment and values files
    
    * chore: bump version to 3.0.3-full in Chart.yaml
---
 Chart.yaml                | 2 +-
 templates/deployment.yaml | 4 ++++
 values.yaml               | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Chart.yaml b/Chart.yaml
index 2e85187..4e55c2a 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -20,7 +20,7 @@
 apiVersion: v2
 name: tika
 appVersion: "3.0.0.0-full"
-version: "3.0.2-full"
+version: "3.0.3-full"
 description: The official Helm chart for Apache Tika
 type: application
 keywords:
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index 37e4987..65c83d6 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -121,3 +121,7 @@ spec:
       tolerations:
         {{- toYaml . | nindent 8 }}
       {{- end }}
+      {{- with .Values.topologySpreadConstraints }}
+      topologySpreadConstraints:
+        {{- toYaml . | nindent 8 }}
+      {{- end }}
diff --git a/values.yaml b/values.yaml
index 5cee646..64693f7 100644
--- a/values.yaml
+++ b/values.yaml
@@ -120,6 +120,8 @@ tolerations: []
 
 affinity: {}
 
+topologySpreadConstraints: []
+
 networkPolicy:
   # networkPolicy.enabled -- Create a network policy to restrict traffic to 
pods
   # within the same namespace that include the label `<release>-client: true`.

Reply via email to