From f34938958f1e3e968bb2245491443af6ffb7b6e9 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 23 Mar 2023 11:44:32 +0100 Subject: [PATCH] [CI] Specify kubectl version --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 652d70d..22b2353 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,14 +6,12 @@ type: 'kubernetes' steps: # deploy to kubernetes -- image: 'docker.io/bitnami/kubectl:1.26.3' +- image: 'docker.io/bitnami/kubectl' name: 'deploy' pull: 'always' - environment: - DRONE_KUBECONFIG: - from_secret: 'drone_kube_config' commands: - - echo $DRONE_KUBECONFIG > $HOME/.kube/config + - echo $GITEA_KUBE_CONFIG > $HOME/.kube/config - cat $HOME/.kube/config + - env - kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net