From ebac9bae1c820493c5a43e71ad32dcc377ad5de2 Mon Sep 17 00:00:00 2001 From: Mykola Marusenko Date: Wed, 24 Apr 2024 19:48:43 +0300 Subject: [PATCH] chore: Switch cache to recreate strategy (#171) --- charts/tekton-cache/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/tekton-cache/templates/deployment.yaml b/charts/tekton-cache/templates/deployment.yaml index 580a2161..7db9dff5 100644 --- a/charts/tekton-cache/templates/deployment.yaml +++ b/charts/tekton-cache/templates/deployment.yaml @@ -6,6 +6,8 @@ metadata: {{- include "tekton-cache.labels" . | nindent 4 }} spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: {{- include "tekton-cache.selectorLabels" . | nindent 6 }}