fix gogs service ssh targetPort (#5486)

* fix gogs service ssh targetPort

* change ssh containerPort in deployment
This commit is contained in:
Shihao Yan
2018-05-10 11:32:54 -07:00
committed by k8s-ci-robot
parent 7da6e88d13
commit 53539711bb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: 'Gogs: Go Git Service'
name: gogs
version: 0.5.2
version: 0.5.3
appVersion: 0.11.29
home: https://gogs.io/
icon: https://gogs.io/img/favicon.ico
+1 -1
View File
@@ -22,7 +22,7 @@ spec:
imagePullPolicy: {{ .Values.imagePullPolicy }}
ports:
- containerPort: 3000
- containerPort: {{ .Values.service.sshPort | int }}
- containerPort: 22
livenessProbe:
httpGet:
path: /
+1 -1
View File
@@ -15,7 +15,7 @@ spec:
targetPort: 3000
name: {{ default "gogs" .Values.service.nameOverride }}-http
- port: {{ .Values.service.sshPort | int }}
targetPort: {{ .Values.service.sshPort | int }}
targetPort: 22
name: {{ default "gogs" .Values.service.nameOverride }}-ssh
selector:
app: {{ template "gogs.fullname" . }}