1
0
Fork 0
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:
Charles-Edouard Brétéché 2023-06-26 12:08:51 +02:00 committed by GitHub
parent 2e3632967e
commit 381721a841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

34
.vscode/launch.json vendored
View file

@ -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 @@
],
}
]
}
}