Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-2855

dcae helm deployment with policy enabled

XMLWordPrintable

      When deployed with policy sidecar enabled - installation fails. 

       

       

      policies:
       duration: 300
       policyID: |
       '["onap.vfirewall.tca","abc"]'
      

       

      root@onap6-vv:/home/ubuntu/dcaegen2-services/components/dcae-tcagen2# helm install -name tcagen2 -n onap . --set global.masterPassword=test1 --set global.pullPolicy=IfNotPresent
       Error: Deployment in version "v1" cannot be handled as a Deployment: v1.Deployment.Spec: v1.DeploymentSpec.Template: v1.PodTemplateSpec.Spec: v1.PodSpec.Containers: []v1.Container: v1.Container.Env: []v1.EnvVar: v1.EnvVar.Value: ReadString: expects " or n, but found 3, error found in #10 byte of ...|,"value":300}],"imag|..., bigger context ...|"abc\"]"},{"name":"POLICY_SYNC_DURATION","value":300}],"image":"nexus3.onap.org:10001/onap/org.onap.|...
       root@onap6-vv:/home/ubuntu/dcaegen2-services/components/dcae-tcagen2# helm delete -n onap tcagen2
      
      

       

      duration is treated as number hence deployment errors

            vv770d vv770d
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: