-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathlaunch.json
More file actions
41 lines (40 loc) · 1.34 KB
/
launch.json
File metadata and controls
41 lines (40 loc) · 1.34 KB
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
33
34
35
36
37
38
39
40
41
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Start Operator (minio)",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "main.go",
"env": {
"MINIO_ACCESS_KEY": "minioadmin",
"MINIO_SECRET_KEY": "minioadmin",
"S3_BUCKET": "test",
"S3_USE_SSL": "false",
"S3_ENDPOINT":"127.0.0.1:9000"
}
},
{
// for people who have the s3 connection already in their env vars
"name": "Start Operator (preconfigred s3 environment)",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "main.go"
},
{
"name": "Debug Unit Tests",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/controllers/execution",
"args": ["-test.v"],
//"preLaunchTask": "makefileMagic",
"env": {"KUBEBUILDER_ASSETS": "${workspaceFolder}/testbin/bin"}
}
]
}