Per sundbry
jwt is an optional parameter on the service intention config. When it was not set, the plugin would segfault due to a null pointer dereference on the ServiceIntentionsConfigEntry.JWT.
This adds a check for si.JWT != nil and skips building the jwt payload when it is not set.
Per sundbry jwt is an optional parameter on the service intention config. When it was not set, the plugin would segfault due to a null pointer dereference on the ServiceIntentionsConfigEntry.JWT.
This adds a check for si.JWT != nil and skips building the jwt payload when it is not set.
Stack trace observed:
There is already a PR open to potentially fix this if it could be prioritized