mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-18 08:29:36 +00:00
Fix annotations
key in kubeshark-worker-metrics
(#1572)
Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
parent
be86ea8ecb
commit
b7efd94414
@ -5,14 +5,13 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
{{- include "kubeshark.labels" . | nindent 4 }}
|
{{- include "kubeshark.labels" . | nindent 4 }}
|
||||||
annotations:
|
annotations:
|
||||||
|
prometheus.io/scrape: 'true'
|
||||||
|
prometheus.io/port: '{{ .Values.tap.metrics.port }}'
|
||||||
{{- if .Values.tap.annotations }}
|
{{- if .Values.tap.annotations }}
|
||||||
{{- toYaml .Values.tap.annotations | nindent 4 }}
|
{{- toYaml .Values.tap.annotations | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-worker-metrics
|
name: kubeshark-worker-metrics
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
annotations:
|
|
||||||
prometheus.io/scrape: 'true'
|
|
||||||
prometheus.io/port: '{{ .Values.tap.metrics.port }}'
|
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app.kubeshark.co/app: worker
|
app.kubeshark.co/app: worker
|
||||||
|
Loading…
Reference in New Issue
Block a user