From 736ac64ff0c7c0c6d1a5ec9d2709599f244ed938 Mon Sep 17 00:00:00 2001 From: Adrien Reslinger Date: Tue, 10 May 2022 00:35:31 +0200 Subject: [PATCH] Add test with nodeports --- templates/traefik-helm-value.yaml.j2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/traefik-helm-value.yaml.j2 b/templates/traefik-helm-value.yaml.j2 index 05fbdd9..39e1c58 100644 --- a/templates/traefik-helm-value.yaml.j2 +++ b/templates/traefik-helm-value.yaml.j2 @@ -35,15 +35,19 @@ autoscaling: resource: name: memory targetAverageUtilization: 60 -#ports: -# web: +{% if traefik_service_type == "NodePort" and false %} +ports: + web: # redirectTo: websecure # hostPort: 80 -# websecure: + nodePort: 80 + websecure: # hostPort: 443 + nodePort: 443 # tls: # enabled: true # options: default +{% endif %} volumes: - mountPath: /etc/traefik name: traefik-conf