helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

Helm install failed: template: unifi-video/templates/service-udp.yaml:15:6: executing "unifi-video/templates/service-udp.yaml" at <(.Values.service.loadBalancerIP) and eq .Values.service.type "LoadBalancer">: can't give argument to non-function .Values.service.loadBalancerIP

Open Eagleman7 opened this issue 4 years ago • 2 comments

Hello!

I just tried to install unifi-video using your helm chart! Thanks for making this helm chart!

I do however have 1 problem with it, that it wont install :) I am getting the following error: Helm install failed: template: unifi-video/templates/service-udp.yaml:15:6: executing "unifi-video/templates/service-udp.yaml" at <(.Values.service.loadBalancerIP) and eq .Values.service.type "LoadBalancer">: can't give argument to non-function .Values.service.loadBalancerIP

This is the config I used:

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: unifi-video
  namespace: unifi
spec:
  interval: 5m
  chart:
    spec:
      chart: unifi-video
      version: 1.0.0
      sourceRef:
        kind: HelmRepository
        name: t3n-charts
        namespace: flux-system
      interval: 5m
  values:
    image:
      repository: pducharme/unifi-video-controller
      tag: 3.10.10
      pullPolicy: IfNotPresent

    persistence:
      config:
        enabled: true
        mountPath: /config
        storageClass: vsphere
        accessMode: ReadWriteOnce
        persistentVolumeReclaimPolicy: Retain
        size: 5Gi

    service:
      type: LoadBalancer
      loadBalancerIP: 192.168.1.201
      
    securityContext:
      allowPrivilegeEscalation: true
      privileged: true
      capabilities:
        add: ["SYS_ADMIN", "DAC_READ_SEARCH"]

Did I do anything wrong, or might this be a bug?

Eagleman7 avatar Jan 29 '21 18:01 Eagleman7