-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore(source/istio): replace kube API calls with caching and ingress informers #5743
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
Changes from 4 commits
9bed71b
07f7f12
24d7f62
569b64a
bedd7ee
6050a1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,19 +40,21 @@ const ( | |
| SetIdentifierKey = AnnotationKeyPrefix + "set-identifier" | ||
| AliasKey = AnnotationKeyPrefix + "alias" | ||
| TargetKey = AnnotationKeyPrefix + "target" | ||
| // The annotation used for figuring out which controller is responsible | ||
| // ControllerKey The annotation used for figuring out which controller is responsible | ||
| ControllerKey = AnnotationKeyPrefix + "controller" | ||
| // The annotation used for defining the desired hostname | ||
| // HostnameKey The annotation used for defining the desired hostname | ||
| HostnameKey = AnnotationKeyPrefix + "hostname" | ||
| // The annotation used for specifying whether the public or private interface address is used | ||
| // AccessKey The annotation used for specifying whether the public or private interface address is used | ||
| AccessKey = AnnotationKeyPrefix + "access" | ||
| // The annotation used for specifying the type of endpoints to use for headless services | ||
| // EndpointsTypeKey The annotation used for specifying the type of endpoints to use for headless services | ||
| EndpointsTypeKey = AnnotationKeyPrefix + "endpoints-type" | ||
| // The annotation used to determine the source of hostnames for ingresses. This is an optional field - all | ||
| // Ingress the annotation used to determine if the gateway is implemented by an Ingress object | ||
| Ingress = AnnotationKeyPrefix + "ingress" | ||
| // IngressHostnameSourceKey The annotation used to determine the source of hostnames for ingresses. This is an optional field - all | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like a new annotation to me, a new feature, not directly related a "replace kube API calls with caching and ingress informers". Wdyt of moving the code and documentation of this new feature into a separate PR ?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will do. This is not a new annotations, it was added here #3842
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. moved out documentation |
||
| // available hostname sources are used if not specified. | ||
| IngressHostnameSourceKey = AnnotationKeyPrefix + "ingress-hostname-source" | ||
| // The value of the controller annotation so that we feel responsible | ||
| // ControllerValue The value of the controller annotation so that we feel responsible | ||
| ControllerValue = "dns-controller" | ||
| // The annotation used for defining the desired hostname | ||
| // InternalHostnameKey The annotation used for defining the desired hostname | ||
| InternalHostnameKey = AnnotationKeyPrefix + "internal-hostname" | ||
| ) | ||
Uh oh!
There was an error while loading. Please reload this page.
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.