-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added support for overrides exporter (#15630)
- Loading branch information
Showing
8 changed files
with
648 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
production/helm/loki/templates/overrides-exporter/_helpers-overrides-exporter.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{/* | ||
overrides-exporter fullname | ||
*/}} | ||
{{- define "loki.overridesExporterFullname" -}} | ||
{{ include "loki.fullname" . }}-overrides-exporter | ||
{{- end }} | ||
|
||
{{/* | ||
overrides-exporter common labels | ||
*/}} | ||
{{- define "loki.overridesExporterLabels" -}} | ||
{{ include "loki.labels" . }} | ||
app.kubernetes.io/component: overrides-exporter | ||
{{- end }} | ||
|
||
{{/* | ||
overrides-exporter selector labels | ||
*/}} | ||
{{- define "loki.overridesExporterSelectorLabels" -}} | ||
{{ include "loki.selectorLabels" . }} | ||
app.kubernetes.io/component: overrides-exporter | ||
{{- end }} | ||
|
||
{{/* | ||
overrides-exporter priority class name | ||
*/}} | ||
{{- define "loki.overridesExporterPriorityClassName" -}} | ||
{{- $pcn := coalesce .Values.global.priorityClassName .Values.overridesExporter.priorityClassName -}} | ||
{{- if $pcn }} | ||
priorityClassName: {{ $pcn }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.