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

feat(metrics): add some examples for additionalLabels in values.yaml

feat(metrics): add some examples for additionalLabels in values.yaml file(in comments)
  • Loading branch information
halleystar committed May 15, 2024
1 parent 4578e29 commit 2544cfd
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=${labels:application}
# businessline=${labels:businessline}
# department=${labels:department}
# environment=environment
metricProbes:
- name: conntrack
- name: qdisc
Expand Down

0 comments on commit 2544cfd

Please sign in to comment.