Files
auricom-home-cluster/cluster/apps/networking/unifi/helm-release.yaml
2021-06-04 01:37:34 +02:00

73 lines
1.7 KiB
YAML

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: unifi
namespace: networking
spec:
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: unifi
version: 2.0.4
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
controllerType: deployment
strategy:
type: Recreate
image:
repository: jacobalberty/unifi
tag: 6.2.25
pullPolicy: IfNotPresent
persistence:
enabled: true
existingClaim: unifi-config
timezone: "Europe/Paris"
runAsRoot: false
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/proxy-body-size: 10m
hosts:
- unifi.${SECRET_CLUSTER_DOMAIN}
tls:
- hosts:
- unifi.${SECRET_CLUSTER_DOMAIN}
guiService:
type: LoadBalancer
externalIPs:
- ${CLUSTER_LB_UNIFI}
externalTrafficPolicy: Local
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: tcp
controllerService:
type: LoadBalancer
externalIPs:
- ${CLUSTER_LB_UNIFI}
externalTrafficPolicy: Local
annotations:
prometheus.io/probe: "true"
prometheus.io/protocol: tcp
stunService:
type: LoadBalancer
externalIPs:
- ${CLUSTER_LB_UNIFI}
externalTrafficPolicy: Local
discoveryService:
type: LoadBalancer
externalIPs:
- ${CLUSTER_LB_UNIFI}
externalTrafficPolicy: Local
resources:
requests:
memory: 2Gi
cpu: 100m