-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
feature: airgappriority: highest (user impact)Directly user impactingDirectly user impactingself-hostedteam: deliveryIssue belongs to the self-hosted teamIssue belongs to the self-hosted team
Milestone
Description
Currently it is done here in our KOTS installer:
gitpod/install/kots/manifests/gitpod-installer-job.yaml
Lines 211 to 219 in 0f49949
if [ '{{repl ConfigOptionEquals "ssh_gateway" "1" }}' = "true" ]; | |
then | |
echo "Gitpod: Generate SSH host key" | |
apk update && apk add --no-cache openssh-keygen # TODO: Move installation of openssh-keygen to installer image | |
ssh-keygen -t rsa -q -N "" -f host.key | |
kubectl create secret generic ssh-gateway-host-key --from-file=host.key -n {{repl Namespace }} || echo "SSH Gateway Host Key secret has not been created. Does it exist already?" | |
yq e -i '.sshGatewayHostKey.kind = "secret"' "${CONFIG_FILE}" | |
yq e -i '.sshGatewayHostKey.name = "ssh-gateway-host-key"' "${CONFIG_FILE}" | |
fi |
Metadata
Metadata
Assignees
Labels
feature: airgappriority: highest (user impact)Directly user impactingDirectly user impactingself-hostedteam: deliveryIssue belongs to the self-hosted teamIssue belongs to the self-hosted team