Skip to content

Commit

Permalink
Update start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hunhoffe authored Feb 14, 2022
1 parent 7f4e5b2 commit 5d81117
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ prepare_for_openwhisk() {
printf "%s: %s\n" "$(date +"%T.%N")" "Created openwhisk namespace in Kubernetes."

cp /local/repository/mycluster.yaml $INSTALL_DIR/openwhisk-deploy-kube/mycluster.yaml
sudo chown $USER:$PROFILE_GROUP $INSTALL_DIR/openwhisk-deploy-kube/mycluster.yaml
sudo chmod -R g+rw $INSTALL_DIR/openwhisk-deploy-kube/mycluster.yaml
sed -i.bak "s/REPLACE_ME_WITH_IP/$1/g" $INSTALL_DIR/openwhisk-deploy-kube/mycluster.yaml
printf "%s: %s\n" "$(date +"%T.%N")" "Added actual primary node IP to $INSTALL_DIR/openwhisk-deploy-kube/mycluster.yaml"
}
Expand Down

0 comments on commit 5d81117

Please sign in to comment.