mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-28 10:28:36 +00:00
chore: add launch.json for vscode debugging (#4856)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
This commit is contained in:
parent
5346bce5ca
commit
afaee3dedb
2 changed files with 16 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
|||
certs
|
||||
Gopkg.lock
|
||||
.vscode
|
||||
gh-pages/public
|
||||
_output
|
||||
coverage.txt
|
||||
|
|
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Kyverno",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "auto",
|
||||
"program": "${workspaceFolder}/cmd/kyverno",
|
||||
"args": [
|
||||
"--kubeconfig=${userHome}/.kube/config",
|
||||
"--serverIP=<local ip>:9443",
|
||||
],
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue