1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/.vscode/launch.json

97 lines
3.5 KiB
JSON
Raw Normal View History

{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Kyverno",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/kyverno",
"args": [
"--kubeconfig=${userHome}/.kube/config",
Notary v2 (#6011) * fix make debug-deploy Signed-off-by: Jim Bugwadia <jim@nirmata.com> * improve log messages Signed-off-by: Jim Bugwadia <jim@nirmata.com> * initial update Signed-off-by: Jim Bugwadia <jim@nirmata.com> * initial update Signed-off-by: Jim Bugwadia <jim@nirmata.com> * update registry credentials handling order Signed-off-by: Jim Bugwadia <jim@nirmata.com> * comment out ACR helper - breaks anonymous image pull Signed-off-by: Jim Bugwadia <jim@nirmata.com> * merge main and refactor verifiers Signed-off-by: Jim Bugwadia <jim@nirmata.com> * fix opt init Signed-off-by: Jim Bugwadia <jim@nirmata.com> * remove local address Signed-off-by: Jim Bugwadia <jim@nirmata.com> * update to NotaryV2 RC Signed-off-by: Jim Bugwadia <jim@nirmata.com> * fix fmt Signed-off-by: Jim Bugwadia <jim@nirmata.com> * update deps Signed-off-by: Jim Bugwadia <jim@nirmata.com> * format imports Signed-off-by: Jim Bugwadia <jim@nirmata.com> * remove env and no-op statement Signed-off-by: Jim Bugwadia <jim@nirmata.com> * fix merge issues Signed-off-by: Jim Bugwadia <jim@nirmata.com> * fix linter issue Signed-off-by: Jim Bugwadia <jim@nirmata.com> * remove unused field Signed-off-by: Jim Bugwadia <jim@nirmata.com> * make fmt Signed-off-by: Jim Bugwadia <jim@nirmata.com> * renable ACR credential helper Signed-off-by: Jim Bugwadia <jim@nirmata.com> * Update .vscode/launch.json Signed-off-by: shuting <shutting06@gmail.com> --------- Signed-off-by: Jim Bugwadia <jim@nirmata.com> Signed-off-by: shuting <shutting06@gmail.com> Co-authored-by: shuting <shuting@nirmata.com> Co-authored-by: shuting <shutting06@gmail.com>
2023-02-20 16:26:10 +00:00
"--serverIP=<SERVER-IP>:9443",
"-v=2",
"--caSecretName=kyverno-svc.kyverno.svc.kyverno-tls-ca",
"--tlsSecretName=kyverno-svc.kyverno.svc.kyverno-tls-pair",
],
"env": {
"KYVERNO_NAMESPACE": "kyverno",
"KYVERNO_SERVICEACCOUNT_NAME": "kyverno-admission-controller",
"KYVERNO_DEPLOYMENT": "dummy",
"KYVERNO_POD_NAME": "dummy",
"INIT_CONFIG": "kyverno",
"METRICS_CONFIG": "kyverno-metrics",
}
},
{
"name": "Launch Reports Controller",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/reports-controller",
"args": [
"--kubeconfig=${userHome}/.kube/config",
],
"env": {
"KYVERNO_NAMESPACE": "kyverno",
"KYVERNO_SERVICEACCOUNT_NAME": "kyverno-reports-controller",
"KYVERNO_DEPLOYMENT": "dummy",
"KYVERNO_POD_NAME": "dummy",
"INIT_CONFIG": "kyverno",
"METRICS_CONFIG": "kyverno-metrics",
}
},
{
"name": "Launch Background Controller",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/background-controller",
"args": [
"--kubeconfig=${userHome}/.kube/config",
],
"env": {
"KYVERNO_NAMESPACE": "kyverno",
"KYVERNO_SERVICEACCOUNT_NAME": "kyverno-background-controller",
"KYVERNO_DEPLOYMENT": "dummy",
"KYVERNO_POD_NAME": "dummy",
"INIT_CONFIG": "kyverno",
"METRICS_CONFIG": "kyverno-metrics",
}
},
{
"name": "Launch Cleanup Controller",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/cleanup-controller",
"args": [
"--kubeconfig=${userHome}/.kube/config",
"--serverIP=<SERVER-IP>:9443",
"--caSecretName=kyverno-cleanup-controller.kyverno.svc.kyverno-tls-ca",
"--tlsSecretName=kyverno-cleanup-controller.kyverno.svc.kyverno-tls-pair",
],
"env": {
"KYVERNO_NAMESPACE": "kyverno",
"KYVERNO_SERVICEACCOUNT_NAME": "kyverno-cleanup-controller",
"KYVERNO_SVC": "kyverno-cleanup-controller",
"KYVERNO_DEPLOYMENT": "dummy",
"KYVERNO_POD_NAME": "dummy",
"INIT_CONFIG": "kyverno",
"METRICS_CONFIG": "kyverno-metrics",
}
},
{
"name": "Launch CLI",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/cli/kubectl-kyverno",
"cwd": "${workspaceFolder}",
"args": [
"test",
"./test/cli/",
],
}
]
}