Controlling the Name of Kubernetes Objects for the connectware-agent Helm Chart
Last updated
Was this helpful?
By default, Kubernetes objects created by the connectware-agent Helm chart use a naming convention that combines the Helm release name and chart name as prefixes. This ensures unique, non-conflicting object names across your cluster.
The default naming pattern is: <release-name>-<chart-name>-<agent-name>
When the release name and chart name are identical, the duplicate prefix is automatically removed. For example, if you follow the recommendations in this documentation and name your release connectware-agent, an agent named bender-robots creates a StatefulSet named connectware-agent-bender-robots instead of connectware-agent-connectware-agent-bender-robots.
You can customize the naming convention using the following Helm values:
nameOverride
Overrides the chart name (second part of the prefix)
fullnameOverride
Overrides the entire prefix (both release and chart name)
The following examples demonstrate how to use these Helm values to control Kubernetes object names.
Setting nameOverride to cw-agent for an installation named agents:
nameOverride: cw-agent protocolMapperAgents: - name: bender-robotsResult: StatefulSet named agents-cw-agent-bender-robots
Setting fullnameOverride to my-agents for an installation named connectware-agents:
Result: StatefulSet named my-agents-bender-robots
Setting fullnameOverride to an empty string for an installation named connectware-agents:
Result: StatefulSet named bender-robots
Last updated
Was this helpful?
Was this helpful?
fullnameOverride: my-agents protocolMapperAgents: - name: bender-robotsfullnameOverride: "" protocolMapperAgents: - name: bender-robots
