Skip to content

Commit db97d5f

Browse files
committed
Remove information about a disabled-by-default ingress-nginx annotation
There are lots of ingress-nginx-specific annotations. There is no good reason for documenting just 1 of them, especially when it's one that doesn't work by default.
1 parent 2308870 commit db97d5f

File tree

1 file changed

+0
-17
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+0
-17
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,23 +1423,6 @@ Used on: IngressClass
14231423
When a IngressClass resource has this annotation set to `"true"`, new Ingress resource
14241424
without a class specified will be assigned this default class.
14251425

1426-
### nginx.ingress.kubernetes.io/configuration-snippet
1427-
1428-
Type: Annotation
1429-
1430-
Example: `nginx.ingress.kubernetes.io/configuration-snippet: " more_set_headers \"Request-Id: $req_id\";\nmore_set_headers \"Example: 42\";\n"`
1431-
1432-
Used on: Ingress
1433-
1434-
You can use this annotation to set extra configuration on an Ingress that
1435-
uses the [NGINX Ingress Controller](https://github.com/kubernetes/ingress-nginx/).
1436-
The `configuration-snippet` annotation is ignored
1437-
by default since version 1.9.0 of the ingress controller.
1438-
The NGINX ingress controller setting `allow-snippet-annotations.`
1439-
has to be explicitly enabled to use this annotation.
1440-
Enabling the annotation can be dangerous in a multi-tenant cluster, as it can lead people with otherwise
1441-
limited permissions being able to retrieve all Secrets in the cluster.
1442-
14431426
### kubernetes.io/ingress.class (deprecated)
14441427

14451428
Type: Annotation

0 commit comments

Comments
 (0)