diff --git a/roles/k8s-node/templates/traefik-config.yaml b/roles/k8s-node/templates/traefik-config.yaml index 6e9508b..fd2498f 100644 --- a/roles/k8s-node/templates/traefik-config.yaml +++ b/roles/k8s-node/templates/traefik-config.yaml @@ -23,6 +23,9 @@ spec: additionalArguments: - --providers.file.directory=/file-configs - --providers.file.watch=true + - --entrypoints.web.http.redirections.entryPoint.to=:443 + - --entrypoints.web.http.redirections.entryPoint.scheme=https + - --entrypoints.web.http.redirections.entrypoint.permanent=true volumes: - name: traefik-additional-configs mountPath: /file-configs