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