mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:14:32 +07:00
style: fix shellcheck
This commit is contained in:
parent
5a3aabbbbb
commit
2115030a90
@ -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 -
|
||||
|
@ -4,4 +4,4 @@ docker compose \
|
||||
--project-directory ./metal/roles/pxe_server/files/ \
|
||||
logs \
|
||||
--follow \
|
||||
${@}
|
||||
"${@}"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user