Initial commit
This commit is contained in:
24
charts/loki/templates/admin-api/_helpers.yaml
Normal file
24
charts/loki/templates/admin-api/_helpers.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
{{/*
|
||||
adminApi fullname
|
||||
*/}}
|
||||
{{- define "enterprise-logs.adminApiFullname" -}}
|
||||
{{ include "loki.fullname" . }}-admin-api
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
adminApi common labels
|
||||
*/}}
|
||||
{{- define "enterprise-logs.adminApiLabels" -}}
|
||||
{{ include "loki.labels" . }}
|
||||
app.kubernetes.io/component: admin-api
|
||||
target: admin-api
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
adminApi selector labels
|
||||
*/}}
|
||||
{{- define "enterprise-logs.adminApiSelectorLabels" -}}
|
||||
{{ include "loki.selectorLabels" . }}
|
||||
app.kubernetes.io/component: admin-api
|
||||
target: admin-api
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user