Skip to content

Commit

Permalink
Merge pull request #171 from BobyMCbobs/use-networking-v1-above-k8s-v…
Browse files Browse the repository at this point in the history
…1-19

Use networking.k8s.io/v1 Ingress above k8s v1.19
  • Loading branch information
tvories authored Dec 14, 2021
2 parents f11507f + b96460b commit f793bb2
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.0
version: 2.11.1
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 f793bb2

Please sign in to comment.