diff --git a/.drone.yml b/.drone.yml index fc94a3c..8725afe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,21 +18,21 @@ steps: TOKEN: from_secret: clusterprism_halloween_kubernetes_token commands: - - | + - |- kubectl config set-cluster clusterprism --server=https://192.168.1.201:6443 - kubectl config set-credentials drone-halloween --token=$TOKEN - - | + - |- kubectl config set-context clusterprism --user=drone-halloween --cluster=clusterprism - kubectl config use-context clusterprism - echo $CACRT > cacert.pem - - | + - |- kubectl config set-context clusterprism --certificate-authority=cacert.pem - kubectl config set clusters.clusterprism.insecure-skip-tls-verify true - helm repo add bjw-s https://bjw-s.github.io/helm-charts - - | + - |- helm upgrade halloween-static-site --install onechart/static-site -n halloween -f clusterprism_halloween_values.yaml when: