mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-21 19:24:46 +02:00
docs: Revise Kubernetes documentation (#2696)
This commit is contained in:
parent
73ef30e14c
commit
684903f8d2
2 changed files with 81 additions and 23 deletions
|
@ -18,7 +18,7 @@ function _obtain_hostname_and_domainname
|
|||
# subprocess like postconf would be called that would need access to the same value via `$HOSTNAME` ENV.
|
||||
#
|
||||
# TODO: `OVERRIDE_HOSTNAME` was introduced for non-Docker runtimes that could not configure an explicit hostname.
|
||||
# k8s was the particular runtime in 2017. This does not update `/etc/hosts` or other locations, thus risking
|
||||
# Kubernetes was the particular runtime in 2017. This does not update `/etc/hosts` or other locations, thus risking
|
||||
# inconsistency with expected behaviour. Investigate if it's safe to remove support. (--net=host also uses this as a workaround)
|
||||
export HOSTNAME="${OVERRIDE_HOSTNAME:-$(hostname -f)}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue