Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(proxy-injector): handle proxy-log-level with quotes (#13480)
The proxy accepts log filters in the form `target[fields...]=level`, where a field may include a value match. This leads to log filters like `linkerd[name="outbound"]=debug`. When a log filter is configured via annotation or Helm, the proxy-injector fails to properly quote the log environment variable, leading to a failure to patch resources properly. To fix this, this change ensures that the log level is quoted, which properly escapes any quotes in the filter itself.
- Loading branch information