Compare commits

..

No commits in common. "8a6b74906e7c94e577d78d7c9d89057f9ec75639" and "23e0c8a91ec1cc6b6c6a6813be74bc707975da9b" have entirely different histories.

6 changed files with 7 additions and 70 deletions

View file

@ -1,5 +1,5 @@
my_context: kubernetes my_context: kubernetes
traefik_version: "2.10.3" traefik_version: "2.10.1"
cluster_domain: "local" cluster_domain: "local"
traefik_namespace: "traefik" traefik_namespace: "traefik"
traefik_service_type: LoadBalancer traefik_service_type: LoadBalancer

View file

@ -174,47 +174,4 @@
when: when:
- traefik_hub_token is defined - traefik_hub_token is defined
#echo 'apiVersion: v1
#kind: Service
#metadata:
# annotations:
## external-dns.alpha.kubernetes.io/endpoints-type: HostIP
# external-dns.alpha.kubernetes.io/hostname: traefik.ibm.reslinger.net
# external-dns.alpha.kubernetes.io/endpoints-type: NodeExternalIP
## external-dns.alpha.kubernetes.io/target: "1.2.3.4"
# name: traefik-dns
# namespace: traefik
#spec:
# clusterIP: None
# ports:
# - name: web
# port: 80
# protocol: TCP
# targetPort: web
# - name: websecure
# port: 443
# protocol: TCP
# targetPort: websecure
# selector:
# app.kubernetes.io/instance: traefik-traefik
# app.kubernetes.io/name: traefik' | kubectl --context kubeibm -n traefik apply -f -
# - name: Deploy latest version of Switchboard
# kubernetes.core.helm:
# context: "{{ my_context }}"
# name: switchboard
# chart_ref: oci://ghcr.io/borchero/charts/switchboard
# release_namespace: "{{ traefik_namespace }}"
## values: "{{ lookup('template', 'traefik-helm-value.yaml.j2') | from_yaml }}"
# values:
# integrations:
## certManager:
## enabled: true
## issuer: "letsencrypt-prod"
# externalDNS:
# enabled: true
# targetIPs: [10.144.217.172]
tags: traefik tags: traefik

View file

@ -28,7 +28,7 @@ data:
# http3: # http3:
# advertisedPort: 42 # advertisedPort: 42
websecure: websecure:
address: ":8443" address: ":8443/tcp"
http: http:
tls: tls:
options: default options: default
@ -36,8 +36,8 @@ data:
# - auth@file # - auth@file
# - secure_headers@file # - secure_headers@file
# - crowdsec-bouncer@file # - crowdsec-bouncer@file
http3: # http3:
advertisedPort: 443 # advertisedPort: 443
traefik: traefik:
address: ":9000/tcp" address: ":9000/tcp"
metrics: metrics:
@ -50,11 +50,7 @@ data:
{% endif%} {% endif%}
{% for traefik_entrypoint in traefik_entrypoints %} {% for traefik_entrypoint in traefik_entrypoints %}
{{ traefik_entrypoint.name }}: {{ traefik_entrypoint.name }}:
{% if traefik_entrypoint.proto is defined %} address: :{{ traefik_entrypoint.port }}
address: ":{{ traefik_entrypoint.port }}/{{ traefik_entrypoint.proto | lower }}"
{% else %}
address: ":{{ traefik_entrypoint.port }}"
{% endif %}
{% if traefik_entrypoint.tls is defined or traefik_entrypoint.middlewares is defined %} {% if traefik_entrypoint.tls is defined or traefik_entrypoint.middlewares is defined %}
http: http:
{% if traefik_entrypoint.middlewares is defined %} {% if traefik_entrypoint.middlewares is defined %}

View file

@ -58,9 +58,6 @@ ports:
{% if traefik_service_type == "NodePort" %} {% if traefik_service_type == "NodePort" %}
nodePort: 443 nodePort: 443
{% endif %} {% endif %}
http3:
enabled: true
advertisedPort: 443
# tls: # tls:
# enabled: true # enabled: true
# options: default # options: default
@ -98,6 +95,8 @@ updateStrategy:
type: OnDelete type: OnDelete
{% endif %} {% endif %}
experimental: experimental:
http3:
enabled: true
plugins: plugins:
enabled: true enabled: true
kubernetesGateway: kubernetesGateway:

View file

@ -4,17 +4,6 @@ metadata:
name: traefik name: traefik
labels: labels:
app: traefik app: traefik
annotations:
kubernetes.io/ingress.class: traefik
external-dns.alpha.kubernetes.io/hostname: traefik.{{ cluster_domain }}
external-dns.alpha.kubernetes.io/endpoints-type: NodeExternalIP
{% if false %}
# external-dns.alpha.kubernetes.io/endpoints-type: HostIP
# external-dns.alpha.kubernetes.io/target: "1.2.3.4"
# external-dns.alpha.kubernetes.io/ttl: "120"
# external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
{% endif %}
spec: spec:
entryPoints: entryPoints:

View file

@ -16,10 +16,6 @@ spec:
port: 443 port: 443
protocol: TCP protocol: TCP
targetPort: websecure targetPort: websecure
- name: websecure-http3
port: 443
protocol: UDP
targetPort: websecure
{% if traefik_external_ips is defined %} {% if traefik_external_ips is defined %}
externalIPs: externalIPs:
{% for traefik_external_ip in traefik_external_ips %} {% for traefik_external_ip in traefik_external_ips %}