Skip to content

Configure G Cloud & Kubernetes Environment Variables with direnv

Notifications You must be signed in to change notification settings

cloudpilots/gkubenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gkubenv

Intended to make everyones lifes easier by automatically changing the gcloud and kubectl context based on a small configuration file. This can be added as a submodule together with a minimal config your existing code repository.

Installation

Mac OS X

  1. Install direnv via brew brew install direnv
  2. (iTerm users only) Add this line at the end of your ~/.bash_profile: eval "$(direnv hook $SHELL)"
  3. Enjoy!

Usage

  1. Add the submodule to your existing Git project
  2. Copy the sample gkubenv.yaml from examples to your root folder and change the values accordingly
  3. Copy the dot.envrc from examples as .envrc to your root folder

About

Configure G Cloud & Kubernetes Environment Variables with direnv

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages