-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
32 lines (25 loc) · 787 Bytes
/
Taskfile.yaml
File metadata and controls
32 lines (25 loc) · 787 Bytes
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
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: '3'
set: [pipefail]
shopt: [globstar]
vars:
KUBERNETES_DIR: '{{.ROOT_DIR}}/kubernetes'
PRIVATE_DIR: '{{.ROOT_DIR}}/.private'
env:
KUBERNETES_DIR: '{{.KUBERNETES_DIR}}'
KUBECONFIG: '{{.ROOT_DIR}}/kubeconfig'
SOPS_AGE_KEY_FILE: '{{.ROOT_DIR}}/age.key'
includes:
k8s: .taskfiles/k8s/Taskfile.yaml
flux: .taskfiles/flux/Taskfile.yaml
bootstrap: .taskfiles/bootstrap/Taskfile.yaml
volsync: .taskfiles/volsync/Taskfile.yaml
tasks:
default: task --list
reconcile:
desc: Force Flux to pull in changes from your Git repository
cmd: flux --namespace flux-system reconcile kustomization flux-system --with-source
preconditions:
- test -f {{.KUBECONFIG}}
- which flux