feat: Initial commit, empty from template.
This commit is contained in:
34
Taskfile.yaml
Normal file
34
Taskfile.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
version: '3'
|
||||
|
||||
set: [pipefail]
|
||||
shopt: [globstar]
|
||||
|
||||
vars:
|
||||
BOOTSTRAP_DIR: '{{.ROOT_DIR}}/bootstrap'
|
||||
KUBERNETES_DIR: '{{.ROOT_DIR}}/kubernetes'
|
||||
SCRIPTS_DIR: '{{.ROOT_DIR}}/scripts'
|
||||
TALOS_DIR: '{{.ROOT_DIR}}/talos'
|
||||
PRIVATE_DIR: '{{.ROOT_DIR}}/.private'
|
||||
TALOSCONFIG: '{{.ROOT_DIR}}/talos/clusterconfig/talosconfig'
|
||||
|
||||
env:
|
||||
KUBECONFIG: '{{.ROOT_DIR}}/kubeconfig'
|
||||
SOPS_AGE_KEY_FILE: '{{.ROOT_DIR}}/age.key'
|
||||
TALOSCONFIG: '{{.TALOSCONFIG}}'
|
||||
|
||||
includes:
|
||||
bootstrap: .taskfiles/bootstrap
|
||||
talos: .taskfiles/talos
|
||||
template: .taskfiles/template
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user