From d9d80daa82bbb6ff1e1ceeb9d541c1b923fb6006 Mon Sep 17 00:00:00 2001 From: ns212 Date: Wed, 22 Sep 2021 17:47:00 +0100 Subject: [PATCH] interbtc: apply only available keys --- charts/polkabtc-parachain/Chart.yaml | 2 +- charts/polkabtc-parachain/templates/insert-keys-job.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/polkabtc-parachain/Chart.yaml b/charts/polkabtc-parachain/Chart.yaml index 79f34d7..e6e2e41 100644 --- a/charts/polkabtc-parachain/Chart.yaml +++ b/charts/polkabtc-parachain/Chart.yaml @@ -3,7 +3,7 @@ description: Helm chart for PolkaBTC type: application apiVersion: v2 -version: 0.2.25 +version: 0.2.26 appVersion: 2.0.0 home: https://interlay.io/ diff --git a/charts/polkabtc-parachain/templates/insert-keys-job.yaml b/charts/polkabtc-parachain/templates/insert-keys-job.yaml index 27e9dbe..179528d 100644 --- a/charts/polkabtc-parachain/templates/insert-keys-job.yaml +++ b/charts/polkabtc-parachain/templates/insert-keys-job.yaml @@ -25,11 +25,11 @@ spec: [ -f /etc/activation-keys/aura.json ] && curl --fail -s \ -H "Content-Type:application/json;charset=utf-8" \ -d @/etc/activation-keys/aura.json \ - http://{{ include "polkabtc.fullname" . }}-rpc:9933; + http://{{ include "polkabtc.fullname" . }}-rpc:9933 || echo 'Skipping aura.json'; [ -f /etc/activation-keys/gran.json ] && curl --fail -s \ -H "Content-Type:application/json;charset=utf-8" \ -d @/etc/activation-keys/gran.json \ - http://{{ include "polkabtc.fullname" . }}-rpc:9933 + http://{{ include "polkabtc.fullname" . }}-rpc:9933 || echo 'Skipping gran.json' volumeMounts: - name: activation-keys mountPath: "/etc/activation-keys"