Skip to content

Commit

Permalink
Don't require nodePort if none is specified
Browse files Browse the repository at this point in the history
fixes #44

Signed-off-by: jessebot <[email protected]>
  • Loading branch information
jessebot committed Jul 26, 2024
1 parent bf6cc4a commit fb31ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 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:
Expand Down
6 changes: 3 additions & 3 deletions charts/nextcloud/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
app.kubernetes.io/component: app

0 comments on commit fb31ed7

Please sign in to comment.