Configuring Labels and Annotations for the connectware-agent Helm Chart

You can add Kubernetes labels and annotations to your agents. There are three pairs of values, that control where labels and annotations are added:

ValueAdded to
annotations
labels
StatefulSet
podAnnotations
podLabels
Pod
service.annotations
service.labels
Service

All six values exist for protocolMapperAgentDefaults and in per-agent protocolMapperAgents entries. When you specify them in both contexts, both will be added to the Kubernetes objects.

Example

protocolMapperAgents:
  - name: bender-robots
    connectwareHost: connectware.cybus # adjust to actual hostname of Connectware
    annotations:
      tld.mycompans.costcenter: '12345'
    labels:
      mycompany.tld/environment: production
    podAnnotations:
      tld.mycompans.costcenter: '12345'
    podLabels:
      mycompany.tld/environment: production
    service:
      annotations:
        tld.mycompans.costcenter: '12345'
      labels:
        mycompany.tld/environment: production    
Code-Sprache: YAML (yaml)
Was this article helpful?
YesNo
Need more help?

Can’t find the answer you’re looking for?
Don’t worry, we’re here to help.

Share this article
  • Previous

    Configuring Environment Variables for the connectware-agent Helm Chart

  • Configuring podAntiAffinity for the connectware-agent Helm Chart