shreemaan-abhishek commented on code in PR #11076:
URL: https://github.com/apache/apisix/pull/11076#discussion_r1536767842
##########
apisix/plugin.lua:
##########
@@ -907,7 +907,7 @@ local function enable_gde()
if enable_data_encryption == nil then
enable_data_encryption =
core.table.try_read_attr(local_conf, "apisix", "data_encryption",
- "enable_encrypt_fields")
+ "enable_encrypt_fields") and (core.config.type == "etcd")
Review Comment:
encrypt fields only when config type is etcd. Without this addition,
enabling `encrypt_fields` on standalone mode would cause unexpected failures.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]