diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index f79c4b29..89a2ae35 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 5.3.2 +version: 5.3.3 appVersion: 29.0.4 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/charts/nextcloud/templates/service.yaml b/charts/nextcloud/templates/service.yaml index 2223c945..866eb7c2 100644 --- a/charts/nextcloud/templates/service.yaml +++ b/charts/nextcloud/templates/service.yaml @@ -32,10 +32,10 @@ spec: targetPort: {{ .Values.nextcloud.containerPort }} protocol: TCP name: http - {{- if (eq .Values.service.type "NodePort") }} - nodePort: {{ .Values.service.nodePort | default "" }} + {{- with .Values.service.nodePort }} + nodePort: {{ . }} {{- end }} selector: app.kubernetes.io/name: {{ include "nextcloud.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/component: app \ No newline at end of file + app.kubernetes.io/component: app