mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-23 01:04:32 +07:00
style: fix shellcheck
This commit is contained in:
parent
5a3aabbbbb
commit
2115030a90
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
VALUES="values.yaml"
|
||||||
|
|
||||||
curl -fks --connect-timeout 5 https://git.khuedoan.com \
|
curl -fks --connect-timeout 5 https://git.khuedoan.com \
|
||||||
|| extra_args="--values values-seed.yaml"
|
|| VALUES="values-seed.yaml"
|
||||||
|
|
||||||
helm template \
|
helm template \
|
||||||
--include-crds \
|
--include-crds \
|
||||||
--namespace argocd \
|
--namespace argocd \
|
||||||
${extra_args} \
|
--values "${VALUES}" \
|
||||||
argocd . \
|
argocd . \
|
||||||
| kubectl apply -n argocd -f -
|
| kubectl apply -n argocd -f -
|
||||||
|
@ -4,4 +4,4 @@ docker compose \
|
|||||||
--project-directory ./metal/roles/pxe_server/files/ \
|
--project-directory ./metal/roles/pxe_server/files/ \
|
||||||
logs \
|
logs \
|
||||||
--follow \
|
--follow \
|
||||||
${@}
|
"${@}"
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
# Get Vault root token
|
# Get Vault root token
|
||||||
export KUBECONFIG=./metal/kubeconfig.yaml
|
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