From 5a1a77861eb462e1ac288f73978546f28ae8c73e Mon Sep 17 00:00:00 2001 From: Patrik Egyed Date: Mon, 2 Aug 2021 17:57:41 +0200 Subject: [PATCH] fix(Cadence): fixed clusterMetadata 0.19 --- cadence/Chart.yaml | 2 +- cadence/templates/server-configmap.yaml | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/cadence/Chart.yaml b/cadence/Chart.yaml index ad6f84b4..bee2cf9e 100644 --- a/cadence/Chart.yaml +++ b/cadence/Chart.yaml @@ -1,5 +1,5 @@ name: cadence -version: 0.19.0 +version: 0.19.1 appVersion: 0.20.0 description: Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way. icon: https://raw.githubusercontent.com/uber/cadence-web/master/client/assets/logo.svg diff --git a/cadence/templates/server-configmap.yaml b/cadence/templates/server-configmap.yaml index e158bfd9..d6cdd113 100644 --- a/cadence/templates/server-configmap.yaml +++ b/cadence/templates/server-configmap.yaml @@ -148,24 +148,13 @@ data: enableGlobalDomain: {{ `{{ default .Env.ENABLE_GLOBAL_DOMAIN "false" }}` }} failoverVersionIncrement: 10 masterClusterName: "primary" - {{- if `{{ .Env.IS_NOT_PRIMARY }}` }} - currentClusterName: "secondary" - {{- else }} currentClusterName: "primary" - {{- end }} clusterInformation: primary: enabled: true initialFailoverVersion: 0 rpcName: "cadence-frontend" rpcAddress: {{ `{{ default .Env.PRIMARY_SEEDS "cadence" }}` }}:7933 - {{- if `{{ .Env.ENABLE_GLOBAL_DOMAIN }}` }} - secondary: - enabled: true - initialFailoverVersion: 2 - rpcName: "cadence-frontend" - rpcAddress: {{ `{{ default .Env.SECONDARY_SEEDS "cadence-secondary" }}` }}:7933 - {{- end }} dcRedirectionPolicy: policy: {{ `{{ default .Env.DC_REDIRECT_POLICY "selected-apis-forwarding" }}` }}