ssh port was wrong
This commit is contained in:
@@ -50,6 +50,9 @@ spec:
|
|||||||
value: "3000"
|
value: "3000"
|
||||||
|
|
||||||
- name: GITEA__server__SSH_PORT
|
- name: GITEA__server__SSH_PORT
|
||||||
|
value: "30222"
|
||||||
|
|
||||||
|
- name: GITEA__server__SSH_LISTEN_PORT
|
||||||
value: "2222"
|
value: "2222"
|
||||||
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
- name: ssh
|
- name: ssh
|
||||||
port: 2222
|
port: 2222 # pod port
|
||||||
targetPort: ssh
|
targetPort: ssh
|
||||||
nodePort: 30222
|
nodePort: 30222 # external
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
|
||||||
type: NodePort
|
type: NodePort
|
||||||
|
|||||||
Reference in New Issue
Block a user