Skip to content

Baseline Gitops Repo for building environment configurations

License

Notifications You must be signed in to change notification settings

tetrateio/workshop-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workshop Environments

Baseline Gitops Repo for building environment configurations

Prerequisites

TSB MP Existing workload clusters Props filled out & checked in

Steps to Build Environment

todo... be more verbose

  • Create & checkout a new branch (or fork) of Tetrate Workshop Environment repo.
git clone [email protected]:tetrateio/workshop-environment.git --branch <BRANCH_NAME>
cd workshop-environment  
  • Install tools
source ./scripts/install-tools.sh
  • Bootstrap ArgoCD. You must first set ARGO_PWD env variable. It will be installed into the cluster your current kubeconfig is pointing to.
export ARGO_PWD=mypassword
source ./scripts/bootstrap.sh
  • Add cluster to ArgoCD. This command will add the cluster in your current kubeconfig as a deployment target in ArgoCD. Usually, you'll want to alias your cluster to a simple and readable name using kubectx.
kubectx <ALIAS>=$(kubectx -c)  # Note this may not be needed in your env if you have sensible names
source ./scripts/add-cluster-to-argo.sh
  • Edit your env config templates. You'll want to create your env configs and templates in the /cd/clusters directory. There are examples in /cd/example-clusters.

  • Configure Application in ArgoCD using the Web UI.

About

Baseline Gitops Repo for building environment configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published