Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use deployment strategy: Recreate for scheduler and websocket deployments to avoid coexisting replicas #318

Merged
merged 2 commits into from
Feb 6, 2025
Merged
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 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