mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
fix issue
This commit is contained in:
parent
3e4ee51267
commit
4f3a780cc4
1 changed files with 3 additions and 2 deletions
|
@ -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 == "" {
|
||||
|
|
Loading…
Reference in a new issue