Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAISTRA-2437: Push configuration as String #391

Merged

Conversation

jwendell
Copy link
Member

@jwendell jwendell commented Jul 6, 2021

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

While on it, also fixed a potential index out of range error.

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.
@jwendell
Copy link
Member Author

jwendell commented Jul 6, 2021

This is the same as #381 but targeted for 1.9

@maistra-bot maistra-bot merged commit 0366a13 into maistra:maistra-2.1-istio-1.9 Jul 6, 2021
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 2, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 4, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 4, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 7, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 7, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 7, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 7, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 9, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 21, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 22, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Feb 28, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
luksa pushed a commit to luksa/istio-maistra that referenced this pull request Mar 1, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
maistra-bot pushed a commit that referenced this pull request Mar 1, 2022
* MAISTRA-2437: Push configuration as String

Envoy doesn't handle well passing a Struct as the configuration field.
When an extension retrieves its value, it gets binary data.

Passing string instead is safe. Extensions will get the value as string
and can unmarshal it into a proper JSON struct.

* Fix an potential index out of range error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants