Skip to content

Commit 5be47e0

Browse files
committed
feature: correct docs
1 parent 5f06464 commit 5be47e0

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/guide/ingress/ingress_class.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,15 @@ You can use IngressClassParams to enforce settings for a set of Ingresses.
174174
spec:
175175
targetType: ip
176176
```
177+
- with sslRedirectPort
178+
```
179+
apiVersion: elbv2.k8s.aws/v1beta1
180+
kind: IngressClassParams
181+
metadata:
182+
name: class2048-config
183+
spec:
184+
sslRedirectPort: '443'
185+
```
177186
- with IPv4IPAMPoolId
178187
```
179188
apiVersion: elbv2.k8s.aws/v1beta1
@@ -272,9 +281,15 @@ If the field is specified, LBC will ignore the `alb.ingress.kubernetes.io/certif
272281
273282
#### spec.sslPolicy
274283
275-
Cluster administrators can use the optional `sslPolicy` field to specify the SSL policy for the load balancers that belong to this IngressClass.
284+
Cluster administrators can use the optional `sslPolicy` field to specify the SSL policy for the load balancers that belongs to this IngressClass.
276285
If the field is specified, LBC will ignore the `alb.ingress.kubernetes.io/ssl-policy` annotation.
277286
287+
#### spec.sslRedirectPort
288+
289+
Cluster administrators can use the optional `sslRedirectPort` field to specify the SSL redirect port for the load balancers that belongs to this IngressClass.
290+
If the field is specified, LBC will ignore the `alb.ingress.kubernetes.io/ssl-redirect` annotation.
291+
292+
278293
#### spec.subnets
279294
280295
Cluster administrators can use the optional `subnets` field to specify the subnets for the load balancers that belong to this IngressClass.

0 commit comments

Comments
 (0)