Skip to content

Commit 303c9fb

Browse files
rene-dekkerclaude
andauthored
Recommend reencrypt over passthrough for OpenShift routes (#2647)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ca5caa4 commit 303c9fb

5 files changed

Lines changed: 70 additions & 10 deletions

File tree

calico-enterprise/operations/cnx/access-the-manager.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ To expose the web console using OpenShift routes, create the following route wit
136136
- name: `calico-manager`
137137
- targetPort: `9443`
138138

139+
Both `passthrough` and `reencrypt` TLS termination work, but we recommend `reencrypt` because `passthrough` can cause intermittent routing issues when wildcard certificates are in use.
140+
141+
The route requires a `destinationCACertificate` so HAProxy can verify the backend connection. If you provided your own `manager-tls` secret, use your own root CA here. Otherwise, extract the operator's CA with:
142+
143+
```bash
144+
kubectl get secret tigera-ca-private -n tigera-operator -o jsonpath='{.data.tls\.crt}' | base64 -d
145+
```
146+
139147
**Example**
140148

141149
```yaml
@@ -153,14 +161,18 @@ spec:
153161
port:
154162
targetPort: 9443
155163
tls:
156-
termination: passthrough
164+
termination: reencrypt
157165
insecureEdgeTerminationPolicy: Redirect
166+
destinationCACertificate: |
167+
-----BEGIN CERTIFICATE-----
168+
<CA certificate — see above>
169+
-----END CERTIFICATE-----
158170
wildcardPolicy: None
159171
```
160172

161173
### Log in to the $[prodname] web console
162174

163-
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io:9443`
175+
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io`
164176

165177
</TabItem>
166178

calico-enterprise_versioned_docs/version-3.20-2/operations/cnx/access-the-manager.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ To expose the web console using OpenShift routes, create the following route wit
136136
- name: `tigera-manager`
137137
- targetPort: `9443`
138138

139+
Both `passthrough` and `reencrypt` TLS termination work, but we recommend `reencrypt` because `passthrough` can cause intermittent routing issues when wildcard certificates are in use.
140+
141+
The route requires a `destinationCACertificate` so HAProxy can verify the backend connection. If you provided your own `manager-tls` secret, use your own root CA here. Otherwise, extract the operator's CA with:
142+
143+
```bash
144+
kubectl get secret tigera-ca-private -n tigera-operator -o jsonpath='{.data.tls\.crt}' | base64 -d
145+
```
146+
139147
**Example**
140148

141149
```yaml
@@ -153,14 +161,18 @@ spec:
153161
port:
154162
targetPort: 9443
155163
tls:
156-
termination: passthrough
164+
termination: reencrypt
157165
insecureEdgeTerminationPolicy: Redirect
166+
destinationCACertificate: |
167+
-----BEGIN CERTIFICATE-----
168+
<CA certificate — see above>
169+
-----END CERTIFICATE-----
158170
wildcardPolicy: None
159171
```
160172

161173
### Log in to the $[prodname] web console
162174

163-
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io:9443`
175+
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io`
164176

165177
</TabItem>
166178

calico-enterprise_versioned_docs/version-3.21-2/operations/cnx/access-the-manager.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ To expose the web console using OpenShift routes, create the following route wit
136136
- name: `tigera-manager`
137137
- targetPort: `9443`
138138

139+
Both `passthrough` and `reencrypt` TLS termination work, but we recommend `reencrypt` because `passthrough` can cause intermittent routing issues when wildcard certificates are in use.
140+
141+
The route requires a `destinationCACertificate` so HAProxy can verify the backend connection. If you provided your own `manager-tls` secret, use your own root CA here. Otherwise, extract the operator's CA with:
142+
143+
```bash
144+
kubectl get secret tigera-ca-private -n tigera-operator -o jsonpath='{.data.tls\.crt}' | base64 -d
145+
```
146+
139147
**Example**
140148

141149
```yaml
@@ -153,14 +161,18 @@ spec:
153161
port:
154162
targetPort: 9443
155163
tls:
156-
termination: passthrough
164+
termination: reencrypt
157165
insecureEdgeTerminationPolicy: Redirect
166+
destinationCACertificate: |
167+
-----BEGIN CERTIFICATE-----
168+
<CA certificate — see above>
169+
-----END CERTIFICATE-----
158170
wildcardPolicy: None
159171
```
160172

161173
### Log in to the $[prodname] web console
162174

163-
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io:9443`
175+
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io`
164176

165177
</TabItem>
166178

calico-enterprise_versioned_docs/version-3.22-2/operations/cnx/access-the-manager.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ To expose the web console using OpenShift routes, create the following route wit
136136
- name: `tigera-manager`
137137
- targetPort: `9443`
138138

139+
Both `passthrough` and `reencrypt` TLS termination work, but we recommend `reencrypt` because `passthrough` can cause intermittent routing issues when wildcard certificates are in use.
140+
141+
The route requires a `destinationCACertificate` so HAProxy can verify the backend connection. If you provided your own `manager-tls` secret, use your own root CA here. Otherwise, extract the operator's CA with:
142+
143+
```bash
144+
kubectl get secret tigera-ca-private -n tigera-operator -o jsonpath='{.data.tls\.crt}' | base64 -d
145+
```
146+
139147
**Example**
140148

141149
```yaml
@@ -153,14 +161,18 @@ spec:
153161
port:
154162
targetPort: 9443
155163
tls:
156-
termination: passthrough
164+
termination: reencrypt
157165
insecureEdgeTerminationPolicy: Redirect
166+
destinationCACertificate: |
167+
-----BEGIN CERTIFICATE-----
168+
<CA certificate — see above>
169+
-----END CERTIFICATE-----
158170
wildcardPolicy: None
159171
```
160172

161173
### Log in to the $[prodname] web console
162174

163-
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io:9443`
175+
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io`
164176

165177
</TabItem>
166178

calico-enterprise_versioned_docs/version-3.23-1/operations/cnx/access-the-manager.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ To expose the web console using OpenShift routes, create the following route wit
136136
- name: `calico-manager`
137137
- targetPort: `9443`
138138

139+
Both `passthrough` and `reencrypt` TLS termination work, but we recommend `reencrypt` because `passthrough` can cause intermittent routing issues when wildcard certificates are in use.
140+
141+
The route requires a `destinationCACertificate` so HAProxy can verify the backend connection. If you provided your own `manager-tls` secret, use your own root CA here. Otherwise, extract the operator's CA with:
142+
143+
```bash
144+
kubectl get secret tigera-ca-private -n tigera-operator -o jsonpath='{.data.tls\.crt}' | base64 -d
145+
```
146+
139147
**Example**
140148

141149
```yaml
@@ -153,14 +161,18 @@ spec:
153161
port:
154162
targetPort: 9443
155163
tls:
156-
termination: passthrough
164+
termination: reencrypt
157165
insecureEdgeTerminationPolicy: Redirect
166+
destinationCACertificate: |
167+
-----BEGIN CERTIFICATE-----
168+
<CA certificate — see above>
169+
-----END CERTIFICATE-----
158170
wildcardPolicy: None
159171
```
160172

161173
### Log in to the $[prodname] web console
162174

163-
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io:9443`
175+
Access the $[prodname] web console in your browser using the URL with clustername. For example: `https://manager.apps.demo-ocp.tigera-solutions.io`
164176

165177
</TabItem>
166178

0 commit comments

Comments
 (0)