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:
| Value | Added to |
|---|---|
annotationslabels | StatefulSet |
podAnnotationspodLabels | Pod |
service.annotationsservice.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) Need more help?
Can’t find the answer you’re looking for?
Don’t worry, we’re here to help.