make
builds the binarymake docker
builds the docker container
To download the dependencies, typically this happens as part of make
, with make vendor
.
- Have your
--config-repo
checked out, and location in${CONFIG_REPO}
- Have your path to your projection mappings (
--manifests
) in${MANIFESTS_REPO}
- Create an
${OUTPUT_DIR}
to keep the generated manifests the tool spits out
$ docker run -it --rm \
-v "${OUTPUT_DIR}:/output" \
-v "${MANIFESTS_REPO}:/manifests:ro" \
-v "${CONFIG_REPO}:/config:ro" \
tumblr/k8s-config-projector:latest
Collect your generated ConfigMaps in ${OUTPUT_DIR}
!
$ make && ./bin/k8s-config-projector --debug --manifests=${MANIFESTS_REPO} --config-repo=${CONFIG_REPO} --output=${OUTPUT_DIR}
...
Collect your generated ConfigMaps in ${OUTPUT_DIR}
!