--- apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app unifi namespace: default spec: interval: 15m chart: spec: chart: app-template version: 1.1.3 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system install: createNamespace: true remediation: retries: 5 upgrade: remediation: retries: 5 values: image: repository: jacobalberty/unifi tag: v7.2.95 pullPolicy: IfNotPresent env: RUNAS_UID0: "false" UNIFI_UID: "999" UNIFI_GID: "999" UNIFI_STDOUT: "true" JVM_INIT_HEAP_SIZE: JVM_MAX_HEAP_SIZE: 1024M service: main: type: LoadBalancer externalTrafficPolicy: Local loadBalancerIP: ${CLUSTER_LB_UNIFI} ports: http: port: 8443 protocol: HTTPS controller: enabled: true port: 8080 protocol: TCP portal-http: enabled: false port: 8880 protocol: HTTP portal-https: enabled: false port: 8843 protocol: HTTPS speedtest: enabled: true port: 6789 protocol: TCP stun: enabled: true port: 3478 protocol: UDP syslog: enabled: true port: 5514 protocol: UDP discovery: enabled: true port: 10001 protocol: UDP ingress: main: enabled: true ingressClassName: "nginx" annotations: nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" hosts: - host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}" paths: - path: / tls: - hosts: - *host persistence: config: enabled: true existingClaim: unifi-config mountPath: /unifi resources: requests: memory: 2Gi cpu: 50m