summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib/components/netbox/charts/netbox-nginx
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-13 16:02:16 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-13 16:02:16 +0200
commitc08c8ffa8ec4f063c22e19acdc0a1e23edd4f26f (patch)
treeb8d78d62602fe105760f7592909a9cea88476373 /kubernetes/contrib/components/netbox/charts/netbox-nginx
parenta8934e9feb874baf84a3dba697013d429e04f921 (diff)
[CONTRIB] Make netbox nginx service work again
Moving from NodePort to ClusterIP has made a regression. This patch solves it. Issue-ID: OOM-2556 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6e2d87bf22bb8f25e6b25653f2954f04c1011800
Diffstat (limited to 'kubernetes/contrib/components/netbox/charts/netbox-nginx')
-rwxr-xr-xkubernetes/contrib/components/netbox/charts/netbox-nginx/templates/service.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/service.yaml b/kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/service.yaml
index ed761374fa..c01612e0f4 100755
--- a/kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/service.yaml
+++ b/kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/service.yaml
@@ -31,7 +31,7 @@ spec:
- port: {{ .Values.service.internalPort }}
nodePort: {{ .Values.global.nodePortPrefixExt | default .Values.nodePortPrefixExt }}{{ .Values.service.nodePort }}
{{- else -}}
- - port: {{ .Values.service.externalPort }}
+ - port: {{ .Values.service.internalPort }}
targetPort: {{ .Values.service.internalPort }}
{{- end}}
selector: