I think websecure is the port on which SSL traffic gets routed. It is standard when installing Traefik via the chart, I believe. I am not sure what constitutes my dynamic configuration. Is that the configuration for the actual ingress (given below)? If not, let me know and I'll try to get the info you need.
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: whoami-grpc-route
namespace: {{ .Values.environment.namespaceName }}
annotations:
# traefik.ingress.kubernetes.io/router.middlewares: "traefik-v2-autodetect@kubernetescrd"
# traefik.ingress.kubernetes.io/service.serversscheme: h2c
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: (Host(`{{ .Values.environment.namespaceName }}.mydomain.com`) || (Host(`{{ .Values.environment.namespaceName }}`))) && PathPrefix(`/update`)
priority: 20
middlewares:
- name: strip-prefix-regex
namespace: {{ .Values.environment.namespaceName }}
services:
- name: whoami-grpc-svc
namespace: {{ .Values.environment.namespaceName }}
port: {{ .Values.whoAmI.grpcInternalPort }}
scheme: h2c
passHostHeader: true
tls:
secretName: {{ .Values.environment.namespaceName }}.mydomain-tls
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: strip-prefix-regex
namespace: {{ .Values.environment.namespaceName }}
spec:
stripPrefixRegex:
regex:
- "^/[^/]+"
I installed Traefik using the chart (https://traefik.github.io/charts), specifically, this file has the values https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml). That sets these args (I am assuming that is the static configuration in my case):
- '--global.checknewversion'
- '--global.sendanonymoususage'
- '--entrypoints.metrics.address=:9100/tcp'
- '--entrypoints.traefik.address=:9000/tcp'
- '--entrypoints.web.address=:8000/tcp'
- '--entrypoints.websecure.address=:8443/tcp'
- '--api.dashboard=true'
- '--ping=true'
- '--metrics.prometheus=true'
- '--metrics.prometheus.entrypoint=metrics'
- '--providers.kubernetescrd'
- '--providers.kubernetesingress'
- '--entrypoints.websecure.http.tls=true'
- '--entrypoints.proxy.address=:6809/tcp'
- '--log.level=DEBUG'
- '--log.format=json'
- '--providers.kubernetescrd'
- '--providers.kubernetesingress=true'
- '--serversTransport.insecureSkipVerify=true'
- '--api=true'
- '--api.insecure=true'
- '--api.dashboard=true'
- '--accesslog'
- '--accesslog.format=json'