mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
[stable/unifi] adding functionality to mount extra volumes (#22702)
* [stable/unifi] adding functionality to mount extra volumes This change adds possibility to specify additional volumes when deploying Unifi controller. Signed-off-by: Marcin Iwinski <marcin.iwinski@gmail.com> * fixing defaults in README.md Signed-off-by: Marcin Iwinski <marcin.iwinski@gmail.com> * [stable/unifi] bumping version to 0.9.0 Signed-off-by: Marcin Iwinski <marcin.iwinski@gmail.com>
This commit is contained in:
parent
ca6493faf3
commit
8a7fe72ea6
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: 5.12.35
|
appVersion: 5.12.35
|
||||||
description: Ubiquiti Network's Unifi Controller
|
description: Ubiquiti Network's Unifi Controller
|
||||||
name: unifi
|
name: unifi
|
||||||
version: 0.8.1
|
version: 0.9.0
|
||||||
keywords:
|
keywords:
|
||||||
- ubiquiti
|
- ubiquiti
|
||||||
- unifi
|
- unifi
|
||||||
|
@ -114,6 +114,8 @@ The following tables lists the configurable parameters of the Unifi chart and th
|
|||||||
| `persistence.existingClaim` | `nil` | Use an existing PVC to persist data |
|
| `persistence.existingClaim` | `nil` | Use an existing PVC to persist data |
|
||||||
| `persistence.subPath` | `` | Store data in a subdirectory of PV instead of at the root directory |
|
| `persistence.subPath` | `` | Store data in a subdirectory of PV instead of at the root directory |
|
||||||
| `persistence.storageClass` | `-` | Type of persistent volume claim |
|
| `persistence.storageClass` | `-` | Type of persistent volume claim |
|
||||||
|
| `extraVolumes` | `[]` | Additional volumes to be used by extraVolumeMounts |
|
||||||
|
| `extraVolumeMounts` | `[]` | Additional volume mounts to be mounted in unifi container |
|
||||||
| `persistence.accessModes` | `[]` | Persistence access modes |
|
| `persistence.accessModes` | `[]` | Persistence access modes |
|
||||||
| `extraConfigFiles` | `{}` | Dictionary containing files mounted to `/configmap` inside the pod (See [values.yaml](values.yaml) for examples) |
|
| `extraConfigFiles` | `{}` | Dictionary containing files mounted to `/configmap` inside the pod (See [values.yaml](values.yaml) for examples) |
|
||||||
| `extraJvmOpts` | `[]` | List of additional JVM options, e.g. `["-Dlog4j.configurationFile=file:/configmap/log4j2.xml"]` |
|
| `extraJvmOpts` | `[]` | List of additional JVM options, e.g. `["-Dlog4j.configurationFile=file:/configmap/log4j2.xml"]` |
|
||||||
|
@ -130,6 +130,7 @@ spec:
|
|||||||
- name: extra-config
|
- name: extra-config
|
||||||
mountPath: /configmap
|
mountPath: /configmap
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 12 }}{{ end }}
|
||||||
resources:
|
resources:
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
{{ toYaml .Values.resources | indent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
@ -150,6 +151,7 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
secretName: "{{ .Values.customCert.certSecret }}"
|
secretName: "{{ .Values.customCert.certSecret }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 8 }}{{ end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml . | indent 8 }}
|
{{ toYaml . | indent 8 }}
|
||||||
|
@ -218,6 +218,18 @@ persistence:
|
|||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
|
||||||
|
extraVolumes: []
|
||||||
|
## specify additional volume to be used by extraVolumeMounts inside unifi container
|
||||||
|
# - name: additional-volume
|
||||||
|
# hostPath:
|
||||||
|
# path: /path/on/host
|
||||||
|
# type: DirectoryOrCreate
|
||||||
|
|
||||||
|
extraVolumeMounts: []
|
||||||
|
## specify additional VolumeMount to be mounted inside unifi container
|
||||||
|
# - name: additional-volume
|
||||||
|
# mountPath: /path/in/container
|
||||||
|
|
||||||
extraJvmOpts: []
|
extraJvmOpts: []
|
||||||
## Extra java options
|
## Extra java options
|
||||||
## Here are some examples of valid JVM options:
|
## Here are some examples of valid JVM options:
|
||||||
|
Loading…
Reference in New Issue
Block a user