Skip to content

Commit a423d1d

Browse files
committed
feat: fix parameter description
1 parent ca8385f commit a423d1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm/oauth2-proxy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
196196
| `service.loadBalancerIP` | ip of load balancer | `nil` |
197197
| `service.loadBalancerSourceRanges` | allowed source ranges in load balancer | `nil` |
198198
| `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) | `""`
200200
| `serviceAccount.enabled` | create a service account | `true` |
201201
| `serviceAccount.name` | the service account name | `` |
202202
| `serviceAccount.annotations` | (optional) annotations for the service account | `{}` |
@@ -360,4 +360,4 @@ config:
360360
```
361361
362362
## 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

Comments
 (0)