Skip to content

Commit

Permalink
Use deployment strategy: Recreate for scheduler and websocket deploym…
Browse files Browse the repository at this point in the history
…ents to avoid coexisting replicas (#318)
  • Loading branch information
klml authored Feb 6, 2025
1 parent e6eefb2 commit 77ab5a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zammad/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: zammad
version: 13.0.9
version: 13.0.10
appVersion: 6.4.1-32
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
home: https://zammad.org
Expand Down
2 changes: 2 additions & 0 deletions zammad/templates/deployment-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ metadata:
checkov.io/skip2: CKV_K8S_9=Readiness Probe Should be Configured - not possible with scheduler
spec:
replicas: 1 # Not scalable, may only run once per cluster.
strategy:
type: Recreate
selector:
matchLabels:
{{- include "zammad.selectorLabels" . | nindent 6 }}
Expand Down
2 changes: 2 additions & 0 deletions zammad/templates/deployment-websocket.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ metadata:
{{- include "zammad.annotations" . | nindent 4 }}
spec:
replicas: 1 # Not scalable, may only run once per cluster.
strategy:
type: Recreate
selector:
matchLabels:
{{- include "zammad.selectorLabels" . | nindent 6 }}
Expand Down

0 comments on commit 77ab5a8

Please sign in to comment.