style: fix shellcheck

This commit is contained in:
Khue Doan 2022-07-21 01:58:00 +07:00
parent 5a3aabbbbb
commit 2115030a90
3 changed files with 6 additions and 4 deletions

View File

@ -1,11 +1,13 @@
#!/bin/sh
VALUES="values.yaml"
curl -fks --connect-timeout 5 https://git.khuedoan.com \
|| extra_args="--values values-seed.yaml"
|| VALUES="values-seed.yaml"
helm template \
--include-crds \
--namespace argocd \
${extra_args} \
--values "${VALUES}" \
argocd . \
| kubectl apply -n argocd -f -

View File

@ -4,4 +4,4 @@ docker compose \
--project-directory ./metal/roles/pxe_server/files/ \
logs \
--follow \
${@}
"${@}"

View File

@ -2,4 +2,4 @@
# Get Vault root token
export KUBECONFIG=./metal/kubeconfig.yaml
kubectl get secrets vault-unseal-keys -n vault -o jsonpath={.data.vault-root} | base64 --decode
kubectl get secrets vault-unseal-keys -n vault -o jsonpath='{.data.vault-root}' | base64 --decode