Skip to content

Commit

Permalink
Fix start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
S P Kesan authored and S P Kesan committed Aug 27, 2019
1 parent 69a4a12 commit 89d77d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RED='\033[0;31m'
NC='\033[0m'
GREEN='\033[0;32m'
PINK='\033[0;35m'
cat manifests/* | envsubst '$APP_NAME $NAMESPACE $AEROSPIKE_NODES $AEROSPIKE_NAMESPACE $AEROSPIKE_REPL $AEROSPIKE_MEM $AEROSPIKE_TTL $AEROSPIKE_FEATURE_KEY_FILE' > expanded.yaml
cat manifests/* | envsubst '$APP_NAME $NAMESPACE $AEROSPIKE_NODES $AEROSPIKE_NAMESPACE $AEROSPIKE_REPL $AEROSPIKE_MEM $AEROSPIKE_TTL' > expanded.yaml
if [ $? != 0 ]; then printf "Creating ${PINK}expanded.yaml${NC} - ${RED}Failed${NC}\n\n"; else printf "Creating ${PINK}expanded.yaml${NC} - ${GREEN}Success${NC}\n\n"; fi
kubectl create configmap aerospike-conf -n $NAMESPACE --from-file=configs/
if [ $? != 0 ]; then printf "Creating ${PINK}ConfigMap${NC} object - ${RED}Failed${NC}\n\n"; else printf "Creating ${PINK}ConfigMap${NC} object - ${GREEN}Success${NC}\n\n"; fi
Expand Down

0 comments on commit 89d77d8

Please sign in to comment.