mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 06:57:55 +08:00
Remove service monitor labels from headless services (#25171)
Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -35,4 +35,4 @@ maintainers:
|
||||
name: thanos
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/thanos
|
||||
version: 15.1.0
|
||||
version: 15.1.1
|
||||
|
||||
@@ -11,7 +11,6 @@ metadata:
|
||||
namespace: {{ include "common.names.namespace" . }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: receive
|
||||
{{- include "thanos.servicemonitor.matchLabels" . | nindent 4 -}}
|
||||
{{- if or .Values.receive.service.headless.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.receive.service.headless.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
|
||||
@@ -11,7 +11,6 @@ metadata:
|
||||
namespace: {{ include "common.names.namespace" . }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: ruler
|
||||
{{- include "thanos.servicemonitor.matchLabels" . | nindent 4 -}}
|
||||
{{- if or .Values.ruler.service.headless.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.ruler.service.headless.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
|
||||
@@ -11,7 +11,6 @@ metadata:
|
||||
namespace: {{ include "common.names.namespace" . }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: storegateway
|
||||
{{- include "thanos.servicemonitor.matchLabels" . | nindent 4 -}}
|
||||
{{- if or .Values.storegateway.service.headless.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.storegateway.service.headless.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
||||
|
||||
Reference in New Issue
Block a user