Skip to content

Commit

Permalink
Merge pull request #172 from nextcloud/revert-171-use-networking-v1-a…
Browse files Browse the repository at this point in the history
…bove-k8s-v1-19

Revert "Use networking.k8s.io/v1 Ingress above k8s v1.19"
  • Loading branch information
tvories authored Dec 15, 2021
2 parents f793bb2 + d28f3db commit 6891883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 2.11.1
version: 2.11.2
appVersion: 22.2.3
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/nextcloud/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Create chart name and version as used by the chart label.
{{- define "nextcloud.ingress.apiVersion" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "extensions/v1beta1" -}}
{{- else if semverCompare ">1.19-0" .Capabilities.KubeVersion.GitVersion -}}
{{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "networking.k8s.io/v1beta1" -}}
{{- else -}}
{{- print "networking.k8s.io/v1" -}}
Expand Down

0 comments on commit 6891883

Please sign in to comment.