diff --git a/production/helm/loki-stack/Chart.yaml b/production/helm/loki-stack/Chart.yaml index 0e50c8025060e..7817560f7be8b 100644 --- a/production/helm/loki-stack/Chart.yaml +++ b/production/helm/loki-stack/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki-stack -version: 0.40.0 +version: 0.40.1 appVersion: v1.6.0 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs." diff --git a/production/helm/loki/Chart.yaml b/production/helm/loki/Chart.yaml index db7d6e3371dee..024f4fe375e98 100644 --- a/production/helm/loki/Chart.yaml +++ b/production/helm/loki/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki -version: 0.31.0 +version: 0.31.1 appVersion: v1.6.0 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs." diff --git a/production/helm/loki/templates/statefulset.yaml b/production/helm/loki/templates/statefulset.yaml index 0b22337125115..a993cc9349888 100644 --- a/production/helm/loki/templates/statefulset.yaml +++ b/production/helm/loki/templates/statefulset.yaml @@ -124,5 +124,8 @@ spec: requests: storage: {{ .Values.persistence.size | quote }} storageClassName: {{ .Values.persistence.storageClassName }} + {{- if .Values.persistence.selector }} + selector: + {{- toYaml .Values.persistence.selector | nindent 8 }} + {{- end }} {{- end }} - diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index 7b12fe31f76e5..3b6806eaedaaf 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -122,6 +122,9 @@ persistence: - ReadWriteOnce size: 10Gi annotations: {} + # selector: + # matchLabels: + # app.kubernetes.io/name: loki # subPath: "" # existingClaim: