18 lines
473 B
YAML
18 lines
473 B
YAML
---
|
|
# yaml-language-server: $schema=https://taskfile.dev/schema.json
|
|
version: "3"
|
|
|
|
vars:
|
|
CLUSTER_DIR: "{{.ROOT_DIR}}/cluster"
|
|
|
|
includes:
|
|
flux: .taskfiles/Flux/Taskfile.yaml
|
|
|
|
tasks:
|
|
execPostgres:
|
|
desc: Exec into the postgres pod as the postgres user
|
|
cmd: kubectl -n database exec -it postgresql-0 -- psql -d postgres -U postgres
|
|
|
|
execMysql:
|
|
desc: Exec into the mysql pod as the mysql user
|
|
cmd: kubectl -n database exec -it mysql-0 -- mysql -u root -p |