From 080983f7687026aa9e615a76d2c8c2056ed1a2cd Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Mon, 7 Aug 2017 13:58:50 +0100 Subject: [PATCH] Add omitempty to ingressClass --- pkg/apis/certmanager/v1alpha1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/certmanager/v1alpha1/types.go b/pkg/apis/certmanager/v1alpha1/types.go index 744d4fa9d..8cc96d1f6 100644 --- a/pkg/apis/certmanager/v1alpha1/types.go +++ b/pkg/apis/certmanager/v1alpha1/types.go @@ -173,7 +173,7 @@ type ACMECertificateDomainConfig struct { type ACMECertificateHTTP01Config struct { Ingress string `json:"ingress"` - IngressClass *string `json:"ingressClass"` + IngressClass *string `json:"ingressClass,omitempty"` } type ACMECertificateDNS01Config struct {