kube/drone-execution/README.md
2022-08-25 11:22:50 +03:00

403 B

To deply:

kubectl apply -n drone-execution -f application.yml

To bootstrap secrets:

 kubectl create secret generic -n drone-execution application-secrets \
    --from-literal=DRONE_RPC_SECRET=$(kubectl get secret -n drone application-secrets  -o jsonpath="{.data.DRONE_RPC_SECRET}" | base64 -d) \
    --from-literal=DRONE_SECRET_PLUGIN_TOKEN=$(cat /dev/urandom | base64 | head -c 30)