Skip to content

projectsyn/steward

Repository files navigation

Project Syn: Steward

The cluster agent - working together with the lieutenant-api.

Please note that this project is in it's early stages and under active development.

Getting started

  1. Make sure Golang is installed

  2. Run the agent against a locally deployed SYNventory

    KUBECONFIG=/path/to/config go run main.go --api http://localhost:5000 --token someToken
  3. Start hacking on the agent

Argo CD Bootstrapping

Argo CD is bootstrapped (repo-server, app-controller, server) when no existing deployments are found. The required CRDs (Application, AppProject) are compiled into the binary using statik. To update them, download the latest manifests and put them in ./manifests/. Upon running make generate, the manifests will be embedded into the resulting binary.

Release

Create a git tag:

git tag v0.0.2

Build the Docker image:

make docker