-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
34 lines (29 loc) · 874 Bytes
/
Taskfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
vars:
# Directories
ANSIBLE_DIR: "{{.ROOT_DIR}}/ansible"
KUBERNETES_DIR: "{{.ROOT_DIR}}/kubernetes"
TALHELPER_DIR: "{{.ROOT_DIR}}/kubernetes/bootstrap/talos"
SCRIPTS_DIR: "{{.ROOT_DIR}}/scripts"
# Files
AGE_FILE: "{{.ROOT_DIR}}/age.key"
KUBECONFIG_FILE: "{{.ROOT_DIR}}/kubeconfig"
TALOSCONFIG_FILE: "{{.ROOT_DIR}}/kubernetes/bootstrap/talos/clusterconfig/talosconfig"
env:
KUBECONFIG: "{{.KUBECONFIG_FILE}}"
TALOSCONFIG: "{{.TALOSCONFIG_FILE}}"
MINIJINJA_CONFIG_FILE: "{{.ROOT_DIR}}/.minijinja.toml"
SOPS_AGE_KEY_FILE: "{{.AGE_FILE}}"
includes:
flux: .taskfiles/Flux
kubernetes: .taskfiles/Kubernetes
rook: .taskfiles/Rook
sops: .taskfiles/Sops
talos: .taskfiles/talos
volsync: .taskfiles/volsync
tasks:
default:
silent: true
cmd: task -l