Config: Remove notes about future defaults. (#12898)
Signed-off-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch> Co-authored-by: Clément Nussbaumer <clement.nussbaumer@postfinance.ch>
This commit is contained in:
parent
700674ba22
commit
2bc331ed82
2 changed files with 0 additions and 3 deletions
|
@ -97,12 +97,10 @@ type Configuration struct {
|
||||||
// AllowCrossNamespaceResources enables users to consume cross namespace resource on annotations
|
// 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
|
// Case disabled, attempts to use secrets or configmaps from a namespace different from Ingress will
|
||||||
// be denied
|
// be denied
|
||||||
// This value will default to `false` on future releases
|
|
||||||
AllowCrossNamespaceResources bool `json:"allow-cross-namespace-resources"`
|
AllowCrossNamespaceResources bool `json:"allow-cross-namespace-resources"`
|
||||||
|
|
||||||
// AnnotationsRiskLevel represents the risk accepted on an annotation. If the risk is, for instance `Medium`, annotations
|
// 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.
|
// 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"`
|
AnnotationsRiskLevel string `json:"annotations-risk-level"`
|
||||||
|
|
||||||
// AnnotationValueWordBlocklist defines words that should not be part of an user annotation value
|
// AnnotationValueWordBlocklist defines words that should not be part of an user annotation value
|
||||||
|
|
|
@ -185,7 +185,6 @@ type SecurityConfiguration struct {
|
||||||
// AllowCrossNamespaceResources enables users to consume cross namespace resource on annotations
|
// 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
|
// Case disabled, attempts to use secrets or configmaps from a namespace different from Ingress will
|
||||||
// be denied
|
// be denied
|
||||||
// This valid will default to `false` on future releases
|
|
||||||
AllowCrossNamespaceResources bool `json:"allow-cross-namespace-resources"`
|
AllowCrossNamespaceResources bool `json:"allow-cross-namespace-resources"`
|
||||||
|
|
||||||
// AnnotationsRiskLevel represents the risk accepted on an annotation. If the risk is, for instance `Medium`, annotations
|
// AnnotationsRiskLevel represents the risk accepted on an annotation. If the risk is, for instance `Medium`, annotations
|
||||||
|
|
Loading…
Reference in a new issue