| {{- define "loki-canary.fullname" -}} |
| {{ include "loki.name" . }}-canary |
| {{- define "loki-canary.labels" -}} |
| {{ include "loki.labels" . }} |
| app.kubernetes.io/component: canary |
| {{- define "loki-canary.selectorLabels" -}} |
| {{ include "loki.selectorLabels" . }} |
| app.kubernetes.io/component: canary |
| Docker image name for loki-canary |
| {{- define "loki-canary.image" -}} |
| {{- $dict := dict "service" .Values.monitoring.lokiCanary.image "global" .Values.global.image "defaultVersion" .Chart.AppVersion -}} |
| {{- include "loki.baseImage" $dict -}} |
| canry priority class name |
| {{- define "loki-canary.priorityClassName" -}} |
| {{- $pcn := coalesce .Values.global.priorityClassName .Values.read.priorityClassName -}} |
| priorityClassName: {{ $pcn }} |