From e4ef679d5d7719672c350a5ba7edebc88618749f Mon Sep 17 00:00:00 2001 From: Ultradesu Date: Wed, 4 Feb 2026 16:40:43 +0200 Subject: [PATCH] Bump yacy --- yacy/Chart.yaml | 2 +- yacy/templates/deployment.yaml | 7 +++++++ yacy/values.yaml | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/yacy/Chart.yaml b/yacy/Chart.yaml index dd4b0cb..9c0adeb 100644 --- a/yacy/Chart.yaml +++ b/yacy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: yacy description: A Helm chart for YaCy - a distributed peer-to-peer search engine type: application -version: 0.1.1 +version: 0.1.2 appVersion: "1.930" icon: https://yacy.net/images/yacy-logo.png home: https://yacy.net/ diff --git a/yacy/templates/deployment.yaml b/yacy/templates/deployment.yaml index 08b8e16..b33a37b 100644 --- a/yacy/templates/deployment.yaml +++ b/yacy/templates/deployment.yaml @@ -6,6 +6,13 @@ metadata: {{- include "yacy.labels" . | nindent 4 }} spec: replicas: {{ .Values.replicaCount }} + strategy: + type: {{ .Values.deploymentStrategy.type }} + {{- if eq .Values.deploymentStrategy.type "RollingUpdate" }} + rollingUpdate: + maxUnavailable: 1 + maxSurge: 1 + {{- end }} selector: matchLabels: {{- include "yacy.selectorLabels" . | nindent 6 }} diff --git a/yacy/values.yaml b/yacy/values.yaml index 7e312b7..8eb9c09 100644 --- a/yacy/values.yaml +++ b/yacy/values.yaml @@ -7,6 +7,13 @@ # if running multiple replicas replicaCount: 1 +# Deployment strategy configuration +deploymentStrategy: + # -- Strategy type: RollingUpdate or Recreate + # Recreate: stops old pod completely before starting new one + # RollingUpdate: creates new pod before stopping old one (default k8s behavior) + type: Recreate + # Image configuration image: # -- Set to true to use a locally built image