2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-08-31 06:15:28 +00:00

docs: Revise Kubernetes documentation (#2696)

This commit is contained in:
Georg Lauterbach
2022-07-28 00:26:53 +02:00
committed by GitHub
parent 73ef30e14c
commit 684903f8d2
2 changed files with 81 additions and 23 deletions

View File

@@ -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)}"