It will manage users and passwords on container start. Every directory in
/etc/credentials with subdirs username and password (e.g.
kubernetes/openshift secret volumes generated by oc secrets new-basicauth)
will be added to the database /etc/vsftpd/user.db. It will overwrite the
passwords when they already exist. The credentials in secrets are meant to
be the canonical.
In the future, when kubernetes/kubernetes#18372 is resolved, there might be a sidecar container that updates the user database.
There are some environment variables to influence vsftpd behavior.
SERVICE_NAMEspecifies the address thatpasv_adresswill useVSFTPD_OPTIONSspecifies additional options for vsftpd. E.g. "-oanonymous_enable=yes"