Hi,
I’m trying to add a custom plugin to Kong, it is like jwt plugin, and I need to add rsa_public_key to KongPlugin config but it retruns this error when I’m using this plugin (other custom plugins added and working fine):
failed conditional validation given value of field 'config.rsa_public_key'\\\"},config={rsa_public_key}
The KongPlugin manifest is:
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: auth-plugin
namespace: default
config:
key1: value1
rsa_public_key: |
-----BEGIN PUBLIC KEY-----
MIIBCg
BBB
cccc
...
-----END PUBLIC KEY-----
plugin: auth
Please let me know how can I add rsa_public_key to a custom plugin?
Best regards,