bitlab-voteview
Create and manage links between bitLab votes and cloudBits.
Deploying
Prerequisites
-
A Kubernetes cluster
-
kubectl create secret.yaml
wheresecret.yaml
has:
apiVersion: v1
kind: Secret
metadata:
name: bitlab-voteview-access-token
type: Opaque
data:
bitlab-voteview-access-token: <<PUT YOUR BASE64 ENCODED ACCESS TOKEN HERE>>
This permits Voteview to command cloudBits of the respective account. You can acquire this from Cloud Control. Go to settings
tab, then scroll down.
Steps
-
Build the app locally
docker build --tag … .
-
Push the app to the registry you want to use
docker push …
-
Deploy the using
kubtctl
kubectl create --filename kube
Environment Variables
Change the Bitlab API URI that this project will read data from:
-
BITLAB_VOTEVIEW_HOST
HTTP Basic Auth Credentials that will be used for reading from the Bitlab API. Only required if the API is actually secured behind HTTP Basic Auth:
-
BITLAB_VOTEVIEW_AUTH_USER
-
BITLAB_VOTEVIEW_AUTH_PASS
Notes
-
For the littleBits team, you can find the account owning the cloudBits [here](https://github.com/littlebitselectronics/cloud-platform/blob/master/accounts.md#voteview).