diff --git a/infrastructure/03-traefik/base/deployment-traefik.yaml b/infrastructure/03-traefik/base/deployment-traefik.yaml index 8d9cc1e..35cd9df 100644 --- a/infrastructure/03-traefik/base/deployment-traefik.yaml +++ b/infrastructure/03-traefik/base/deployment-traefik.yaml @@ -43,7 +43,7 @@ spec: - --providers.kubernetescrd.allowExternalNameServices=true - --entrypoints.websecure.http.middlewares=traefik-default-headers - --entrypoints.websecure.http.tls=true - - --entrypoints.websecure.http.tls.certResolver=default + - --log.level=WARN - --accesslog=true - --accesslog.fields.defaultmode=keep diff --git a/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml b/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml index a982b71..11defd2 100644 --- a/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml +++ b/infrastructure/03-traefik/overlay-external/patches/traefik-deployment-patch.yaml @@ -29,7 +29,6 @@ spec: - --entrypoints.websecure.address=:8443/tcp - --entrypoints.websecure.http.middlewares=traefik-default-headers - --entrypoints.websecure.http.tls=true - - --entrypoints.websecure.http.tls.certResolver=default - --api.dashboard=false - --ping=true @@ -44,6 +43,7 @@ spec: - --accesslog=true - --accesslog.fields.defaultmode=keep - --accesslog.fields.headers.defaultmode=drop + - --certificatesResolvers.default.acme.caServer=https://acme-staging-v02.api.letsencrypt.org/directory - --certificatesResolvers.default.acme.email=steffen.illium@gmail.com - --certificatesResolvers.default.acme.dnsChallenge.provider=ionos diff --git a/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml b/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml index 45456bf..8fd1e27 100644 --- a/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml +++ b/infrastructure/03-traefik/overlay-external/patches/traefik-service-patch.yaml @@ -4,7 +4,7 @@ metadata: name: traefik namespace: traefik spec: - type: NodePort + type: LoadBalancer ports: - name: traefik @@ -15,15 +15,12 @@ spec: port: 80 protocol: TCP targetPort: web - nodeport: 80 - name: websecure port: 443 protocol: TCP targetPort: websecure - nodeport: 443 - name: dns port: 53 protocol: UDP targetPort: dns - nodeport: 53 - + loadBalancerIP: 82.165.0.71 \ No newline at end of file