From d17330e792e3b332a4fd5721a7db8dfd7f4221e2 Mon Sep 17 00:00:00 2001 From: Mastahac Bogdan Date: Thu, 14 Apr 2022 09:58:27 +0300 Subject: [PATCH] Quorum node (#32) * migrated quorum-node chart * added quorum config paths * migrated from files to value files * fixed blank lines * fixed comments * fixed annotations in values.yaml * fixed annotations in values.yaml * update chart version * fixed deployment reference in the post upgrade step --- charts/quorum-node/Chart.yaml | 2 +- .../templates/post-upgrade.propose-validators.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/quorum-node/Chart.yaml b/charts/quorum-node/Chart.yaml index 67a5a8ed..af34702b 100644 --- a/charts/quorum-node/Chart.yaml +++ b/charts/quorum-node/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/quorum-node/templates/post-upgrade.propose-validators.yaml b/charts/quorum-node/templates/post-upgrade.propose-validators.yaml index 5f87e19f..bc8b7e5c 100644 --- a/charts/quorum-node/templates/post-upgrade.propose-validators.yaml +++ b/charts/quorum-node/templates/post-upgrade.propose-validators.yaml @@ -23,11 +23,11 @@ spec: args: - "-cx" - " - kubectl scale --replicas=0 deployment/{{ include "quorumNode.Identifier" . }}-deployment; + kubectl scale --replicas=0 deployment/{{ include "quorumNode.fullname" . }}-deployment; sleep 120; - kubectl scale --replicas=1 deployment/{{ include "quorumNode.Identifier" . }}-deployment; + kubectl scale --replicas=1 deployment/{{ include "quorumNode.fullname" . }}-deployment; sleep 120; - kubectl exec -it deploy/{{ include "quorumNode.Identifier" . }}-deployment -- /etc/quorum/qdata/node-management/ibft_propose_all.sh; + kubectl exec -it deploy/{{ include "quorumNode.fullname" . }}-deployment -- /etc/quorum/qdata/node-management/ibft_propose_all.sh; " restartPolicy: Never ---