An open API service indexing awesome lists of open source software.

https://github.com/mhutter/cockroachdb-ca

Makefile script to create a Cockroachdb CA for Kubernetes
https://github.com/mhutter/cockroachdb-ca

Last synced: 3 months ago
JSON representation

Makefile script to create a Cockroachdb CA for Kubernetes

Awesome Lists containing this project

README

          

= CockroachDB CA

Makefile that boostraps a CockroachDB CA and creates the required Kubernetes secret manifests.

== Requirements

* `make`
* `docker`
* `kubectl`

== Usage

To get started, simply run `make NAMESPACE=my-app`. This will prepare the CA and generate the required secret manifests:

* `cockroachdb-client.root.secret.yml` - client certificate for the `root` user
* `cockroachdb-node.secret.yml` - certificates for the CockroachDB nodes plus all client certificates

=== Create additional client certificates

Overwrite the `CLIENTS` make variable to generate additional clients.

IMPORTANT: Always include `root` in the list of clients!

make NAMESPACE=my-app CLIENTS='root myapp-dev myapp-test'

== License

MIT (see link:LICENSE[LICENSE])

---
> https://hutter.io/[Manuel Hutter] -
> GitHub https://github.com/mhutter[@mhutter] -
> Twitter https://twitter.com/dratir[@dratir]