This PR adds the support of an alternative rsync backend: sshd in the rsyncd chart.
It introduces a set for changes, which most of them are breaking and requires values updates:
BREAKING CHANGE: the default user changes from nobody:nogroup (65534:65534) to rsyncd:rsyncd (1000:1000)
BREAKING CHANGE: Default user dir changes from /nowhere to /home/rsyncd
BREAKING CHANGE: Default run temp dir for PID files changes from /run to /home/rsyncd/run
BREAKING CHANGE: All rsync directories (when using rsyncd) directories (data/, /etc) changes to /home/rsyncd/*
Enhancement: allows to use sshd instead of rsyncd, configured by the new value configuration.rsyncd_daemon set to sshd. Otherwise defaults to rsyncd. When enabled:
Internally exposed port (pod) changes from 1873 to 2222 (unless specified through the value port)
Service exposed port changes from 873 to 22 (unless specified through the value service.port)
Related to https://github.com/jenkins-infra/helpdesk/issues/4402
This PR adds the support of an alternative rsync backend:
sshd
in thersyncd
chart.It introduces a set for changes, which most of them are breaking and requires values updates:
nobody:nogroup
(65534:65534
) torsyncd:rsyncd
(1000:1000
)/nowhere
to/home/rsyncd
run
temp dir for PID files changes from/run
to/home/rsyncd/run
rsyncd
) directories (data/
,/etc
) changes to/home/rsyncd/*
sshd
instead ofrsyncd
, configured by the new valueconfiguration.rsyncd_daemon
set tosshd
. Otherwise defaults torsyncd
. When enabled:1873
to2222
(unless specified through the valueport
)873
to22
(unless specified through the valueservice.port
)2.1.0
(ref. https://github.com/jenkins-infra/docker-rsyncd/compare/1.0.68...2.1.0)rsyncd
can be specified using the valueconfiguration.sshd.public_key
configuration.sshd.log_level
(defaults toINFO
)configuration.motd
is now ignoredconfiguration.components
directive may have writing enabled with the new attributewriteEnabled