mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: vscode debug config (#7653)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
2e3632967e
commit
381721a841
1 changed files with 33 additions and 1 deletions
34
.vscode/launch.json
vendored
34
.vscode/launch.json
vendored
|
@ -12,6 +12,14 @@
|
|||
"--serverIP=<SERVER-IP>:9443",
|
||||
"-v=2",
|
||||
],
|
||||
"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",
|
||||
|
@ -22,6 +30,14 @@
|
|||
"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",
|
||||
|
@ -32,6 +48,14 @@
|
|||
"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",
|
||||
|
@ -43,6 +67,14 @@
|
|||
"--kubeconfig=${userHome}/.kube/config",
|
||||
"--serverIP=<SERVER-IP>:9443",
|
||||
],
|
||||
"env": {
|
||||
"KYVERNO_NAMESPACE": "kyverno",
|
||||
"KYVERNO_SERVICEACCOUNT_NAME": "kyverno-cleanup-controller",
|
||||
"KYVERNO_DEPLOYMENT": "dummy",
|
||||
"KYVERNO_POD_NAME": "dummy",
|
||||
"INIT_CONFIG": "kyverno",
|
||||
"METRICS_CONFIG": "kyverno-metrics",
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Launch CLI",
|
||||
|
@ -56,4 +88,4 @@
|
|||
],
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue