Fixing YAML multiline strings
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-03-23 13:42:13 -04:00
parent 2ce6730915
commit 137df38d99

View File

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