weaveworks / gitopssets-controller

Manages the GitOpsSet CRDs.
Apache License 2.0
9 stars 5 forks source link

Command line tool #81

Closed bigkevmcd closed 1 year ago

bigkevmcd commented 1 year ago

This is a Command that can be reused to generate GitOpsSets at the CLI.

Currently they're output to Stdout.

$ go build ./cmd/gitopssets-cli
./gitopssets-cli generate <filename.yaml>

I added additional functionality to completely disable cluster access (no rest.Config is created, fake clients are used).