From 1b907185311cc47d43961ddeb9cd8d0126166622 Mon Sep 17 00:00:00 2001 From: Cesar Okuti Date: Tue, 15 Jan 2019 11:02:41 -0200 Subject: [PATCH] Add svc variable serviceType Signed-off-by: Cesar Okuti --- stable/rocketchat/Chart.yaml | 2 +- stable/rocketchat/templates/svc.yaml | 1 + stable/rocketchat/values.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/rocketchat/Chart.yaml b/stable/rocketchat/Chart.yaml index 28cbbb5d5c11..642ba49b910c 100644 --- a/stable/rocketchat/Chart.yaml +++ b/stable/rocketchat/Chart.yaml @@ -1,5 +1,5 @@ name: rocketchat -version: 0.1.5 +version: 0.2.5 appVersion: 0.69.1 description: Prepare to take off with the ultimate chat platform, experience the next level of team communications diff --git a/stable/rocketchat/templates/svc.yaml b/stable/rocketchat/templates/svc.yaml index 287b75ad5d50..c2c34773ecbb 100644 --- a/stable/rocketchat/templates/svc.yaml +++ b/stable/rocketchat/templates/svc.yaml @@ -8,6 +8,7 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" spec: + type: {{ .Values.service.type }} ports: - name: http port: 3000 diff --git a/stable/rocketchat/values.yaml b/stable/rocketchat/values.yaml index 42d44de711ad..6f280d4d348e 100644 --- a/stable/rocketchat/values.yaml +++ b/stable/rocketchat/values.yaml @@ -109,3 +109,6 @@ ingress: # - secretName: chart-example-tls # hosts: # - chart-example.local + +service: + type: ClusterIP