Skip to content

Commit

Permalink
fix: update talos taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Jun 13, 2024
1 parent 6bba6df commit 93fd31c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .taskfiles/Talos/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"

vars: &vars
TALHELPER_SECRET_FILE: "talsecret.sops.yaml"
TALHELPER_CONFIG_FILE: "talconfig.yaml"
x-vars: &vars
TALOS_VERSION:
sh: yq 'select(document_index == 1).spec.postBuild.substitute.TALOS_VERSION' {{.KUBERNETES_DIR}}/{{.cluster}}/apps/kube-tools/system-upgrade-controller/ks.yaml
TALOS_SCHEMATIC_ID:
Expand All @@ -14,6 +12,10 @@ vars: &vars
CONTROLLER:
sh: talosctl --context {{.cluster}} config info --output json | jq --raw-output '.endpoints[]' | shuf -n 1

vars:
TALHELPER_SECRET_FILE: "talsecret.sops.yaml"
TALHELPER_CONFIG_FILE: "talconfig.yaml"

env:
TALOSCONFIG: "talosconfig"

Expand Down

0 comments on commit 93fd31c

Please sign in to comment.