Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
Rename TMP_CONF to TMP_DEST

Signed-off-by: Wei Tie <[email protected]>
  • Loading branch information
Wei Tie committed Jan 5, 2018
1 parent d6e2d9a commit 52a95eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netplugin-init/kubernetes/001-config-k8s-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ sed -i s/__KUBERNETES_SERVICE_HOST__/${KUBERNETES_SERVICE_HOST}/g $TMP_DEST
sed -i s/__KUBERNETES_SERVICE_PORT__/${KUBERNETES_SERVICE_PORT}/g $TMP_DEST

echo "INFO: Got K8S configs"
cat $TMP_CONF
cat $TMP_DEST

# put token after print out the contains
sed -i s/__SERVICEACCOUNT_TOKEN__/${SERVICEACCOUNT_TOKEN:-}/g $TMP_DEST

mv $TMP_CONF $K8S_DEST
mv $TMP_DEST $K8S_DEST

0 comments on commit 52a95eb

Please sign in to comment.