From f11c2a1a7a6935c8baa8186760b0656ff602822b Mon Sep 17 00:00:00 2001 From: sungil Date: Tue, 16 May 2023 06:02:07 +0000 Subject: [PATCH] primary-cluster: add mutex with organization_id for synchronization --- deploy_apps/tks-primary-cluster.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy_apps/tks-primary-cluster.yaml b/deploy_apps/tks-primary-cluster.yaml index 753c5cac..7dc6ab18 100644 --- a/deploy_apps/tks-primary-cluster.yaml +++ b/deploy_apps/tks-primary-cluster.yaml @@ -39,6 +39,9 @@ spec: templates: - name: set-primary-cluster + synchronization: + mutex: + name: primary-cluster-{{workflow.parameters.organization_id}} inputs: parameters: - name: primary_cluster @@ -517,6 +520,9 @@ spec: activeDeadlineSeconds: 900 - name: sub-get-cluster + synchronization: + mutex: + name: primary-cluster-{{workflow.parameters.organization_id}} volumes: - name: out emptyDir: {}