Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/loki-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: loki-distributed
description: Helm chart for Grafana Loki in microservices mode
type: application
appVersion: 2.9.13
version: 0.80.6
version: 0.80.7
home: https://grafana.github.io/helm-charts
sources:
- https://github.com/grafana/loki
Expand Down
2 changes: 1 addition & 1 deletion charts/loki-distributed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ chart instead, which provides comprehensive features and ongoing maintenance.

# loki-distributed

![Version: 0.80.6](https://img.shields.io/badge/Version-0.80.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.13](https://img.shields.io/badge/AppVersion-2.9.13-informational?style=flat-square)
![Version: 0.80.7](https://img.shields.io/badge/Version-0.80.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.9.13](https://img.shields.io/badge/AppVersion-2.9.13-informational?style=flat-square)

Helm chart for Grafana Loki in microservices mode

Expand Down
1 change: 1 addition & 0 deletions charts/loki-distributed/templates/distributor/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: {{ include "loki.distributorFullname" . }}
labels:
{{- include "loki.distributorLabels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
scaleTargetRef:
apiVersion: apps/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
name: {{ include "loki.gatewayFullname" . }}
labels:
{{- include "loki.gatewayLabels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
data:
nginx.conf: |
{{- tpl .Values.gateway.nginxConfig.file . | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
{{- if not .Values.gateway.autoscaling.enabled }}
replicas: {{ .Values.gateway.replicas }}
Expand Down
1 change: 1 addition & 0 deletions charts/loki-distributed/templates/gateway/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: {{ include "loki.gatewayFullname" . }}
labels:
{{- include "loki.gatewayLabels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
scaleTargetRef:
apiVersion: apps/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
{{- if and $ingressSupportsIngressClassName .Values.gateway.ingress.ingressClassName }}
ingressClassName: {{ .Values.gateway.ingress.ingressClassName }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
name: {{ include "loki.gatewayFullname" . }}
labels:
{{- include "loki.gatewayLabels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: {{ include "loki.gatewayFullname" $ }}
labels:
{{- include "loki.gatewayLabels" $ | nindent 4 }}
namespace: {{ .Release.Namespace }}
stringData:
.htpasswd: |
{{- tpl .basicAuth.htpasswd $ | nindent 4 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: {{ .Values.gateway.service.type }}
{{- with .Values.gateway.service.clusterIP }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
name: {{ include "loki.indexGatewayFullname" . }}
labels:
{{- include "loki.indexGatewayLabels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
{{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }}
prometheus.io/service-monitor: "false"
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.indexGateway.replicas }}
updateStrategy:
Expand Down
7 changes: 7 additions & 0 deletions charts/loki-distributed/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: {{ include "loki.name" . }}-namespace-only
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Ingress
Expand All @@ -25,6 +26,7 @@ metadata:
name: {{ include "loki.name" . }}-egress-dns
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Egress
Expand All @@ -45,6 +47,7 @@ metadata:
name: {{ include "loki.name" . }}-ingress
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Ingress
Expand Down Expand Up @@ -83,6 +86,7 @@ metadata:
name: {{ include "loki.name" . }}-ingress-metrics
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Ingress
Expand Down Expand Up @@ -117,6 +121,7 @@ metadata:
name: {{ include "loki.name" . }}-egress-alertmanager
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Egress
Expand Down Expand Up @@ -146,6 +151,7 @@ metadata:
name: {{ include "loki.name" . }}-egress-external-storage
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Egress
Expand Down Expand Up @@ -177,6 +183,7 @@ metadata:
name: {{ include "loki.name" . }}-egress-discovery
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
policyTypes:
- Egress
Expand Down
1 change: 1 addition & 0 deletions charts/loki-distributed/templates/podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: {{ include "loki.fullname" . }}
labels:
{{- include "loki.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
privileged: false
allowPrivilegeEscalation: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ metadata:
name: {{ include "loki.rulerFullname" $ }}-{{ include "loki.rulerRulesDirName" $dir }}
labels:
{{- include "loki.rulerLabels" $ | nindent 4 }}
namespace: {{ .Release.Namespace }}
data:
{{- toYaml $files | nindent 2}}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.ruler.replicas }}
strategy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
annotations:
{{- . | toYaml | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
accessModes:
- ReadWriteOnce
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ metadata:
name: {{ include "loki.rulerFullname" . }}
labels:
{{- include "loki.rulerLabels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
clusterIP: None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.ruler.replicas }}
revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
replicas: 1
revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
namespace: {{ .Release.Namespace }}
spec:
type: ClusterIP
ports:
Expand Down