feat(aws/config): Support configuring auth_service.proxy_listener_mode (#23669)

Signed-off-by: Roman Tkachenko <roman@goteleport.com>
Co-authored-by: Håkon Solbjørg <hakon@solbj.org>
This commit is contained in:
Roman Tkachenko
2023-03-27 23:05:37 +00:00
committed by GitHub
co-authored by Håkon Solbjørg
parent fbf2bc2ce3
commit e708d7d22b
@@ -280,6 +280,11 @@ EOF
echo " license_file: /var/lib/teleport/license.pem" >> ${USE_CONFIG_PATH}
fi
# configure proxy_listener_mode
if [[ -n "${PROXY_MULTIPLEXING}" ]]; then
echo " proxy_listener_mode: ${PROXY_MULTIPLEXING}" >> ${USE_CONFIG_PATH}
fi
# enable/start token services and timers
systemctl_wrap enable teleport-ssm-publish-tokens.service teleport-ssm-publish-tokens.timer
systemctl_wrap start teleport-ssm-publish-tokens.timer
@@ -479,6 +484,11 @@ EOF
echo " license_file: /var/lib/teleport/license.pem" >> ${USE_CONFIG_PATH}
fi
# configure proxy_listener_mode
if [[ -n "${PROXY_MULTIPLEXING}" ]]; then
echo " proxy_listener_mode: ${PROXY_MULTIPLEXING}" >> ${USE_CONFIG_PATH}
fi
cat >>${USE_CONFIG_PATH} <<EOF
ssh_service: