# Functions
AmazonCloudWatchAgent builds the collector (deployment/daemonset) name based on the instance.
AmazonCloudWatchAgentName builds the collector (deployment/daemonset) name based on the instance.
Collector builds the collector (deployment/daemonset) name based on the instance.
ConfigMap builds the name for the config map used in the AmazonCloudWatchAgent containers.
ConfigMapExtra returns the prefix to use for the extras mounted configmaps in the pod.
ConfigMapVolume returns the name to use for the config map's volume in the pod.
Container returns the name to use for the container in the pod.
DNSName returns a dns-safe string for the given name.
HeadlessService builds the name for the headless service based on the instance.
HorizontalPodAutoscaler builds the autoscaler name based on the instance.
Ingress builds the ingress name based on the instance.
MonitoringService builds the name for the monitoring service based on the instance.
PodDisruptionBudget builds the pdb name based on the instance.
PodMonitor builds the pod Monitor name based on the instance.
PortName defines the port name used in services, ingresses and routes.
Route builds the route name based on the instance.
Service builds the service name based on the instance.
ServiceAccount builds the service account name based on the instance.
ServiceMonitor builds the service Monitor name based on the instance.
Truncate will shorten the length of the instance name so that it contains at most max chars when combined with the fixed part If the fixed part is already bigger than the max, this function is noop.