| {{- $isDistributed := eq (include "loki.deployment.isDistributed" .) "true" -}} |
| {{- if and $isDistributed .Values.ingester.zoneAwareReplication.enabled }} |
| name: {{ include "loki.ingesterFullname" . }}-zone-b-headless |
| namespace: {{ .Release.Namespace }} |
| {{- include "loki.ingesterLabels" . | nindent 4 }} |
| {{- with .Values.ingester.serviceLabels }} |
| {{- toYaml . | nindent 4 }} |
| {{- with .Values.loki.serviceAnnotations }} |
| {{- toYaml . | nindent 4 }} |
| {{- if .Values.ingester.appProtocol.grpc }} |
| appProtocol: {{ .Values.ingester.appProtocol.grpc }} |
| {{- include "loki.ingesterSelectorLabels" . | nindent 4 }} |