Skip to content

Commit

Permalink
Merge pull request #902 from Murz-forks/loki-k8s-v1.22
Browse files Browse the repository at this point in the history
[loki] Lower version for "networking.k8s.io/v1" to 1.20
  • Loading branch information
zanhsieh committed Dec 16, 2021
2 parents 3840758 + 860ef53 commit 1b66766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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."
Expand Down
2 changes: 1 addition & 1 deletion charts/loki/templates/_helpers.tpl
Expand Up @@ -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"
Expand Down

0 comments on commit 1b66766

Please sign in to comment.