diff --git a/pkg/apis/serving/v1/route_lifecycle.go b/pkg/apis/serving/v1/route_lifecycle.go index 226d36b1f1d9..bc0abd849f93 100644 --- a/pkg/apis/serving/v1/route_lifecycle.go +++ b/pkg/apis/serving/v1/route_lifecycle.go @@ -123,6 +123,8 @@ func (rs *RouteStatus) MarkCertificateNotOwned(name string) { "There is an existing certificate %s that we don't own.", name) } +// MarkCertificateNotEnabled sets RouteConditionCertificateProvisioned to true when +// certificate config such as autoTLS is not enabled. func (rs *RouteStatus) MarkCertificateNotEnabled() { routeCondSet.Manage(rs).MarkTrue(RouteConditionCertificateProvisioned) } diff --git a/pkg/apis/serving/v1alpha1/route_lifecycle.go b/pkg/apis/serving/v1alpha1/route_lifecycle.go index c6a06dbd7d9f..fac49dbc0032 100644 --- a/pkg/apis/serving/v1alpha1/route_lifecycle.go +++ b/pkg/apis/serving/v1alpha1/route_lifecycle.go @@ -136,6 +136,8 @@ func (rs *RouteStatus) MarkCertificateNotOwned(name string) { "There is an existing certificate %s that we don't own.", name) } +// MarkCertificateNotEnabled sets RouteConditionCertificateProvisioned to true when +// certificate config such as autoTLS is not enabled. func (rs *RouteStatus) MarkCertificateNotEnabled() { routeCondSet.Manage(rs).MarkTrue(RouteConditionCertificateProvisioned) }