From 74560616e23d3068cf601e4dc4016ca9d4c0b0f2 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 19 Feb 2023 10:49:37 +0100 Subject: [PATCH] Add an additional step to CI --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4983051..e984df9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,6 @@ steps: commands: - mkdir $HOME/.kube - echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config - - kubectl config get-contexts - helmfile -e badhouseplants diff - name: Diff eterosoft @@ -58,7 +57,9 @@ steps: commands: - mkdir $HOME/.kube - echo $KUBECONFIG_CONTENT | base64 -d > $HOME/.kube/config + - kubectl create clusterrolebinding $DRONE_COMMIT --clusterrole=cluster-admin --serviceaccount=drone-service:default - helmfile -e badhouseplants apply + - kubectl delete clusterrolebinding $DRONE_COMMIT - name: Apply eterosoft image: ghcr.io/helmfile/helmfile:canary