Skip to content

Commit

Permalink
feat(metrics): helm add additionalLabels
Browse files Browse the repository at this point in the history
feat(metrics): add some examples for additionalLabels in values.yaml
  • Loading branch information
halleystar committed May 14, 2024
1 parent 4578e29 commit f164800
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/helm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ data:
port: {{ .Values.agent.config.port }}
enableController: {{ .Values.controller.enabled }}
metrics:
additionalLabels:
{{- toYaml .Values.config.additionalLabels | nindent 8 }}
probes:
{{- toYaml .Values.config.metricProbes | nindent 6 }}
event:
Expand Down
5 changes: 5 additions & 0 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
config:
additionalLabels:
- application=${application}
businessline=${businessline}
department=${department}
environment=environment
metricProbes:
- name: conntrack
- name: qdisc
Expand Down

0 comments on commit f164800

Please sign in to comment.