Annotation validation and set_by_lua_block snippet for auth-realm annotation value #10713
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-priority
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
We use the following structure in the
Ingress
manifests to customize the enabling/disabling of Basic authentication for different path in the requests:After enabling the
--enable-annotation-validation
option for the Ingress Controller, it is not allowed to use the$
symbol in the value of thenginx.ingress.kubernetes.io/auth-realm
annotation.Here is a link to the annotation validation block.
We can use only basic chars and space.
So, we can no longer customize the use of Basic authentication due to the impossibility of using the Lua snippet name as a value for the annotation.
How risky is it in terms of validation to add the
$
symbol to the allowed characters for the annotation value?The text was updated successfully, but these errors were encountered: