Skip to content

Commit

Permalink
Merge pull request #9 from dNationCloud/argocd-relabelings
Browse files Browse the repository at this point in the history
Argocd relabelings
  • Loading branch information
matofeder authored Nov 26, 2024
2 parents 030e393 + 007eac9 commit 68c6c13
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
needs:
- lint-chart
strategy:
fail-fast: false
matrix:
k8s:
- v1.20.2
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ description: A Helm chart for ribbybibby/ssl_exporter
# This is the chart version. This version number should be incremented each 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: 1.2.0
version: 1.2.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
5 changes: 5 additions & 0 deletions chart/templates/_servicemonitor.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ spec:
relabelings:
- targetLabel: job
replacement: ssl-kubernetes-files
action: replace
{{- end }}
{{- if $masternode }}
# Kubeconfig certificates
Expand All @@ -71,8 +72,10 @@ spec:
relabelings:
- sourceLabels: [__param_target]
targetLabel: target
action: replace
- targetLabel: job
replacement: ssl-kubernetes-kubeconfig
action: replace

{{- end }}
{{- else }}
Expand All @@ -88,6 +91,7 @@ spec:
relabelings:
- targetLabel: job
replacement: ssl-external-url
action: replace
metricRelabelings:
- action: labeldrop
regex: instance
Expand All @@ -108,6 +112,7 @@ spec:
relabelings:
- targetLabel: job
replacement: ssl-kubernetes-secrets
action: replace
metricRelabelings:
- action: labeldrop
regex: instance
Expand Down

0 comments on commit 68c6c13

Please sign in to comment.