mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* switching unifi chart to SatefulSet * based on the persistent nature of this chart as well as [this discussion](https://github.com/helm/charts/issues/1863), migrating the chart to a StatefulSet instead of a deployment. As a result bumping the major version * bumping unifi controller to the latest stable version (5.10.19) * adding @mcronce to the OWNERS file Signed-off-by: Jeff Billimek <jeff@billimek.com> * using volumeClaimTemplates for statefulSet * also updating label syntax to current helm standards (e.g. `app.kubernetes.io/name`) Signed-off-by: Jeff Billimek <jeff@billimek.com> * fixing indenting Signed-off-by: Jeff Billimek <jeff@billimek.com> * using Parallel podManagementPolicy Signed-off-by: Jeff Billimek <jeff@billimek.com> * revert to Deployment and leverage strategy types Signed-off-by: Jeff Billimek <jeff@billimek.com> * include readme entry for strategyType Signed-off-by: Jeff Billimek <jeff@billimek.com> * hard-code replica count and add mcronce to Chart maintainers Signed-off-by: Jeff Billimek <jeff@billimek.com> * fixing linting error Signed-off-by: Jeff Billimek <jeff@billimek.com>
187 lines
6.0 KiB
YAML
187 lines
6.0 KiB
YAML
# Default values for unifi.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
|
strategyType: Recreate
|
|
|
|
image:
|
|
repository: jacobalberty/unifi
|
|
tag: 5.10.19
|
|
pullPolicy: IfNotPresent
|
|
|
|
# If enabled, the controller, discovery, GUI, and STUN services will not be
|
|
# created.
|
|
# Instead, one service will be created with the port and nodePort settings from
|
|
# controllerService, discoveryService, guiService, and stunService.
|
|
# This is useful if, for example, the ClusterIP network is routable and being
|
|
# accessed directly by access points, and the APs don't have a way to discern
|
|
# different services on different IPs.
|
|
unifiedService:
|
|
enabled: false
|
|
type: ClusterIP
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort:
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
labels: {}
|
|
## Use loadBalancerIP to request a specific static IP,
|
|
## otherwise leave blank
|
|
##
|
|
loadBalancerIP:
|
|
# loadBalancerSourceRanges: []
|
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
|
# externalTrafficPolicy: Cluster
|
|
|
|
guiService:
|
|
type: ClusterIP
|
|
port: 8443
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort:
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
labels: {}
|
|
## Use loadBalancerIP to request a specific static IP,
|
|
## otherwise leave blank
|
|
##
|
|
loadBalancerIP:
|
|
# loadBalancerSourceRanges: []
|
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
|
# externalTrafficPolicy: Cluster
|
|
|
|
controllerService:
|
|
type: NodePort
|
|
port: 8080
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort:
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
labels: {}
|
|
## Use loadBalancerIP to request a specific static IP,
|
|
## otherwise leave blank
|
|
##
|
|
loadBalancerIP:
|
|
# loadBalancerSourceRanges: []
|
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
|
# externalTrafficPolicy: Cluster
|
|
|
|
stunService:
|
|
type: NodePort
|
|
port: 3478 # udp
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort:
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
labels: {}
|
|
## Use loadBalancerIP to request a specific static IP,
|
|
## otherwise leave blank
|
|
##
|
|
loadBalancerIP:
|
|
# loadBalancerSourceRanges: []
|
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
|
# externalTrafficPolicy: Cluster
|
|
|
|
discoveryService:
|
|
type: NodePort
|
|
port: 10001 # udp
|
|
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
# nodePort:
|
|
## Provide any additional annotations which may be required. This can be used to
|
|
## set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
labels: {}
|
|
## Use loadBalancerIP to request a specific static IP,
|
|
## otherwise leave blank
|
|
##
|
|
loadBalancerIP:
|
|
# loadBalancerSourceRanges: []
|
|
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
|
# externalTrafficPolicy: Cluster
|
|
|
|
ingress:
|
|
enabled: false
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
path: /
|
|
hosts:
|
|
- chart-example.local
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
timezone: UTC
|
|
|
|
runAsRoot: false
|
|
UID: 999
|
|
GID: 999
|
|
|
|
# define an external mongoDB instead of using the built-in mongodb
|
|
mongodb:
|
|
enabled: false
|
|
dbUri: mongodb://mongo/unifi
|
|
statDbUri: mongodb://mongo/unifi_stat
|
|
databaseName: unifi
|
|
|
|
persistence:
|
|
enabled: true
|
|
## unifi data Persistent Volume Storage Class
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
# storageClass: "-"
|
|
##
|
|
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
|
## the existingClaim variable
|
|
# existingClaim: your-claim
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
podAnnotations: {}
|