Skip to content
Snippets Groups Projects
Commit afc3ab80 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

Merge branch 'endpoints'

parents 8db91f9f cd55db47
No related branches found
No related tags found
No related merge requests found
Pipeline #7785 passed with stages
in 1 minute and 6 seconds
......@@ -35,6 +35,8 @@ spec:
value: "sshuser"
- name: USER_PASSWORD
value: "test"
- name: LOG_STDOUT
value: "true"
ports:
- name: ssh
containerPort: 2222
......
......@@ -4,9 +4,9 @@ metadata:
name: ssh-server
namespace: ssh-server
spec:
type: ClusterIP
type: LoadBalancer
ports:
- port: 22
- port: 2222
targetPort: ssh
protocol: TCP
name: ssh
......
{{- range $_, $endpoint := .Values.endpoints }}
{{ include "common.endpoint" (dict "Values" $endpoint "Chart" $.Chart "Release" $.Release) }}
{{- end }}
......@@ -99,7 +99,7 @@ tcpRoute: # Currently, only traefik is supported
- match: HostSNI(`*`)
services:
- name: ssh-jump-host # must be changed according to fullname
port: 22 # must match the service port
port: ssh # must match the service port
configs:
......@@ -135,7 +135,7 @@ configs:
hostKeys:
name: ssh-host-keys # secret name
data: # At least one key pair MUST be added to successfully start the server, can be generated with `ssh-keygen -t [algorithm] -f [filename]`. For rsa, `-b 4096` is recommended
data: # At least one key pair MUST be added to successfully start the server, can be generated with `ssh-keygen -N "" -t [algorithm] -f [filename]`. For rsa, `-b 4096` is recommended
ssh_host_ecdsa_key: ''
ssh_host_ecdsa_key.pub: ''
ssh_host_ed25519_key: ''
......@@ -149,3 +149,4 @@ userKeys:
# dummyUser: base64EncodedDummyUserPublicKey
networkpolicies: {}
endpoints: {}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment