Skip to content

Commit 2ab4183

Browse files
committed
feat(taskfile): add lab taskfile
1 parent 1ca2559 commit 2ab4183

6 files changed

Lines changed: 35 additions & 1 deletion

File tree

.taskfile/lab.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: '3'
2+
3+
tasks:
4+
k:
5+
desc: "Shortcut for kubectl"
6+
env:
7+
KUBECONFIG: kubeconfig.lab.yaml
8+
cmds:
9+
- kubectl {{ .CLI_ARGS }}
10+
k9s:
11+
desc: "Shortcut for k9s"
12+
env:
13+
KUBECONFIG: kubeconfig.lab.yaml
14+
cmds:
15+
- k9s {{ .CLI_ARGS }}
16+
crd:
17+
desc: "Apply CRDs to Talos cluster"
18+
env:
19+
KUBECONFIG: kubeconfig.lab.yaml
20+
cmds:
21+
- kubectl apply -f ./deploy/crds.yaml

.vscode/extensions.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
{
22
"recommendations": [
3-
"esbenp.prettier-vscode"
3+
"esbenp.prettier-vscode",
4+
"rust-lang.rust-analyzer",
5+
"vadimcn.vscode-lldb",
6+
"tamasfe.even-better-toml",
7+
"oderwat.indent-rainbow",
8+
"ms-kubernetes-tools.vscode-kubernetes-tools",
9+
"pflannery.vscode-versionlens",
10+
"redhat.vscode-yaml"
411
]
512
}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"actix",
44
"appender",
55
"finalizer",
6+
"taskfile",
67
"thiserror",
78
"utoipa"
89
]

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Taskfile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '3'
22

33
includes:
44
talos: .taskfile/talos.yaml
5+
lab: .taskfile/lab.yaml
56

67
tasks:
78
init:

libs/controller/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ uuid = { workspace = true }
1616
futures = { workspace = true }
1717
anyhow = { workspace = true }
1818
tokio = { workspace = true }
19+
r2d2 = { workspace = true }
20+
redis = { workspace = true }
1921

2022
thiserror = { version = "2" }
2123

0 commit comments

Comments
 (0)