-
Notifications
You must be signed in to change notification settings - Fork 339
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
ProxyTemplate validation #431
Conversation
pkg/xds/template/raw.go
Outdated
@@ -0,0 +1,38 @@ | |||
package template |
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.
not sure about placement of this file. I could not put it into envoy
package because of the cyclic import.
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.
Same comment as above, let's avoid dependency pkg/core/resources/apis/mesh => pkg/xds/template
.
Maybe pkg/util/envoy
?
33f585f
to
aa58e78
Compare
pkg/xds/template/raw.go
Outdated
@@ -0,0 +1,38 @@ | |||
package template |
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.
Same comment as above, let's avoid dependency pkg/core/resources/apis/mesh => pkg/xds/template
.
Maybe pkg/util/envoy
?
8e136aa
to
a88dd54
Compare
Summary
Validation of ProxyTemplate resource.
Also added validation of the Envoy resource itself.
Should we require either imports or resources to be present or empty ProxyTemplate with selectors is fine too?