diff --git a/charts/loki/Chart.yaml b/charts/loki/Chart.yaml index 4966479882..6d845d7e6e 100644 --- a/charts/loki/Chart.yaml +++ b/charts/loki/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki -version: 2.8.2 +version: 2.8.3 appVersion: v2.4.1 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs." diff --git a/charts/loki/templates/_helpers.tpl b/charts/loki/templates/_helpers.tpl index 4fc1808a46..500d8fac2a 100644 --- a/charts/loki/templates/_helpers.tpl +++ b/charts/loki/templates/_helpers.tpl @@ -64,7 +64,7 @@ Create the app name of loki clients. Defaults to the same logic as "loki.fullnam Generate a right Ingress apiVersion */}} {{- define "ingress.apiVersion" -}} -{{- if semverCompare ">=1.22-0" .Capabilities.KubeVersion.GitVersion -}} +{{- if semverCompare ">=1.20-0" .Capabilities.KubeVersion.GitVersion -}} "networking.k8s.io/v1" {{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} "networking.k8s.io/v1beta1"