From 8428903cc5c1c1de1b80e7424703ff9aca80a209 Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Tue, 1 Sep 2020 22:07:01 +0800 Subject: [PATCH] Fixed service ports --- gitea/Chart.yaml | 2 +- gitea/templates/service.yaml | 4 ++++ gitea/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gitea/Chart.yaml b/gitea/Chart.yaml index 4e9691f..dbcca31 100644 --- a/gitea/Chart.yaml +++ b/gitea/Chart.yaml @@ -14,7 +14,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.1.1 +version: 0.1.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. diff --git a/gitea/templates/service.yaml b/gitea/templates/service.yaml index 19a244a..9a58c9d 100644 --- a/gitea/templates/service.yaml +++ b/gitea/templates/service.yaml @@ -11,5 +11,9 @@ spec: targetPort: http protocol: TCP name: http + - port: {{ .Values.ssh.port }} + targetPort: ssh + protocol: TCP + name: ssh selector: {{- include "gitea.selectorLabels" . | nindent 4 }} diff --git a/gitea/values.yaml b/gitea/values.yaml index 0d3843f..3735325 100644 --- a/gitea/values.yaml +++ b/gitea/values.yaml @@ -36,6 +36,9 @@ service: type: ClusterIP port: 3000 +ssh: + port: 22 + ingress: enabled: false annotations: {}