From 81e8486391a32f814bcc55bcfcf400f4cd11b716 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 23 Mar 2023 11:23:05 +0100 Subject: [PATCH] [CI] Specify kubectl version --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 15dc833..fbdfbb9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,9 +9,10 @@ steps: - image: 'docker.io/bitnami/kubectl:1.26.3' name: 'deploy' pull: 'always' - secrets: [ kube_config ] + environment: + - KUBE_CONFIG: ${KUBE_CONFIG} commands: - - echo $${KUBE_CONFIG} > $HOME/.kube/config + - echo $KUBE_CONFIG > $HOME/.kube/config - cat $HOME/.kube/config - kubectl -n start-simoncor-net rollout restart deployment start-simoncor-net