This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user