GoogleCloudPlatform/kubernetes — pull request #2405 by jbeda (2014-11-17 01:13:23+00:00)
Title: Fix up formatting and sed usage for heapster deploy.

Also, 'sed -i' isn't supported well across BSD and GNU versions of sed. See http://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux. And we were editing files that were checked in to git with a password. Instead, do this with class sed redirection in a temp dir.

Fixes #2400.