Skip to content

mixerplugin: deprecate attribute_for_mixer_proxy#10459

Merged
istio-testing merged 2 commits intoistio:release-1.1from
kyessenov:attribute_for_mixer_proxy
Dec 13, 2018
Merged

mixerplugin: deprecate attribute_for_mixer_proxy#10459
istio-testing merged 2 commits intoistio:release-1.1from
kyessenov:attribute_for_mixer_proxy

Conversation

@kyessenov
Copy link
Contributor

@kyessenov kyessenov commented Dec 13, 2018

It turns out that attributes_for_mixer_proxy has been de-facto broken since around istio/proxy#1961

This PR removes it since it doesn't work, and replaces with NODE_UID and NODE_NAMESPACE per new style.

It also adds an integration test exercising the code path in envoy.

/cc @mandarjog
/cc @douglas-reid

Signed-off-by: Kuat Yessenov kuat@google.com

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this metadata removed and not replaced with NODE_UID and NODE_NAMESPACE ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is mock metadata to satisfy the plugin interface. It has nothing to do with actual envoy metadata. There is an issue here, that the test combines inbound and outbound routes into one proxy, which is no longer possible with one UID per all configs, but that's for later.

Signed-off-by: Kuat Yessenov <kuat@google.com>
Signed-off-by: Kuat Yessenov <kuat@google.com>
@kyessenov kyessenov force-pushed the attribute_for_mixer_proxy branch from e3a627a to c164a43 Compare December 13, 2018 04:37
@kyessenov
Copy link
Contributor Author

Ping @mandarjog .
Can we get this in before @irisdingbj and @rshriram 's PRs?
It helps with keeping feature coverage.

Copy link
Contributor

@mandarjog mandarjog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@istio-testing
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kyessenov, mandarjog

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@istio-testing istio-testing merged commit 6655e36 into istio:release-1.1 Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants