kube/drone-execution
2022-08-25 11:22:50 +03:00
..
application.yml Initial commit 2022-08-25 11:22:50 +03:00
networkpolicy-base.yml Initial commit 2022-08-25 11:22:50 +03:00
README.md Initial commit 2022-08-25 11:22:50 +03:00

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)