Skip to content

Commit

Permalink
Revert name label addition but keep the runtime change (#12304)
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanGuedes authored Mar 21, 2024
1 parent 38d8b62 commit 138e6f2
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 29 deletions.
2 changes: 0 additions & 2 deletions production/helm/loki/templates/admin-api/_helpers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ adminApi common labels
{{ include "loki.labels" . }}
app.kubernetes.io/component: admin-api
target: admin-api
name: admin-api
{{- end }}

{{/*
Expand All @@ -22,5 +21,4 @@ adminApi selector labels
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: admin-api
target: admin-api
name: admin-api
{{- end }}
2 changes: 0 additions & 2 deletions production/helm/loki/templates/backend/_helpers-backend.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ backend common labels
{{- define "loki.backendLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: backend
name: backend
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ backend selector labels
{{- define "loki.backendSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: backend
name: backend
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ compactor common labels
{{- define "loki.compactorLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: compactor
name: compactor
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ compactor selector labels
{{- define "loki.compactorSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: compactor
name: compactor
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ distributor common labels
{{- define "loki.distributorLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: distributor
name: distributor
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ distributor selector labels
{{- define "loki.distributorSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: distributor
name: distributor
{{- end }}

{{/*
Expand Down
2 changes: 0 additions & 2 deletions production/helm/loki/templates/gateway/_helpers-gateway.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ gateway common labels
{{- define "loki.gatewayLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: gateway
name: gateway
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ gateway selector labels
{{- define "loki.gatewaySelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: gateway
name: gateway
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ index-gateway common labels
{{- define "loki.indexGatewayLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: index-gateway
name: index-gateway
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ index-gateway selector labels
{{- define "loki.indexGatewaySelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: index-gateway
name: index-gateway
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ spec:
{{- include "loki.configVolume" . | nindent 10 }}
- name: runtime-config
configMap:
name: {{ template "loki.fullname" . }}-runtime
name: {{ template "loki.name" . }}-runtime
{{- if .Values.enterprise.enabled }}
- name: license
secret:
Expand Down
2 changes: 0 additions & 2 deletions production/helm/loki/templates/loki-canary/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ canary common labels
{{- define "loki-canary.labels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: canary
name: canary
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ canary selector labels
{{- define "loki-canary.selectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: canary
name: canary
{{- end }}

{{/*
Expand Down
2 changes: 0 additions & 2 deletions production/helm/loki/templates/querier/_helpers-querier.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ querier common labels
{{- define "loki.querierLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: querier
name: querier
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ querier selector labels
{{- define "loki.querierSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: querier
name: querier
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ query-frontend common labels
{{- define "loki.queryFrontendLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: query-frontend
name: query-frontend
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ query-frontend selector labels
{{- define "loki.queryFrontendSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: query-frontend
name: query-frontend
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ query-scheduler common labels
{{- define "loki.querySchedulerLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: query-scheduler
name: query-scheduler
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ query-scheduler selector labels
{{- define "loki.querySchedulerSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: query-scheduler
name: query-scheduler
{{- end }}

{{/*
Expand Down
2 changes: 0 additions & 2 deletions production/helm/loki/templates/read/_helpers-read.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ read common labels
{{- define "loki.readLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: read
name: read
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ read selector labels
{{- define "loki.readSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: read
name: read
{{- end }}

{{/*
Expand Down
2 changes: 0 additions & 2 deletions production/helm/loki/templates/ruler/_helpers-ruler.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ruler common labels
{{- define "loki.rulerLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: ruler
name: ruler
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ ruler selector labels
{{- define "loki.rulerSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: ruler
name: ruler
{{- end }}

{{/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ singleBinary common labels
{{- define "loki.singleBinaryLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: single-binary
name: single-binary
{{- end }}


{{/* singleBinary selector labels */}}
{{- define "loki.singleBinarySelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: single-binary
name: single-binary
{{- end }}

{{/*
Expand Down
2 changes: 0 additions & 2 deletions production/helm/loki/templates/write/_helpers-write.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ write common labels
{{- define "loki.writeLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: write
name: write
{{- end }}

{{/*
Expand All @@ -20,7 +19,6 @@ write selector labels
{{- define "loki.writeSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: write
name: write
{{- end }}

{{/*
Expand Down

0 comments on commit 138e6f2

Please sign in to comment.