You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: helm/oauth2-proxy/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
196
196
|`service.loadBalancerIP`| ip of load balancer |`nil`|
197
197
|`service.loadBalancerSourceRanges`| allowed source ranges in load balancer |`nil`|
198
198
|`service.nodePort`| external port number for the service when service.type is `NodePort`|`nil`|
199
-
| `service.targetPort` | name for the service's `targetPort` | `""`
199
+
| `service.targetPort` | (optional) a numeric port number (e.g., 80) or a port name defined in the pod's container(s) (e.g., http) | `""`
200
200
|`serviceAccount.enabled`| create a service account |`true`|
201
201
|`serviceAccount.name`| the service account name | `` |
202
202
|`serviceAccount.annotations`| (optional) annotations for the service account |`{}`|
@@ -360,4 +360,4 @@ config:
360
360
```
361
361
362
362
## Route requests to sidecar container
363
-
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.
363
+
You can route requests to a sidecar container first by setting the `service.targetPort` variable. The possible values for the targetPort field of a Kubernetes Service can be either a port number or the name of a port defined in the pod. By default, the service's `targetPort` value equals to `httpSchema`'s.
0 commit comments