2024-05-04 01:26:26 +00:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://taskfile.dev/schema.json
|
|
|
|
version: "3"
|
|
|
|
|
|
|
|
vars:
|
|
|
|
CLUSTER_DIR: "{{.ROOT_DIR}}/cluster"
|
|
|
|
|
|
|
|
includes:
|
2024-05-24 21:59:30 +00:00
|
|
|
flux: .taskfiles/Flux/Taskfile.yaml
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
execPostgres:
|
|
|
|
desc: Exec into the postgres pod as the postgres user
|
2024-08-05 15:33:19 +00:00
|
|
|
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
|