Bug 2054073 - Route [route.openshift.io/v1] Description of .spec.tls.insecureEdgeTerminationPolicy is not correct
Summary: Route [route.openshift.io/v1] Description of .spec.tls.insecureEdgeTerminatio...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.10
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.z
Assignee: Servesha
QA Contact: Hongan Li
Latha S
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-14 06:48 UTC by Vincent Shen
Modified: 2022-03-23 10:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-23 10:23:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vincent Shen 2022-02-14 06:48:28 UTC
Document URL: 

https://docs.openshift.com/container-platform/4.9/rest_api/network_apis/route-route-openshift-io-v1.html

Section Number and Name: 

Under `insecureEdgeTerminationPolicy` property of `.spec.tls`

Describe the issue: 

The description there is not correct; it has 
```
* Allow - traffic is sent to the server on the insecure port (default) * Disable - no traffic is allowed on the insecure port. * Redirect - clients are redirected to the secure port.
```
Which does not match with:
https://github.com/openshift/api/blob/31ffd77a8f025c73b5d19b390af353f9775e7ef1/route/v1/types.go#L270


Suggestions for improvement: 

It should be:

```
None disables insecure connections for an edge-terminated route.
Allow allows insecure connections for an edge-terminated route.
Redirect redirects insecure connections for an edge-terminated route.
```

Additional information: 

None

Comment 3 Hongan Li 2022-02-16 07:04:37 UTC
The doc PR looks good, moving to verified.


Note You need to log in before you can comment on or make changes to this bug.