mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
@@ -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:
|
||||
|
||||
@@ -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) |
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user