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

chore: Use dedicated service for metrics #654

Merged
merged 1 commit into from
May 10, 2024
Merged

chore: Use dedicated service for metrics #654

merged 1 commit into from
May 10, 2024

Conversation

anothertobi
Copy link
Contributor

When the main service is used as a load balancer service to allow public
access through mTLS, the metrics should not be exposed on the same
service.

{{- end }}
name: {{ include "lagoon-logs-concentrator.fullname" . }}-metrics
labels:
service: metrics
Copy link
Member

Choose a reason for hiding this comment

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

As discussed, maybe this should be updated to metrics-only=true to match the other charts? But I'm not too fussed. Just whatever is most consistent with other servicemonitor selectors.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated it so that it aligns with the other charts in this repository.

@@ -19,7 +19,7 @@ type: application
# time you make changes to the chart and its templates, including the app
# version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.47.0
version: 0.48.0

# This section is used to collect a changelog for artifacthub.io
Copy link
Member

Choose a reason for hiding this comment

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

The CI failure is due to this field not being updated. This field must be updated on every PR because it generates the changelog on artifacthub. The format is documented here.

When the main service is used as a load balancer service to allow public
access through mTLS, the metrics should not be exposed on the same
service.
@anothertobi anothertobi requested a review from smlx April 19, 2024 10:56
Copy link
Member

@smlx smlx left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@smlx smlx merged commit 116bc33 into uselagoon:main May 10, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants