Contributing

March 12, 2022 ยท View on GitHub

Developing

  1. Make sure you have configured running Kubernetes cluster.
$ kubectl cluster-info
  1. configure .teller.yaml to pull variables from your various cloud providers. you can also run run.sh to work via local Consul.
  2. Run local helm-teller via example-chart.
$ go run main.go install --teller-config "examples/example-chart/.teller.yaml" -- --debug --dry-run  test ./examples/example-chart

Testing

To run unit tests:

$ make test

Linting

Linting is treated as a form of testing (using golangci), to run:

$ make lint

Formatting

Run go fmt check:

$ make fmt

Run all checks:

$ make checks