From b09fbf4303045f990adc6e16d8782b1a35d07e32 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Sat, 13 Jul 2024 22:17:11 +0100 Subject: [PATCH] fix: external mongo values (#78) --- charts/unifi-controller/Chart.yaml | 2 +- charts/unifi-controller/README.md | 23 +++++++++++++++++++---- charts/unifi-controller/values.yaml | 9 ++++----- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/charts/unifi-controller/Chart.yaml b/charts/unifi-controller/Chart.yaml index 09f8539..b53ecd4 100644 --- a/charts/unifi-controller/Chart.yaml +++ b/charts/unifi-controller/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.0.0 +version: 3.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/unifi-controller/README.md b/charts/unifi-controller/README.md index 15c8414..193426a 100644 --- a/charts/unifi-controller/README.md +++ b/charts/unifi-controller/README.md @@ -1,9 +1,15 @@ # unifi-controller -![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 7.4.156](https://img.shields.io/badge/AppVersion-7.4.156-informational?style=flat-square) +![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.1.127](https://img.shields.io/badge/AppVersion-8.1.127-informational?style=flat-square) A Helm chart for the Unifi Controller +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://charts.bitnami.com/bitnami | mongodb | ^15.3.0 | + ## Values | Key | Type | Default | Description | @@ -12,9 +18,13 @@ A Helm chart for the Unifi Controller | config.jvmMemory.limit | string | `"default"` | Integer value in MB or `default` for memory limit for JVM | | config.jvmMemory.startup | string | `"default"` | Integer value in MB or `default` for startup memory for JVM | | config.timezone | string | `"Etc/UTC"` | Timezone - see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List | +| externalMongodb.database | string | `"unifi"` | | +| externalMongodb.enabled | bool | `false` | Use an external MongoDB database | +| externalMongodb.port | int | `27017` | | +| externalMongodb.username | string | `"unifi"` | | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"quay.io/linuxserver.io/unifi-controller"` | | +| image.repository | string | `"lscr.io/linuxserver/unifi-network-application"` | | | image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | | imagePullSecrets | list | `[]` | | | ingress.annotations | object | `{}` | | @@ -24,6 +34,13 @@ A Helm chart for the Unifi Controller | ingress.hosts[0].paths[0].path | string | `"/"` | | | ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | | ingress.tls | list | `[]` | | +| mongodb.auth.databases[0] | string | `"unifi"` | | +| mongodb.auth.passwords[0] | string | `"unifi"` | | +| mongodb.auth.rootPassword | string | `"unifi"` | | +| mongodb.auth.rootUser | string | `"root"` | | +| mongodb.auth.usernames[0] | string | `"unifi"` | | +| mongodb.enabled | bool | `true` | Deploy Bitnami MongoDB sub-chart | +| mongodb.initdbScriptsConfigMap | string | `"initdb-scripts"` | | | nameOverride | string | `""` | | | nodeSelector | object | `{}` | | | persistence.accessMode | string | `"ReadWriteOnce"` | | @@ -44,5 +61,3 @@ A Helm chart for the Unifi Controller | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | tolerations | list | `[]` | | ----------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/charts/unifi-controller/values.yaml b/charts/unifi-controller/values.yaml index 76de11e..21fc9ca 100644 --- a/charts/unifi-controller/values.yaml +++ b/charts/unifi-controller/values.yaml @@ -74,11 +74,10 @@ externalMongodb: # -- Use an external MongoDB database enabled: false # host: mongodb - port: 5432 - database: mongo - username: mongo - # password: mongo - # existingSecret: mongo + port: 27017 + database: unifi + username: unifi + # existingSecret: unifi-mongodb # existingSecretPasswordKey: password ingress: