- Commands for running taps, and other keg related tasks
- Follow the instructions for installing and validating the keg cli
- Create a folder named
kegat~/kegmkdir -p ~/keg
- Navigate to
kegdirectorycd ~/keg
- Git clone the keg-cli repo locally to
~/keg/keg-cligit clone https://github.com/simpleviewinc/keg-cli.git ~/keg/keg-cli
- Run the bash setup script
bash keg-cli/scripts/setup/mac-init.sh
- It should print
[ KEG CLI ] Keg CLI setup complete!- This message may still print even it an error was thrown
- Be sure to check the log output
- This message may still print even it an error was thrown
- Run the keg global setup task in the terminal
keg global setup- This task will setup up the keg-cli on the local machine
- It will ask a few questions, so please pay attention
- Run the key global validate task in the terminal
keg global validate- This task should validate the install
- If a problem is found it will try to fix it
- If the problem can not be fixed, it will let you know
src/libs/- wrappers around external APIs, such as the Docker CLI
tasks/- implementations of cli commands
templates/- templates used for generated files
utils/- helper functions
- taps have envs set in their containers folder
- example:
containers/proxy/values-staging.yml
- example:
- custom configuration files are located at
.kegConfig/in your home directory - the
.kegConfig/defaults.envfile sets defaults not defined by thecontainers/*configs - you can also override these values for specific containers and environments
- add a
.kegConfig/<repo_name>-<environment>.envfile - example:
.kegConfig/evf-staging.env- this will override envs for the
evftap when in thestagingenvironment -<environment>is optional. If omitted, the file will apply to all environments.
- this will override envs for the
- add a