diff --git a/internal/ingress/controller/config/config.go b/internal/ingress/controller/config/config.go index a0275697f..3864a176a 100644 --- a/internal/ingress/controller/config/config.go +++ b/internal/ingress/controller/config/config.go @@ -97,12 +97,10 @@ type Configuration struct { // AllowCrossNamespaceResources enables users to consume cross namespace resource on annotations // Case disabled, attempts to use secrets or configmaps from a namespace different from Ingress will // be denied - // This value will default to `false` on future releases AllowCrossNamespaceResources bool `json:"allow-cross-namespace-resources"` // AnnotationsRiskLevel represents the risk accepted on an annotation. If the risk is, for instance `Medium`, annotations // with risk High and Critical will not be accepted. - // Default Risk is Critical by default, but this may be changed in future releases AnnotationsRiskLevel string `json:"annotations-risk-level"` // AnnotationValueWordBlocklist defines words that should not be part of an user annotation value diff --git a/internal/ingress/defaults/main.go b/internal/ingress/defaults/main.go index cfad388ef..e892bf572 100644 --- a/internal/ingress/defaults/main.go +++ b/internal/ingress/defaults/main.go @@ -185,7 +185,6 @@ type SecurityConfiguration struct { // AllowCrossNamespaceResources enables users to consume cross namespace resource on annotations // Case disabled, attempts to use secrets or configmaps from a namespace different from Ingress will // be denied - // This valid will default to `false` on future releases AllowCrossNamespaceResources bool `json:"allow-cross-namespace-resources"` // AnnotationsRiskLevel represents the risk accepted on an annotation. If the risk is, for instance `Medium`, annotations