From 2596299ab8f7b478d843bfcc48da829751814ef7 Mon Sep 17 00:00:00 2001 From: Frank B Greco Jr Date: Fri, 15 Jun 2018 09:49:44 -0500 Subject: [PATCH] node port (#116) --- helm/kanali/templates/service-kanali.yaml | 6 ++++++ helm/kanali/values.yaml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/helm/kanali/templates/service-kanali.yaml b/helm/kanali/templates/service-kanali.yaml index ae4b445..a6d76f9 100644 --- a/helm/kanali/templates/service-kanali.yaml +++ b/helm/kanali/templates/service-kanali.yaml @@ -17,9 +17,15 @@ spec: {{- if .Values.gateway.securePort }} - name: https port: {{.Values.gateway.securePort}} + {{- if .Values.gateway.secureNodePort }} + nodePort: {{.Values.gateway.secureNodePort}} + {{- end }} {{- end }} {{- if .Values.gateway.insecurePort }} - name: http port: {{.Values.gateway.insecurePort}} + {{- if .Values.gateway.insecureNodePort }} + nodePort: {{.Values.gateway.insecureNodePort}} + {{- end }} {{- end }} type: NodePort \ No newline at end of file diff --git a/helm/kanali/values.yaml b/helm/kanali/values.yaml index 40b84e3..757ff8a 100644 --- a/helm/kanali/values.yaml +++ b/helm/kanali/values.yaml @@ -2,8 +2,10 @@ namespace: kanali logLevel: info gateway: securePort: 8443 + secureNodePort: 0 secureBindAddress: 0.0.0.0 insecurePort: 0 + insecureNodePort: 0 insecureBindAddress: 0.0.0.0 rsa: secretName: kanali-rsa