New to Kubepack? Please start here.
Using Kubepack CLI
How to Get Dependencies
$ kubepack dep
command will get dependencies defined under dependencies
field in manifest.yaml
file. You can get specific version, branch or revision.
See tutorial of manifest.yaml. All the dependencies will appear in _vendor
folder.
You can get verbose output with --v=10
or -v 10
flag.
Edit File from _vendor Folder
$ kubepack edit -s <filepath>
command edit file, exists in _vendor
folder and generate patch in patch
folder.
This patch file-path will be same as _vendor
folder.
Note: filepath
: is relative file path.
Combine _vendor and patch files
$ kubepack up
command combine files from patch
and _vendor
folder. This combination of patch
and _vendor
files appear in outlook
folder.
Validate _outlook folder
$ kubepack validate
This command will validate the _outlook
folder yaml files using openapi-spec
.
If some file is not a valid yaml then throws errors. --kube-version
flag is used specify kubernetes version, which you want to validate against.