rollouts-plugin-trafficrouter-gatewayapi icon indicating copy to clipboard operation
rollouts-plugin-trafficrouter-gatewayapi copied to clipboard

docs: fix installation via init containers example

Open ddragoti opened this issue 7 months ago • 1 comments

Hey guys,

I noticed that the example given in the docs has an issue which causes the error below when deployed as-is:

Failed to init config: failed to unmarshal traffic router plugins while initializing: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go value of type []types.PluginItem

The fix I'm submitting works and is tested. I believe the issue was that the config key was repeated twice.

ddragoti avatar May 07 '25 11:05 ddragoti