oc-k8s/opencloud/charts/loki/templates/provisioner/_helpers.yaml

33 lines
755 B
YAML
Raw Normal View History

2024-12-16 14:55:43 +01:00
{{/*
provisioner fullname
*/}}
{{- define "enterprise-logs.provisionerFullname" -}}
{{ include "loki.name" . }}-provisioner
{{- end }}
{{/*
provisioner common labels
*/}}
{{- define "enterprise-logs.provisionerLabels" -}}
{{ include "loki.labels" . }}
app.kubernetes.io/component: provisioner
{{- end }}
{{/*
provisioner selector labels
*/}}
{{- define "enterprise-logs.provisionerSelectorLabels" -}}
{{ include "loki.selectorLabels" . }}
app.kubernetes.io/component: provisioner
{{- end }}
{{/*
provisioner image name
*/}}
{{- define "enterprise-logs.provisionerImage" -}}
{{- $dict := dict "service" .Values.enterprise.provisioner.image "global" .Values.global.image "defaultVersion" "latest" -}}
{{- include "loki.baseImage" $dict -}}
{{- end -}}