Skip to content

PingCAP-QE/ee-ops

Repository files navigation

EE Ops

GitOps everything for Efficiency Engineering

Additional design documents

  • docs/gar-controlled-delivery/README.md: controlled private-delivery design for GAR, Docker Hub private repositories, Terraform, FluxCD, and customer-side sync

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.

About

GitOps everything for Efficiency Engineering in PingCAP Inc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors