Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 979 Bytes

hacking.md

File metadata and controls

40 lines (24 loc) · 979 Bytes

Hacking

Build

Want to build this thing yourself?

$ make
<magic!>
$ ./bin/k8s-sidecar-injector --help

Building the docker image is accomplished by make docker

Tests

$ make test

Image build

The image is build and published on the Hub at https://hub.docker.com/r/tumblr/k8s-sidecar-injector/. See /docs/deployment.md for how to run this in Kubernetes.

$ make docker

Run By Hand

This needs some special configuration surrounding the TLS certs, but if you have already read docs/configuration.md, you can run this manually with:

$ ./bin/k8s-sidecar-injector --tls-port=9000 --config-directory=conf/ --tls-cert-file="${TLS_CERT_FILE}" --tls-key-file="${TLS_KEY_FILE}"

NOTE: this is not a supported method of running in production. You are highly encouraged to read docs/deployment.md to deploy this to Kubernetes in The Supported Way.