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
- Host: GitHub
- URL: https://github.com/mhutter/cockroachdb-ca
- Owner: mhutter
- License: mit
- Created: 2020-05-31T13:48:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T09:18:15.000Z (about 6 years ago)
- Last Synced: 2025-10-21T05:54:20.881Z (8 months ago)
- Language: Makefile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
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]