Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1295

FLP volume set up fails for metrics when different NS is used.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • netobserv-1.4
    • netobserv-1.4-candidate
    • FLP
    • False
    • None
    • False
    • NetObserv - Sprint 242
    • Low

      Found while testing NETOBSERV-1087, with PROVIDED mode config:

              tls:
                insecureSkipVerify: false
                provided:
                  certFile: tls.crt
                  certKey: tls.key
                  name: prov-certs-ns
                  namespace: netobserv-cm
                  type: configmap
                providedCaFile:
                  file: rootCA.crt
                  name: prov-certs-ca-ns
                  namespace: netobserv-cm
                  type: configmap
                type: PROVIDED 
      
      $ oc get cm -n netobserv-cm
      NAME                       DATA   AGE
      kube-root-ca.crt           1      3m56s
      openshift-service-ca.crt   1      3m56s
      prov-certs-ca-ns           1      3m27s
      prov-certs-ns              2      3m44s
      
      FLP container error:
      
        Warning  FailedMount  1s (x6 over 17s)  kubelet            MountVolume.SetUp failed for volume "prom-certs" : configmap "prov-certs-ns" not found
      

      note the configmaps for CA and server certs are in different NS than FLP pods.

      Expected Results

      Operator should be able to copy over configmaps and secrets and create prom-certs volume for FLP pods.

       

              ocazade@redhat.com Olivier Cazade
              rhn-support-memodi Mehul Modi
              Mehul Modi Mehul Modi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: