[stable/nextcloud] support statically assigning nodePort (#22225)

* Add support for statically assigning nodePort and update documentation accordingly
Signed-off-by: Matt Brewster <brewsterops@gmail.com>

* * [stable/nextcloud] Updated the version to 1.9.4
Signed-off-by: Matt Brewster <brewsterops@gmail.com>

* * [stable/nextcloud] Re-adding mistakenly deleted requirements.lock
Signed-off-by: Matt Brewster <brewsterops@gmail.com>
This commit is contained in:
Matt Brewster
2020-05-01 13:48:30 -07:00
committed by GitHub
parent e68203bb20
commit c91652e287
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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) |
+3
View File
@@ -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" . }}
+1
View File
@@ -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/