Skip to content

Commit

Permalink
fix: add dir back into other talos tasks
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Jun 4, 2024
1 parent 85cc1f6 commit 6fd9c17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .taskfiles/Talos/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ tasks:

install-helm-apps:
desc: Bootstrap core apps needed for Talos
dir: "{{.KUBERNETES_DIR}}/bootstrap/talos"
cmds:
- until kubectl --kubeconfig {{.KUBECONFIG_FILE}} wait --for=condition=Ready=False nodes --all --timeout=600s; do sleep 10; done
- helmfile --kubeconfig {{.KUBECONFIG_FILE}} --file {{.HELMFILE_FILE}} apply --skip-diff-on-install --suppress-diff
Expand All @@ -59,6 +60,7 @@ tasks:

upgrade:
desc: Upgrade Talos on a node
dir: "{{.KUBERNETES_DIR}}/bootstrap/talos"
cmds:
- talosctl --nodes {{.node}} upgrade --image {{.image}} --wait=true --timeout=10m --preserve=true --reboot-mode={{.mode}}
- talosctl --nodes {{.node}} health --wait-timeout=10m --server=false
Expand All @@ -76,6 +78,7 @@ tasks:

upgrade-k8s:
desc: Upgrade Kubernetes across the cluster
dir: "{{.KUBERNETES_DIR}}/bootstrap/talos"
cmd: talosctl --nodes {{.controller}} upgrade-k8s --to {{.to}}
requires:
vars: ["controller", "to"]
Expand Down

0 comments on commit 6fd9c17

Please sign in to comment.