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

Prevent users from using a wrong EDPMServiceType

XMLWordPrintable

    • Prevent users from using a wrong EDPMServiceType
    • 9
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Proposed
    • Proposed
    • To Do
    • Proposed
    • Proposed
    • 0% To Do, 33% In Progress, 67% Done

      If a user creates a custom service, e.g. nova-custom-ceph service and specifies a custom name for EDPMServiceType it will result in the cacert to be mounted to a wrong path becauseĀ  cacertVolumeMount uses service.Spec.EDPMServiceType.

      A way to prevent this would be to change the EDPMServiceType to be an enum for the allowed/supported service types [1], there might be other ways to solve this.

      [1] https://github.com/openstack-k8s-operators/openstack-operator/blob/main/apis/dataplane/v1beta1/openstackdataplaneservice_types.go#L113

      This is to track a solution to prevent users from using a wrong EDPMServiceType in such a situation.

              rhn-support-bshephar Brendan Shephard
              rhn-support-mschuppe Martin Schuppert
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: