Skip to content

Commit

Permalink
Merge pull request #277 from halleystar/feature/helm-additionalLabels
Browse files Browse the repository at this point in the history
feat(metrics): helm add additionalLabels
  • Loading branch information
jzwlqx committed May 16, 2024
2 parents 41a0982 + 2544cfd commit 1b4dae8
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 1b4dae8

Please sign in to comment.