Namespace bash functions under build
Introduce the simplest RestartPolicy and handling.
Add the dependency to gcfg

This patch adds the dependency to gcfg in order to parse configuration
files.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Add initial logrotate support.
Merge pull request #1234 from brendandburns/fix

Add initial logrotate support.
Refactor GCS parts of new release process
Added scheduler binaries plus other misc fixes

* Support cleaning out built docker images
* Use bash arrays in places
* Lock etcd version we are testing against
Add support for versions in dockerized build.
Document Kubernetes Release Process

This documentation covers the proposed release process that will improve
support for versioning builds from tarball.

There's also a diagram to explain how versioning works in face of other
commits being merged in parallel and the quirks of intermediate versions
close to the release window.

Addresses Issue #1226.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
go test -cover -race is fixed now
Add third_party/etcd to .gitignore

Otherwise the tree looks "dirty" after hack/install-etcd.sh is executed.

Tested:
- Ran `git status` after running `hack/install-etcd.sh`.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Don't stack trace on 301s
Merge pull request #1242 from lavalamp/fix

go test -cover -race is fixed now
Merge pull request #1240 from brendandburns/http

Don't stack trace on 301s
Merge pull request #1147 from dchen1107/restart

Introduce the simplest RestartPolicy and handling.
Add option to enable a simple CORS implementation for the api server
Move CORS handler wrapping into cmd/apiserver and switch config flag to a list of allowed origins
Move RecoverPanics to be the top level wrapped handler.  Add new method to be sure a logger has been generated instead of assuming one has.  Move regexp list compilation into a utility and pass regexp list into CORS.
Switch LogOf from panicking when logger is missing to creating logger with the defaults.
Update CORS tests to a table-based test and cover more cases.
Rebased and fixed test cases