From fc4e8d165b43953a09de6f6fcf8229b99dc4f8e8 Mon Sep 17 00:00:00 2001 From: Artem Yarmoluk Date: Thu, 30 May 2019 14:38:41 +0300 Subject: [PATCH] Fix private acm validation field name --- pkg/apis/certmanager/validation/issuer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/certmanager/validation/issuer.go b/pkg/apis/certmanager/validation/issuer.go index 150092d510e..e69f08c875e 100644 --- a/pkg/apis/certmanager/validation/issuer.go +++ b/pkg/apis/certmanager/validation/issuer.go @@ -90,7 +90,7 @@ func ValidateIssuerConfig(iss *v1alpha1.IssuerConfig, fldPath *field.Path) field el = append(el, field.Forbidden(fldPath.Child("privateACM"), "may not specify more than one issuer type")) } else { numConfigs++ - el = append(el, ValidatePrivateACMIssuerConfig(iss.PrivateACM, fldPath.Child("vault"))...) + el = append(el, ValidatePrivateACMIssuerConfig(iss.PrivateACM, fldPath.Child("privateACM"))...) } } if numConfigs == 0 {