-
Notifications
You must be signed in to change notification settings - Fork 158
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: add possibility to route requests to sidecar container #270
base: main
Are you sure you want to change the base?
Changes from all commits
33c85e0
435eb37
c77c7b3
924ea22
5946fa9
8cfe6d8
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 |
---|---|---|
|
@@ -196,6 +196,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart | |
| `service.loadBalancerIP` | ip of load balancer | `nil` | | ||
| `service.loadBalancerSourceRanges` | allowed source ranges in load balancer | `nil` | | ||
| `service.nodePort` | external port number for the service when service.type is `NodePort` | `nil` | | ||
| `service.targetPort` | name for the service's `targetPort` | `""` | ||
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. "A numeric port number (e.g., |
||
| `serviceAccount.enabled` | create a service account | `true` | | ||
| `serviceAccount.name` | the service account name | `` | | ||
| `serviceAccount.annotations` | (optional) annotations for the service account | `{}` | | ||
|
@@ -357,3 +358,6 @@ config: | |
whitelist_domains = [ ".domain.com", ".example.io"] | ||
provider = "google" | ||
``` | ||
|
||
## Route requests to sidecar container | ||
You can route requests to a sidecar container first by setting the `service.targetPort` variable; by default, the service's `targetPort` value equals to the `httpSchema`'s. | ||
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. The possible values for the |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,6 +153,9 @@ service: | |
externalTrafficPolicy: "" | ||
# configure internalTrafficPolicy | ||
internalTrafficPolicy: "" | ||
# configure service target port | ||
# useful when there's need to route requests to sidecar containers first | ||
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. I would remove this comment. |
||
targetPort: "" | ||
|
||
## Create or use ServiceAccount | ||
serviceAccount: | ||
|
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.
Please
7.9.0
🙏🏻