Expand description
Injects the cluster hostname into the with-hostname builtin overlay’s
configMapGenerator literals.
Ported from internal/deployer/kustomize/hostname.go.
Enums§
- Hostname
Error - Errors from
write_overlay_hostname.
Functions§
- primary_
hostname - Returns the cluster’s primary hostname, or
""when no network configuration is present. A schema-validated config always carriescluster.network.hostname. - write_
overlay_ hostname - Rewrites the host/wildcardHost literals in the overlay’s
kustomization.yamlso the wildcard Certificate covers the cluster hostname rather than the embedded placeholder. An empty hostname returnsHostnameError::EmptyHostnamerather than silently shipping the placeholder cert.