1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00

fix issue

This commit is contained in:
vyankatesh 2021-06-17 20:49:28 +05:30
parent 3e4ee51267
commit 4f3a780cc4

View file

@ -58,7 +58,8 @@ var (
KyvernoNamespace = getKyvernoNameSpace()
// KyvernoDeploymentName is the Kyverno deployment name
KyvernoDeploymentName = getKyvernoDeploymentName()
//KyvernoDeploymentName = getKyvernoDeploymentName()
KyvernoDeploymentName = "kyverno"
//KyvernoServiceName is the Kyverno service name
KyvernoServiceName = getKyvernoServiceName()
@ -114,7 +115,7 @@ func getKyvernoServiceName() string {
return webhookServiceName
}
// getKyvernoDeploymentName - setting default KyvernoServiceName
// getKyvernoDeploymentName - setting default KyvernoDeploymentName
func getKyvernoDeploymentName() string {
name := os.Getenv("KYVERNO_DEPLOYMENT")
if name == "" {