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

feat(kuma-cp) proxy template V3 #1398

Merged
merged 1 commit into from
Jan 11, 2021
Merged

Conversation

jakubdyszkiewicz
Copy link
Contributor

@jakubdyszkiewicz jakubdyszkiewicz commented Jan 8, 2021

Summary

This PR supports Proxy Template for API V3. There was no good abstraction for it, so the current code was moved to sub package V2 and V3 is essentialy copy of V2 code with fixed imports and typeurls.

Also added explicit V3 version to EDS clusters.

@jakubdyszkiewicz jakubdyszkiewicz requested a review from a team as a code owner January 8, 2021 11:20
@jakubdyszkiewicz jakubdyszkiewicz force-pushed the feat/v3-components branch 2 times, most recently from bf78c59 to 1b3ac67 Compare January 11, 2021 09:27
Base automatically changed from feat/v3-components to master January 11, 2021 12:05
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Copy link
Contributor

@nickolaev nickolaev left a comment

Choose a reason for hiding this comment

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

Just a small nit question. LGTM

list = append(list, s.ListOf(envoy_resource_v2.ListenerType)...)
list = append(list, s.ListOf(envoy_resource_v3.ListenerType)...)
list = append(list, s.ListOf(envoy_resource_v2.SecretType)...)
list = append(list, s.ListOf(envoy_resource_v3.SecretType)...)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Hmm shall we split thes to v2/v3 specifics instead of mixing these side by side?

@jakubdyszkiewicz jakubdyszkiewicz merged commit 5eaee19 into master Jan 11, 2021
@jakubdyszkiewicz jakubdyszkiewicz deleted the chore/proxy-template-v3 branch January 11, 2021 15:18
mergify bot pushed a commit that referenced this pull request Jan 11, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit 5eaee19)

# Conflicts:
#	pkg/xds/envoy/clusters/v3/health_check_configurer_test.go
jakubdyszkiewicz added a commit that referenced this pull request Jan 12, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
jakubdyszkiewicz pushed a commit that referenced this pull request Jan 12, 2021
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
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.

None yet

3 participants