Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes and improvements to prctl (kubeflow#718)
* Fix the docker image; I switched the base image to alpine but didn't update the pkg commands from apt to apk. * Refactor the code to make it easier to write a unittest for the error regexes. * Use a global map for the regexes * Use named constants for the particular error types * We should be using CombinedOutput in order to get stdout and stderr when shelling out. * Mark required flags * Use working directory as default directory * Change flag name for push to refspec * Add an option to format logs as json * This is needed when running in cluster and using stackdriver so that multi line entries and metadata fields like level and filename are recorded as structured entries. * Add kustomize to the prctl image * This is a quick fix so we can use the prctl image to run hydration of manifests
- Loading branch information