Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-46557

[TP] Display name and Description are not taking effect when creating project

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      when TechPreviewNoUpgrade feature gate is enabled, console will show a customized 'Create Project' modal to all users.
      In the customized modal, 'Display name' and 'Description' values user typed are not taking effect

      Version-Release number of selected component (if applicable):

      4.18.0-0.nightly-2024-12-16-065305    

      How reproducible:

      Always when TechPreviewNoUpgrade feature gate is enabled    

      Steps to Reproduce:

      1. Enable TechPreviewNoUpgrade feature gate
      $ oc patch  featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type merge
      2. any user login to console and create a project from web, set 'Display name' and 'Description' then click on 'Create' 
      3. Check created project YAML
      $ oc get project ku-5 -o json | jq .metadata.annotations
      {
        "openshift.io/description": "",
        "openshift.io/display-name": "",
        "openshift.io/requester": "kube:admin",
        "openshift.io/sa.scc.mcs": "s0:c28,c17",
        "openshift.io/sa.scc.supplemental-groups": "1000790000/10000",
        "openshift.io/sa.scc.uid-range": "1000790000/10000"
      } 

      Actual results:

      display-name and description are all empty    

      Expected results:

      display-name and description should be set to the values user had configured    

      Additional info:

      once TP is enabled, customized create project modal is looking like https://drive.google.com/file/d/1HmIlm0u_Ia_TPsa0ZAGyTloRmpfD0WYk/view?usp=drive_link

              upalatuc@redhat.com Ugo Palatucci
              rhn-support-yapei YaDan Pei
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: