-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTaskfile.yml
52 lines (48 loc) · 1.18 KB
/
Taskfile.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
version: "3"
vars:
KUBERNETES_DIR: "{{.ROOT_DIR}}/kubernetes"
TERRAFORM_DIR: "{{.ROOT_DIR}}/infrastructure/terraform"
CLUSTER: '{{.CLUSTER | default "main"}}'
CLUSTER_DIR: '{{.ROOT_DIR}}/kubernetes/{{.CLUSTER}}'
env:
KUBECONFIG: '{{.CLUSTER_DIR}}/kubeconfig'
TALOSCONFIG: '{{.CLUSTER_DIR}}/talosconfig'
SOPS_AGE_KEY_FILE: '{{.ROOT_DIR}}/age.key'
includes:
fx:
dir: .taskfiles/Flux
taskfile: .taskfiles/Flux
vars: &vars
KUBECTL: kubectl --context {{.cluster}}
FLUXCTL: flux --context {{.cluster}}
bs:
dir: .taskfiles/Bootstrap
taskfile: .taskfiles/Bootstrap
ro:
dir: .taskfiles/Rook
taskfile: .taskfiles/Rook
ta:
dir: .taskfiles/Talos
taskfile: .taskfiles/Talos
es:
dir: .taskfiles/ExternalSecrets
taskfile: .taskfiles/ExternalSecrets
vs:
dir: .taskfiles/VolSync
taskfile: .taskfiles/VolSync
vars: *vars
tf:
dir: .taskfiles/Terraform
taskfile: .taskfiles/Terraform
pc:
dir: .taskfiles/PreCommit
taskfile: .taskfiles/PreCommit
pg:
dir: .taskfiles/Postgresql
taskfile: .taskfiles/Postgresql
cluster: .taskfiles/cluster.yml
tasks:
default:
silent: true
cmds: ['task -l']