Skip to content

PingCAP-QE/ee-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EE Ops

GitOps everything for Efficiency Engineering

How to Setup it in you k8s cluster

Before all please fork it into you personal account or organization.

Pre require

GitOps Tools

  • Flux CLI

    Install by bash or download release binary from Flux site

cluster secret data

required:

Github private token

Create a github private token with repo permissions, copy and write it. See doc.

Setup GitOps

export GITHUB_TOKEN=<github private token>
export GITHUB_REPOSITORY_OWNER=<github org or username>
flux check --pre
flux bootstrap github \
    --owner=${GITHUB_REPOSITORY_OWNER} \
    --repository=<your repo name> \
    --branch=main \
    --path=clusters/staging # or other cluster dir.

if you repo in under personal account, you should add cli option --personal.