diff --git a/charts/provider/Chart.yaml b/charts/provider/Chart.yaml index bc04be8f..a3bd512c 100644 --- a/charts/provider/Chart.yaml +++ b/charts/provider/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.4.0 +version: 0.5.0 # 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/provider/templates/configmap.yaml b/charts/provider/templates/configmap.yaml index bb7d3094..9d7f64d0 100644 --- a/charts/provider/templates/configmap.yaml +++ b/charts/provider/templates/configmap.yaml @@ -4,30 +4,30 @@ metadata: name: run-script data: run.sh: | - #!/bin/sh + #!/bin/sh - set -e + set -e - ## - # Configuration sanity check - ## + ## + # Configuration sanity check + ## - # shellcheck disable=SC2015 - [ -f "$AKASH_BOOT_KEYS/key.txt" ] && [ -f "$AKASH_BOOT_KEYS/key-pass.txt" ] || { - echo "Key information not found; AKASH_BOOT_KEYS is not configured properly" - exit 1 - } + # shellcheck disable=SC2015 + [ -f "$AKASH_BOOT_KEYS/key.txt" ] && [ -f "$AKASH_BOOT_KEYS/key-pass.txt" ] || { + echo "Key information not found; AKASH_BOOT_KEYS is not configured properly" + exit 1 + } - env | sort + env | sort - ## - # Import key - ## - /bin/akash --home="$AKASH_HOME" keys import --keyring-backend="$AKASH_KEYRING_BACKEND" "$AKASH_FROM" \ - "$AKASH_BOOT_KEYS/key.txt" < "$AKASH_BOOT_KEYS/key-pass.txt" + ## + # Import key + ## + /bin/akash --home="$AKASH_HOME" keys import --keyring-backend="$AKASH_KEYRING_BACKEND" "$AKASH_FROM" \ + "$AKASH_BOOT_KEYS/key.txt" < "$AKASH_BOOT_KEYS/key-pass.txt" - ## - # Run daemon - ## - #/akash --home=$AKASH_HOME provider run --cluster-k8s - /bin/akash --home="$AKASH_HOME" --node="$AKASH_NODE" --chain-id="$AKASH_CHAIN_ID" --keyring-backend="$AKASH_KEYRING_BACKEND" --from="$AKASH_FROM" provider run --cluster-k8s + ## + # Run daemon + ## + #/akash --home=$AKASH_HOME provider run --cluster-k8s + /bin/akash --home="$AKASH_HOME" --node="$AKASH_NODE" --chain-id="$AKASH_CHAIN_ID" --keyring-backend="$AKASH_KEYRING_BACKEND" --from="$AKASH_FROM" provider run --cluster-k8s