diff --git a/helm/squidex/templates/service.yaml b/helm/squidex/templates/service.yaml index 6bab1add01..dab6ce9c79 100644 --- a/helm/squidex/templates/service.yaml +++ b/helm/squidex/templates/service.yaml @@ -11,5 +11,8 @@ spec: targetPort: http protocol: TCP name: http + {{- if and (eq (lower .Values.service.type) "nodeport") .Values.service.nodePort }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} selector: {{- include "squidex.selectors" . | indent 4 }} \ No newline at end of file diff --git a/helm/squidex/values.yaml b/helm/squidex/values.yaml index 89d9c86f25..b9dc2d765c 100644 --- a/helm/squidex/values.yaml +++ b/helm/squidex/values.yaml @@ -9,6 +9,9 @@ service: ## @param service.port Kubernetes Service port ## port: 80 + ## @param service.port Kubernetes Service port + ## + nodePort: null deployment: ## @param deployment.replicaCount Number of instances. ##