# Controlling the Name of Kubernetes Objects for the connectware-agent Helm Chart

By default, agents created through the `connectware-agent` Helm chart will be controlled through Kubernetes objects that are prefixed with the name of your installation (called a “release” in Helm terms) and the name of the Helm chart. This is done to ensure non-conflicting Kubernetes object names.

If these prefixes are identical, they are only used once. This means, that by default, when following our recommendations, an agent named “bender-robots” would create a StatefulSet name “connectware-agent-connectware-agent-bender-robots”, which is shortened to “connectware-agent-bender-robots”.

There are two Helm values, that allow you to control these prefixes:

| Value              | Effect                                                                |
| ------------------ | --------------------------------------------------------------------- |
| `nameOverride`     | Overrides the Helm chart name, which is the second half of the prefix |
| `fullnameOverride` | Overrides the full prefix (first and second part)                     |

**Example**

Setting `nameOverride` to “cw-agent” for an installation named “agents”.

{% code lineNumbers="true" %}

```yaml
nameOverride: cw-agent protocolMapperAgents: - name: bender-robots
```

{% endcode %}

This will result in an agent StatefulSet named “agents-cw-agent-bender-robots”

**Example**

Setting `fullnameOverride` to “my-agents” for an installation named “connectware-agents”.

{% code lineNumbers="true" %}

```yaml
fullnameOverride: my-agents protocolMapperAgents: - name: bender-robots
```

{% endcode %}

This will result in an agent StatefulSet named “my-agents-bender-robots”

**Example**

Setting `fullnameOverride` to “” for an installation named “connectware-agents”.

{% code lineNumbers="true" %}

```yaml
fullnameOverride: "" protocolMapperAgents: - name: bender-robots
```

{% endcode %}

This will result in an agent StatefulSet named “bender-robots”
