correct annotation option

This commit is contained in:
Clemens Bergmann 2021-04-06 17:18:03 +02:00 committed by GitHub
parent 2a1e46c8b6
commit aa61835b78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -761,7 +761,7 @@ There are 3 ways to configure Traefik to use https to communicate with pods:
1. If the service port defined in the ingress spec is `443` (note that you can still use `targetPort` to use a different port on your pod). 1. If the service port defined in the ingress spec is `443` (note that you can still use `targetPort` to use a different port on your pod).
1. If the service port defined in the ingress spec has a name that starts with https (such as `https-api`, `https-web` or just `https`). 1. If the service port defined in the ingress spec has a name that starts with https (such as `https-api`, `https-web` or just `https`).
1. If the ingress spec includes the annotation `traefik.ingress.kubernetes.io/service.serversscheme: https`. 1. If the service spec includes the annotation `traefik.ingress.kubernetes.io/service.serversscheme: https`.
If either of those configuration options exist, then the backend communication protocol is assumed to be TLS, If either of those configuration options exist, then the backend communication protocol is assumed to be TLS,
and will connect via TLS automatically. and will connect via TLS automatically.