Deploy without hostport
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
288a4454da
commit
0735682969
4 changed files with 44 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue