From f661637809a5889d5658c7e038b1c11ce6020836 Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Mon, 30 Sep 2024 17:51:30 +0200 Subject: [PATCH] fix(t8s-cluster): create separate etcd defrag jobs per cluster --- charts/t8s-cluster/templates/_etcd-defrag.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/t8s-cluster/templates/_etcd-defrag.yaml b/charts/t8s-cluster/templates/_etcd-defrag.yaml index 529315d1f..6accb909c 100644 --- a/charts/t8s-cluster/templates/_etcd-defrag.yaml +++ b/charts/t8s-cluster/templates/_etcd-defrag.yaml @@ -3,7 +3,7 @@ apiVersion: batch/v1 kind: CronJob metadata: - name: kube-etcd-defrag + name: {{ .hosted | ternary (printf "%s-kube-etcd-defrag" .Release.Name) "kube-etcd-defrag" }} namespace: {{ .hosted | ternary .Release.Namespace "kube-system" }} labels: {{- include "common.labels.standard" . | nindent 4 }} spec: