Update traefik deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-10-05 11:16:48 +02:00
parent a102ba09a7
commit 382cc69b2c
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
3 changed files with 31 additions and 1 deletions

View file

@ -46,7 +46,7 @@ data:
traefikhub-api:
address: ":9900"
traefikhub-tunl:
address: ":9901"
address: ":9901/tcp"
{% endif%}
{% for traefik_entrypoint in traefik_entrypoints %}
{{ traefik_entrypoint.name }}:
@ -71,6 +71,9 @@ data:
allowEmptyServices: true
kubernetesIngress:
ingressClass: "traefik"
{% if traefik_hub_token is defined %}
allowExternalNameServices: true
{% endif%}
allowEmptyServices: true
file:
directory: /etc/traefik/file/

View file

@ -0,0 +1,14 @@
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: Secret
metadata:
annotations:
app.kubernetes.io/managed-by: traefik-hub
name: hub-certificate
namespace: {{ traefik_namespace }}
type: kubernetes.io/tls
data:
tls.crt: {{ traefik_hub_tlscrt | b64encode }}
tls.key: {{ traefik_hub_tlskey | b64encode }}