Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-4337

Update openshift/api kubebuilder validation to allow eusc partition

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • Installer Sprint 284

      User Story:

      Certain AWS configuration fields in the openshift/api only allows known partition prefix. For example, the field dns.spec.platform.aws.privateZoneIAMRole has the below validation:

      // +kubebuilder:validation:Pattern:=`^arn:(aws|aws-cn|aws-us-gov|aws-eusc):iam::[0-9]{12}:role\/.*$` 

      In AWS European Sovereign Cloud, ARNs begin with:

      arn:aws-eusc:

      Thus, we just need to find these marker comment and add the prefix aws-eusc to the list.

      Acceptance Criteria:

      Description of criteria:

      • openshift/api configuration API allow EUS Cloud partition prefix ARN (i.e. aws-eusc).

      (optional) Out of Scope:

      Detail about what is specifically not being delivered in the story

      Engineering Details:

      This requires/does not require a design proposal.
      This requires/does not require a feature gate.

              rh-ee-thvo Thuan Vo
              rh-ee-thvo Thuan Vo
              None
              None
              Weinan Li Weinan Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: