This repo contains tools for quickly generating credentials for both beehive and nodes. The primary tools are:
./create-credentials-for-beehive.sh
This will setup a CA if one doesn't exist and create a credentials/beehive.yaml
file containing Kubernetes resources for the TLS / SSH CAs and credentials for RabbitMQ and upload services.
./create-credentials-for-nodes.sh nodeID
This will setup a CA if one doesn't exist and create a credentials/node-nodeID.yaml
file containing Kubernetes resources for the TLS / SSH CAs and credentials for the shovels and uploader.
(tls|ssh)/ca/*
. All critical files related to the TLS / SSH CA. These must be kept private and can be backed up and can be restored as needed.credentials/*.yaml
. These are beehive and node credential bundles. These must be kept private. These are "Kubernetes ready" so that a singlekubectl apply -f x.yaml
will bootstrap all credentials required by the target.
docker build -t waggle/waggle-pki-tools .
docker run -ti -v `pwd`:/workdir waggle/waggle-pki-tools bash