From ac743de18cb7498e8ed3fb8050ff0761b12aa3bb Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Thu, 23 Mar 2023 11:52:22 +0100 Subject: [PATCH] [CI] Specify kubectl version --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 096b23d..17fdf06 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,9 +2,6 @@ kind: 'pipeline' name: 'build' type: 'kubernetes' -environment: - KUBE_CONFIG: - from_secret: 'drone_kube_config' steps: @@ -12,6 +9,9 @@ steps: - image: 'docker.io/bitnami/kubectl' name: 'deploy' pull: 'always' + environment: + KUBE_CONFIG: + from_secret: 'drone_kube_config' commands: - 'echo $KUBE_CONFIG > $HOME/.kube/config.bin'