Skip to content

Commit

Permalink
Fix incorrect release label for host services and endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Hros <[email protected]>
  • Loading branch information
chess-knight committed Feb 13, 2024
1 parent 735d8ce commit 3896543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/templates/hosts/endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ items:
labels:
{{ include "k8s-monitoring.labels" $ | indent 6 }}
app: {{ include "k8s-monitoring.name" $ }}
release: {{ $.Release.Name }}
release: {{ include "k8s-monitoring.release" $ }}
subsets:
- addresses:
- ip: {{ $serviceMonitor.address }}
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/hosts/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ items:
labels:
{{ include "k8s-monitoring.labels" $ | indent 6 }}
app: {{ include "k8s-monitoring.name" $ }}
release: {{ $.Release.Name }}
release: {{ include "k8s-monitoring.release" $ }}
{{ $serviceMonitor.jobLabel | default "host/app" }}: {{ $serviceMonitor.jobName }}
spec:
type: ExternalName
Expand Down

0 comments on commit 3896543

Please sign in to comment.