-
Notifications
You must be signed in to change notification settings - Fork 327
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
chore(kuma-cp) refactor to get rid of explicit V2 and parametrize api version #1379
Conversation
… version Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not get the metrics reshuffle part, but everything else looks great.
We should merge to master as son as the conflict is resolved.
var _ sds_provider.Secret = &MeshCaSecret{} | ||
|
||
func (s *MeshCaSecret) ToResource(name string) *envoy_auth.Secret { | ||
func CreateCaSecret(secret *core_xds.CaSecret) *envoy_auth.Secret { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is under xds
directory? It's used once and from sds
package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked offline. sds will be moved to xds eventually. pkg/xds/envoy is a place when we try to abstract away envoy configs.
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
… version (#1379) Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Part of V2->V3 work. This PR introduces some refactoring to get rid of V2 dependencies across code to plug V3 components.
If any of this change may seem unnecessary, please look at the next PR with V3 code.