Commit f4639626 authored by sonicaj's avatar sonicaj

Add service for nginx

parent 25796dfd
{{ $port := .Values.nodePort }}
{{ $ports := list }}
{{ $ports = mustAppend $ports (dict "name" "https" "port" $port "nodePort" $port "targetPort" "collabora") }}
{{ $params := (. | mustDeepCopy) }}
{{ $_ := set $params "common" (dict "nameSuffix" "nginx") "commonService" (dict "ports" $ports "type" "NodePort" ) }}
{{ include "common.classes.service" $params }}
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
{{ $ports := list }} {{ $ports := list }}
{{ $ports = mustAppend $ports (dict "name" "collabora" "port" $port "nodePort" $port "targetPort" "collabora") }} {{ $ports = mustAppend $ports (dict "name" "collabora" "port" $port "nodePort" $port "targetPort" "collabora") }}
{{ $params := . }} {{ $params := . }}
{{ $_ := set $params "commonService" (dict "ports" $ports "type" "NodePort" ) }} {{ $_ := set $params "commonService" (dict "ports" $ports "type" "ClusterIP" ) }}
{{ include "common.classes.service" $params }} {{ include "common.classes.service" $params }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment