Remove defaulting of Organization name

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2020-03-27 11:59:42 +00:00
parent 343012792f
commit 8b3b9dc5eb

View File

@ -127,10 +127,6 @@ const defaultOrganization = "cert-manager"
// Certificate resource.
// If an Organization is not specifically set, a default will be used.
func OrganizationForCertificate(crt *v1alpha2.Certificate) []string {
if len(crt.Spec.Organization) == 0 {
return []string{defaultOrganization}
}
return crt.Spec.Organization
}