-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add dynamic proxy configuration #150
Conversation
Integrates the XDS client into the cluster manager Work on #10
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.
Two small minor things, but otherwise looks really good!
@@ -0,0 +1,29 @@ | |||
# | |||
# Copyright 2020 Google LLC All Rights Reserved. |
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.
Should we also add an entry to https://github.com/googleforgames/quilkin/blob/master/docs/proxy-configuration.md while we are at it in this PR?
(Also just noted this page is not referenced from the home page, but that's a separate issue)
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.
Yeah good catch, will fix!
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.
Updated!
properties: | ||
filter: | ||
'$ref': '#/definitions/filterchain' | ||
endpoints: | ||
'$ref': '#/definitions/endpoints' | ||
required: | ||
- endpoints | ||
dynamic: |
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.
Should this be a oneOf
with children of dynamic
and static
? https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/#oneof
Or would that be too complicated for the documentation? (Not for this PR, but maybe we should split this up into separate docs)
Actually, this would be the link of oneOf, yes? http://json-schema.org/draft-04/json-schema-validation.html#rfc.section.5.5 ?
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.
Yeah ideally it'll be oneof but oneof is a bit weird at the top level, instead of being able to say oneof static
or dynamic
at the top level, we can only say oneof or which might be more complex
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.
Sounds good - just wanted to check 👍
Integrates the XDS client into the cluster manager
Work on #10