diff --git a/stable/nextcloud/Chart.yaml b/stable/nextcloud/Chart.yaml index 82e8eec99f..6842caf80c 100644 --- a/stable/nextcloud/Chart.yaml +++ b/stable/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: nextcloud -version: 1.9.3 +version: 1.9.4 appVersion: 17.0.0 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/stable/nextcloud/README.md b/stable/nextcloud/README.md index f758f97850..45ce6e8083 100644 --- a/stable/nextcloud/README.md +++ b/stable/nextcloud/README.md @@ -121,6 +121,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `cronjob.affinity` | Cronjob affinity | `nil` | | `service.type` | Kubernetes Service type | `ClusterIp` | | `service.loadBalancerIP` | LoadBalancerIp for service type LoadBalancer | `nil` | +| `service.nodePort` | NodePort for service type NodePort | `nil` | | `persistence.enabled` | Enable persistence using PVC | `false` | | `persistence.annotations` | PVC annotations | `{}` | | `persistence.storageClass` | PVC Storage Class for nextcloud volume | `nil` (uses alpha storage class annotation) | diff --git a/stable/nextcloud/templates/service.yaml b/stable/nextcloud/templates/service.yaml index 290098051a..3f788185dc 100644 --- a/stable/nextcloud/templates/service.yaml +++ b/stable/nextcloud/templates/service.yaml @@ -17,5 +17,8 @@ spec: targetPort: http protocol: TCP name: http + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ default "" .Values.service.nodePort}} + {{- end }} selector: app.kubernetes.io/name: {{ include "nextcloud.name" . }} diff --git a/stable/nextcloud/values.yaml b/stable/nextcloud/values.yaml index c98fa04f09..3740186dfb 100644 --- a/stable/nextcloud/values.yaml +++ b/stable/nextcloud/values.yaml @@ -258,6 +258,7 @@ service: type: ClusterIP port: 8080 loadBalancerIP: nil + nodePort: nil ## Enable persistence using Persistent Volume Claims ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/