From de6599ac2bd87253796fd09e67c0bb9308cae87c Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 19 Feb 2023 09:59:16 +0000 Subject: [PATCH] Create a ClusterRoleBinding to let drone operate in the cluster(#6) Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/6 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1814372 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +create_crb: + kubectl create clusterrolebinding drone-deployer-workaround \ + --clusterrole=cluster-admin \ + --serviceaccount=drone-service:default