Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(argo-workflows): Add honorLabels parameter to Argo Workflows ServiceMonitor #2920

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

venegator
Copy link
Contributor

@venegator venegator commented Sep 12, 2024

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

@venegator venegator changed the title Add honorLabels parameter to Argo Workflows ServiceMonitor feat: Add honorLabels parameter to Argo Workflows ServiceMonitor Sep 12, 2024
Co-authored-by: kiblik <[email protected]>
Signed-off-by: venegator <[email protected]>
@yu-croco yu-croco changed the title feat: Add honorLabels parameter to Argo Workflows ServiceMonitor feat(argo-workflows): Add honorLabels parameter to Argo Workflows ServiceMonitor Sep 12, 2024
Comment on lines 27 to 29
{{- if .Values.controller.metricsConfig.honorLabels }}
honorLabels: true
{{- end }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit; what about this ?

-      {{- if .Values.controller.metricsConfig.honorLabels }}
-      honorLabels: true
+      honorLabels:{{ .Values.controller.metricsConfig.honorLabels }}
-      {{- end }}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one, just commited the change now

Copy link
Collaborator

@yu-croco yu-croco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@vladlosev vladlosev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yu-croco yu-croco merged commit e718e46 into argoproj:main Sep 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants