Skip to content

Commit

Permalink
Config: Remove notes about future defaults. (#12898)
Browse files Browse the repository at this point in the history
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
Co-authored-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
  • Loading branch information
k8s-infra-cherrypick-robot and clementnuss authored Feb 25, 2025
1 parent 700674b commit 2bc331e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions internal/ingress/controller/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion internal/ingress/defaults/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bc331e

Please sign in to comment.