Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-4304

Add validation for the name of the PodPlacementConfig

XMLWordPrintable

    • BU Product Work
    • False
    • None
    • False
    • NEW
    • OCPSTRAT-1289 - [Tech Preview] Multiarch Tuning Operator
    • x86_64, ppc64le, s390x, aarch64
    • 3
    • Multi-Arch Sprint 252, Multi-Arch Sprint 253, Multi-Arch Sprint 254, Multi-Arch Sprint 255

      As a software engineer, I want to ensure the podplacementconfigs.multiarch.openshift.io resource is a singleton, and users can create one and only one object (for example named `cluster`) for that resource.

       

      Acceptance criteria:

      • creating an object with name different than "cluster" or more than one PodPlacementConfig object is denied.

       

      In kube 1.28, ValidatingAdmissionPolicy is set as beta, and we could use them instead of a validating admission webhook, but this needs evaluation as it could prevent GAing until that feature is GA too.

      https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/

              tzivkovi@redhat.com Tori Zivkovic
              rhn-support-adistefa Alessandro Di Stefano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: