Deploy without hostport
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2021-12-25 01:56:25 +01:00
parent 288a4454da
commit 0735682969
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
4 changed files with 44 additions and 17 deletions

View file

@ -9,15 +9,19 @@ metadata:
spec:
ports:
- name: web
hostPort: 80
port: 80
protocol: TCP
targetPort: web
- name: websecure
hostPort: 443
port: 443
protocol: TCP
targetPort: websecure
{% if traefik_external_ips is defined %}
externalIPs:
{% for traefik_external_ip in traefik_external_ips %}
- {{ traefik_external_ip }}
{% endfor %}
{% endif %}
selector:
app.kubernetes.io/instance: traefik
app.kubernetes.io/name: traefik