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