Skip to content

Commit

Permalink
fix configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
sacreman committed Sep 14, 2021
1 parent 1f3e169 commit e0cf95c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/provider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
42 changes: 21 additions & 21 deletions charts/provider/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e0cf95c

Please sign in to comment.