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

Unable to add Environment Variable to a Deployment

XMLWordPrintable

    • No
    • ODC Sprint 235
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      When working through the Sandbox Activity entitled "Part 2: Deploying full-stack JavaScript applications to the Developer Sandbox for Red Hat OpenShift" (Full-stack JavaScript sandbox activity part 2 - Red Hat Developer), the user is instructed to configure the environment variables — Figure 3 in the activity.

      When I clicked the Save button to submit the edited Deployment, I received the following error:

      Alert box:

      An error occurred
      Error "Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"urlshortener","deployment":"urlshortener"}, MatchEpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable" for field "spec.selector".
      

            rh-ee-lprabhu Lokananda Prabhu
            rhn-engineering-dschenck Donald Schenck
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: