Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-8715

Add Kuttl test to verify extramounts in horizon operator

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • rhos-18.0.0
    • horizon-operator
    • None

      This task targets adding a kuttl test in horizon operator to implicitly test extramounts feature .

      We can inject for example a custom {{policy.yaml }}or a custom dashboard theme using a kuttl test (see https://groups.google.com/a/redhat.com/g/rhos-tech/c/RTCY6Hfr1kQ as an example) 

      We can build a configmap w/ a policy.yaml and then 

        horizon:
          enabled: true
          template:
            customServiceConfig: '# add your customization here'
            extraMounts:
            - extraVol:
              - extraVolType: Policy
                mounts:
                - mountPath: /etc/openstack-dashboard/mycustomPolicy.yaml
                  name: policy
                  readOnly: true
                  subPath: mycustomPolicy.yaml
                volumes:
                - name: policy
                  configMap:
                    name: policy-conf

      this would work as an example to run in kuttl 

              ashigupt@redhat.com Ashish Gupta
              ashigupt@redhat.com Ashish Gupta
              rhos-dfg-ui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: